1

I have been following some tutorials for Duplicity back ups. It is all fine except that everyone seems to be putting their Gnupg passwords in scripts or plain text files which sounds crazy stupid thing to do to me.

Is there a way to securely hide/hash my Gpg keys when using Duplicity for backups?

thanks

1 Answer 1

1

This is a suggestion from https://www.digitalocean.com/community/tutorials/how-to-use-duplicity-with-gpg-to-securely-automate-backups-on-ubuntu?comment=12940

asymmetrically encrypt the backup to a different public key by passing a different key id to the "--encrypt-key" flag"

Or cache the password using gpg-agent but there is a caveat that it will not survive a reboot.

2
  • Indeed, this is what public key encryption is for... and that's what gpg is really for, not symmetric encryption.
    – psusi
    Oct 29, 2014 at 19:28
  • 1
    Can anyone elaborate on how to do this then?
    – yarun can
    Oct 29, 2014 at 23:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .