Comments (2)
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.
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)
- Make generate command less verbose HOT 1
- Add complex password requirements to generate command HOT 19
- stdout and stderr mixed in secrethub run HOT 2
- Add `--force` flag to inject command HOT 5
- Add flag to secrethub read to not print newline HOT 3
- Map all secrets from directory to environment variables HOT 8
- how to get SECRETHUB_CREDENTIAL? HOT 9
- Parse .env vars to directory vars HOT 6
- Snap: Errors with clipboard and file options for secrethub write (CLI) HOT 3
- Npm package of @secrethub/cli is not an executable HOT 3
- Unable to install CLI on Mac OS Big Sur HOT 2
- Add Termux (Android) support HOT 7
- install on arm64 HOT 2
- ERROR with GPGP key HOT 2
- Support 1Password CLI 2 in migration commands
- APT update using main stable, failed to fetch due to unexpected size (402 != 400). HOT 1
- Cannot install secrethub cli via brew
- OP_SESSION environment variable not found
- Error applying migration: unknown command "list" for "op" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from secrethub-cli.