Coder Social home page Coder Social logo

Comments (2)

domanchi avatar domanchi commented on June 1, 2024

Oh, super interesting. I was able to fix this issue myself.

tl;dr: I think the root cause of this issue was that I installed secrethub-cli through snap. To fix this issue, I just installed it by downloading the right binary from the latest releases on https://github.com/secrethub/secrethub-cli/releases


For anyone else that stumbles upon this issue in the future, I realized another related, very strange issue when using the secrethub binary: it wouldn't read local files. For example,

# secrethub inject --in-file secrets.yaml
could not read input file: no such file or directory

# cat secrets.yaml
PASSWORD={{ example/secret }}

So I reversed why I decided to install it via snap, and realized that the instructions failed with this error message:

N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://apt.secrethub.io stable InRelease' doesn't support architecture 'arm64'

Huh. How interesting. (FWIW, I'm on a raspberry PI 4, with Ubuntu 20.04)

So, I decided to just download the binaries from the releases, and everything started working! Who would have thought it would be a hardware issue?

from secrethub-cli.

florisvdg avatar florisvdg commented on June 1, 2024

Ah, that makes sense! We dropped support for Snap in February and delisted SecretHub from the Snap store, exactly because of these types of issues (related to the very restrictive sandbox model that Snap imposes).

On Ubuntu, apt would indeed be the most logical option to install the CLI, but you're right in that it doesn't offer arm binaries at the moment, so getting the binary from the releases is probably the best option for now. You could also try Homebrew for Linux: brew install secrethub/tools/secrethub-cli. Should support arm64 too.

from secrethub-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.