UX: Support reading password from file(descriptor) #257
iger
started this conversation in
UX reports
Replies: 2 comments 4 replies
-
See #256 (comment). If this becomes a commonly requested feature we might consider it, and I'd like to hear use cases to better understand how it would be used. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I'd like to be able to pipe a password into age for a simple one-line command for decrypting a file and setting env vars (some api tokens). But i want to read the password from the OS's keychain and pass it in to age in a similar way docker login does...
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be very useful, if age supported reading password from file descriptor/path.
It can be done safely, it would be useful for automation and AFAIU it is the only encryption mode that actually does authenticated encryption.
AFAIK types of usage shown below should be safe. Both can less or more practically be read by the same user, but a more permanent private key would be even easier to read.
Beta Was this translation helpful? Give feedback.
All reactions