Backup .gnupg using git
wink at saville.com
Sat Apr 21 18:32:18 CEST 2018
I created a master key and three subkeys following instructions at .
I've backed up the secret keys using paperbackup with a modification
to add the sequence count to the backed up data so as to identify any qr-codes
that don't get decoded properly  and deleted the master secret key.
I then transferred the secret subkeys to a yubikey as per .
Finally I backed up .gnupg to github .
Then to restore the I clone the repo and change permissions to 700:
$ git clone git at github.com:winksaville/.gnupg ~/.gnupg
$ chmod 700 ~/.gnupg
And then insert the yubikey and get the card-status to retrieve the
stub secret keys have gpg functional.
$ gpg --card-status
Comments on the security of what I'm doing?
More information about the Gnupg-users