candide-guevara / btrfs_to_glacier

Makes periodic snapshots of my btrfs volumes and upload them to Glacier.
GNU General Public License v2.0
0 stars 1 forks source link

Replace custom XOR key keyring encryption with `gpg` #8

Closed candide-guevara closed 1 year ago

candide-guevara commented 1 year ago

Problem

We use a custom scheme to decrypt/encrypt the backup keyring. We could do it using gpg, that way the password would be cached and will not be stored in the application memory.

Solution

candide-guevara commented 1 year ago

gpg-agent interface is too limited cannot set a custom prompt for each type of password. Left custom code.