Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Add Termux (Android) support #385

Open
MailYouLater opened this issue May 21, 2021 · 7 comments
Open

Add Termux (Android) support #385

MailYouLater opened this issue May 21, 2021 · 7 comments
Labels
enhancement New feature or request

Comments

@MailYouLater
Copy link

I'm using Termux for a handheld development environment on an Android phone and trying to install SecretHub via NPM failed with this message:
No SecretHub binary found for OS 'android'.

@SimonBarendse
Copy link
Member

We do not officially support Android nor build for Android at this time.

Meanwhile, feel free to run in Docker or build from source yourself to use SecretHub on Android.

@SimonBarendse SimonBarendse added the enhancement New feature or request label May 26, 2021
@SimonBarendse SimonBarendse changed the title Termux support (No SecretHub binary found for OS 'android'.) Add Android support May 26, 2021
@florisvdg
Copy link
Member

We also provide pre-built ARM binaries in the GitHub release assets: https://github.com/secrethub/secrethub-cli/releases

@SimonBarendse
Copy link
Member

re: release assets

Golang supports building specifically with GOOS=android (see source). Not sure if that's required to run on Android or you can also use the Linux binary? Linux binaries are included in the release assets.

@MailYouLater
Copy link
Author

I'm not sure how I would go about manually setting up secrethub on my device to see if one of the existing binaries would work. Let me know what to do, and I'll check if any of them work, or if an Android specific binary would be needed to support usage in a Termux/Android environment.

@SimonBarendse
Copy link
Member

You can follow the instructions for manual installation.

@MailYouLater MailYouLater changed the title Add Android support Add Termux (Android) support Jun 3, 2021
@MailYouLater
Copy link
Author

FYI, this was actually pretty easy, but I didn't get around to it for so long because I had to look up what I needed to do for myself.
You guys honestly weren't particularly helpful. I had to figure out what architecture I needed (run uname -m) then I had to find out that aarch64 and arm64 are effectively synonyms. Then after downloading and extracting the binary (which is the only part that the 'manual instructions' you pointed me to actually covers) I can verify that the arm64 build runs on my device. However, now I have another issue... sign-up.

Apparently since SecretHub is apparently "joining" 1Password, I can't find a way to sign up for SecretHub any more. And while SecretHub looked like exactly what I wanted... I'm not interested in 1Password. So... hopefully you guys can use the above info to fix things so people using Termux are able to use the npm install command to get install secrethub, but it looks like I will have to find something else for my needs.

@SimonBarendse
Copy link
Member

Hi @MailYouLater, I'm sorry to hear the instructions weren't easy to follow. Thank you for the feedback!

I'm happy to hear you've got it to work. Pretty cool to learn we already support your Android device 😄


Thank you for the big complement for SecretHub! We want 1Password to work even better for you than SecretHub already did. I understand we already took some time from you with the time-consuming SecretHub installation. If I may ask for a bit more of your time, I'd love to hear more of your feedback and learn what would be needed to make 1Password Secrets Automation work just as well for you or even better than SecretHub did. To keep this GitHub issue on topic about Android support, could you email me on simon@secrethub.io? Or for more back-and-forth, feel free to schedule a (video)call here https://secrethub.io/docs/1password/faq/#contact. Appreciate all your honest feedback so far! 💙

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants