-
-
Notifications
You must be signed in to change notification settings - Fork 575
Open
Description
Environment
- OS: Linux 6.9.11
- age version: 1.2.0
PROBLEM
Currently (afaik) it's not possible to pass passphrase to age via stdin, like:
echo -n "$passphrase" | age -d -o output_file input_file
Here, age knows that stdin is NOT used for data, because I specified input file explicitly.
This also does not work with:
some_cli_password_manager | age -d -i - -o output_file input_file
Rationale:
- passphrase is eventually read from stdin
- sometimes you must use passswords (can't use keys) in script & automation
- most cli tools allows it (cryptsetup etc.)
- also Reading pasted armored input from a terminal clashes with password prompt #364
geek-at, rdslw, maxkapur, MurtadhaInit, maddsua and 6 more
Metadata
Metadata
Assignees
Labels
No labels