Permit hands-free CLI usage for --passphrase
| -p
#445
Replies: 4 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.
-
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
--passphrase
wants me to hit enter manually each time.Even piping
< /dev/null
into it doesn't seem to work.I'd be looking to see a
--gen-passphrase
|-g
option 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/null
intoage -p
could 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