Description
Hi,
What's the rationale for storing the recipients file in the base directory
($PA_DIR) ~/.local/share/pa/
rather than alongside the passwords in
~/.local/share/pa/passwords/
, like pass/passage/gopass?
It would make it easier to identify what private key to use for decryption, as
you can convert an identity file to a recipient file and compare. This would
also make it easier to deal with multiple identities/recipients, as the
recipients to be encrypted for will be synced with the repository, rather than
having to send a copy of the new recipients file through other means every time
it is changed. A disadvantage is of course that anyone with access to the
password repo could overwrite any secret, but at this point you should be using
another solution aimed at multiuser usage anyway, no?