str4d / rage

A simple, secure and modern file encryption tool (and Rust library) with small explicit keys, no config options, and UNIX-style composability.
https://age-encryption.org/v1
Apache License 2.0
2.61k stars 100 forks source link

UX: allow to use the shell process substitution to provide the identity file when decrypting #449

Closed ybycode closed 9 months ago

ybycode commented 9 months ago

What were you trying to do

Use bash's process substitution to provide the identity when decrypting a rage encrypted file. I'd find that useful to store identities with pass.

This works fine with age.

What happened

Rage errors, "Missing identities":

$ rage -d -i <(pass some_age_identity) some_file.age
Error: Missing identities.
Did you forget to specify -i/--identity?

[ Did rage not do what you expected? Could an error be more useful? ]
[ Tell us: https://str4d.xyz/rage/report 

Thanks!

str4d commented 9 months ago

Duplicate of #379.