-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pipe (generated) key to agenix #33
Comments
been afk for a bit, will pick this up (and catch up on Rust CLI status) when I get back to personal infra+Nix work |
FWIW, I've added support for reading initial contents from stdin in cole-h/agenix-cli@124ddbd. |
Recently, cat /dev/urandom | head -c 128 | ragenix --editor "-" -e mysecret.age |
FWIW, I'm using the following hackaround to make this possible with vanilla agenix: some_cmd | EDITOR='cp /dev/stdin' agenix -e secret.age |
If STDIN is not interactive, change EDITOR to `cp /dev/stdin`. fixes #33
If STDIN is not interactive, change EDITOR to `cp /dev/stdin`. fixes ryantm#33
I just got agenix set up today. Yay!
I'd like to be able to generate machine keys without a lot of manual steps. It's a small, useful thing and I'd be happy to submit and impl if we can settle on a spec.
Rather than integrating a particular password gen how about adding support for taking the cleartext from stdin?
Either overload the existing
-e
mode:or add a new mode like
-i
wdyt?
The text was updated successfully, but these errors were encountered: