secrethub-cli
secrethub-cli copied to clipboard
Add Termux (Android) support
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'.
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.
We also provide pre-built ARM binaries in the GitHub release assets: https://github.com/secrethub/secrethub-cli/releases
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.
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.
You can follow the instructions for manual installation.
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.
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 :smile:
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 [email protected]? 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! :blue_heart: