Hello there,
I would like to use GPG asymmetric encryption but it seems to not be working
I’m already a Duplicity user but it doesnt handle deduplication so I gave Dupliciti a try by installing the duplicati_2.0.4.18-1_all.deb Debian package from github releases page.
With Duplicity, I send my backups crypted with only the public GPG key to S3, so the private key is mandatory to decrypt backups. I tried to do the same with Duplicati with a command line like this:
duplicati-cli backup "file:///home/jc/backup" /home/jc/images \
--encryption-module=gpg \
--gpg-encryption-command=--encrypt \
--gpg-encryption-switches="--recipient xxx@zzz.com" \
--gpg-decryption-command=--decrypt
I find Duplicati backup files with gpg extension in my /home/jc/backup
folder but I can restore files to another without my GPG private key so I guess GPG is not used.
While I run the backup
command, Duplicati still ask me for a passphrase, and only this passphrase (different from my GPG private key passphrase) can decrypt backup, so I guess Duplicati still uses symetric encryption and not GPG asymmetric one.
Another clue: if I remove my public key from my GPG list, Duplicati with gpg
encryption module backups nothing, so it seems to be working as expected, expect asymmetric encryption.
My GPG version is 2.2.13
Someone can help about this ?
Many thanks,