GnuPG Notes
Table of Contents
Importing a backed up secret
- Obtain you backed up gpg key
- Run
gpg --import /path/to/secret-key-backup.asc
- Restore gpg trust
gpg --import-ownertrust < /path/to/trustdb-backup.txt
- Verify everything looks right when you run
gpg --list-secret-keys
Importing a public key
gpg --recv-keys --keyserver hkp://pgp.mit.edu <SOME_PUBLIC_KEY>
Default pinentry-mac to not save in keychain
defaults write org.gpgtools.common UseKeychain NO