Key revocation
GnuPG FAQ revocation certifcate
How do I generate a revocation certificate?
A revocation certificate marks another certificate as unusable.
To generate a revocation certificate for your key, do:
-
gpg --armor --output revoke.asc --gen-revoke [your key ID]
Copy revoke.asc to a safe place.
How do I send my certificate to the keyserver network?
-
gpg --keyserver pool.sks-keyservers.net --send-key [your certificate ID]
You should only upload your own certificates to the keyservers, or
obtain the certificate holder's permission before doing so. In some
circles it's considered rude to upload someone else's certificate; not
everyone wants to publish their key publicly.