digint / btrbk

Tool for creating snapshots and remote backups of btrfs subvolumes
https://digint.ch/btrbk/
GNU General Public License v3.0
1.64k stars 120 forks source link

Feature request: multiple recipients for gpg encryption #471

Closed sbrudenell closed 2 years ago

sbrudenell commented 2 years ago

gpg --encrypt may have multiple --recipient options. This allows multiple people to decrypt the file, without sharing keys.

I'd like to do this for my backups. I think it would make sense to have space-separated recipients, like gpg_recipient 0x1234aaaa 0x5678bbbb.

Thanks!

digint commented 2 years ago

Good point, should be easy to implement. For some reason I'm calling gpg with --default-recipient, I believe this had something to do with gpg always trying to do user interaction or using it's configured default. Probably I will have to change it to --no-default-recipient --recipient A --recipient B.

digint commented 2 years ago

included in btrbk-0.32.2