Backup of GPG private keys?

Mogens Jensen mogens-jensen at protonmail.com
Wed Jan 26 09:15:30 CET 2022


As of GnuPG (LTS) version 2.2.33, what is the recommended way to backup
your GPG private keys on a Linux system?

1. Backing up the entire ~./gnupg directory?
2. Exporting only the keys?

  $ gpg --armor --export-secret-keys >gpg-key-backup.asc

Thanks.



More information about the Gnupg-users mailing list