passage icon indicating copy to clipboard operation
passage copied to clipboard

passage: decrypt identities file before multiple decryptions

Open derat opened this issue 11 months ago • 1 comments

If the identities file appears to be an age-encrypted file, decrypt it to the secure temporary directory for commands that run multiple "age -d" commands (edit, find, reencrypt). This avoids repeatedly prompting for the same password.

derat avatar Jan 16 '25 12:01 derat

Not sure whether this is reasonable or not from a security perspective, as it creates a window where the identity is accessible under /dev/shm. I couldn't come up with any other way to make commands like grep usable in conjunction with a password-protected identity, though (#3, #16).

derat avatar Jan 16 '25 12:01 derat