gnupg | Cheatsheet
Print config/path location
View all keys
List secret keys
Kill running socket
Launch run socket
Export Public key
gpg --output public.pgp --armor --export username@email
Export public key (id)
gpg --output public.pgp --export SOMEKEYID
Export Secret Key
gpg --output private.pgp --armor --export-secret-key username@email
Export secret key (backup)
gpg --output backupkeys.pgp --armor --export-secret-keys --export-options export-backup user@email
Backup GnuPG configuration/keyring
(umask 077 && tar -caf $HOME/gnupg-backup_`date +%Y%m%d_%H%M%S`.tar.xz -C ${HOME} .gnupg)