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

Add Termux (Android) support #385

Open

Description

@MailYouLater

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'.

Activity

  1. SimonBarendse commented on May 26, 2021

    @SimonBarendse
    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.

  2. changed the title [-]Termux support (No SecretHub binary found for OS 'android'.)[/-] [+]Add Android support[/+] on May 26, 2021
  3. florisvdg commented on May 26, 2021

    @florisvdg
    Member

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

  4. SimonBarendse commented on May 26, 2021

    @SimonBarendse
    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.

  5. MailYouLater commented on Jun 1, 2021

    @MailYouLater
    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.

  6. SimonBarendse commented on Jun 1, 2021

    @SimonBarendse
    Member
  7. changed the title [-]Add Android support[/-] [+]Add Termux (Android) support[/+] on Jun 3, 2021
  8. MailYouLater commented on Jun 3, 2021

    @MailYouLater
    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.

  9. SimonBarendse commented on Jun 7, 2021

    @SimonBarendse
    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions