What is a reliable way to backup/restore my keys and test?

Thomas Glanzmann thomas at glanzmann.de
Wed Sep 14 18:31:22 CEST 2016

Hello Duane,

> How can I make sure my private key and trust assignments were copied
> properly?

for me in the past taking a backup of .gnupg was sufficient. However you
can also export your secret key using:

gpg --export-secret-keys -a <keyid> > secret.asc

And the manual trust assignments by doing:

gpg --export-ownertrust > ownertrust.txt


More information about the Gnupg-users mailing list