Debian Reference
Chapter 14 - GnuPG
References:
14.1 Installing GnuPG
# gpg --gen-key # generate a new key
# gpg --gen-revoke my_user_ID # generate revoke key for my_user_ID
# host -l pgp.net | grep www|less # figure out pgp keyservers
A good default keyserver set up in $HOME/.gnupg/gpg.conf
(or old
location $HOME/.gnupg/options
) contains:
keyserver hkp://subkeys.pgp.net
Here one must be careful not to create more than 2 sub-keys.
If you do, keyservers on pgp.net will corrupt your key. Use
the newer gnupg
(>1.2.1-2) to handle these corrupted subkeys.
See https://fortytwo.ch/gpg/subkeys
.