Jiff Slater
🤔 About
✍️ Contact
28 Jul 2021

Managing gpg keys across multiple computers
14 June 2009

Manging a secret gpg key-pair across two computers is relatively simple.

Export the secret keys

gpg --export-secret-key -a your_email@address.com > myprivate.key

Export your public keys

gpg --export -a your_email@address.com > mypublic.key

Import the keys

gpg --import mypublic.key
gpg --import --allow-secret-key-import myprivate.key

That’s all there is to it.