Permit hands-free CLI usage for --passphrase | -p
#445
Replies: 6 comments 7 replies
-
|
I'm also thinking aloud here... in a perfect world I'd like to pipe in the secret via environment variable, too. An Again, mostly from a hands-free / CI/CD mindset. |
Beta Was this translation helpful? Give feedback.
-
|
I don't see a button to close this discussion but it seems the #256, #257, #275 already cover this. |
Beta Was this translation helpful? Give feedback.
-
|
In "talk is cheap, show me the code" fashion, here's what would make me happy as can be! |
Beta Was this translation helpful? Give feedback.
-
|
My I would, ehem, expect that |
Beta Was this translation helpful? Give feedback.
-
|
The new batchpass plugin handles non-interactive passphrase encryption. See #256 (comment) for usage and a warning. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you! The new functionality is working great. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! 👋 New user to age. Looks great.
One of the things I immediately ran into when trying to use it from BASH for generating multiple keys was that
--passphrasewants me to hit enter manually each time.Even piping
< /dev/nullinto it doesn't seem to work.I'd be looking to see a
--gen-passphrase|-goption which does what age does when the user hits enter and offers no suggested passphrase. (I'm totally open on the naming, it's just a suggestion).Alternatively, piping
/dev/nullintoage -pcould do this by default.Please let me know if there's an easy work-around!
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions