Edit Rename Changes History Upload Download Back to Top

GPG Key Revocation

You might wish to revoke a key that you have lost control of, or that you created and made public by accident.

When you create a key, it's a good idea to create a revication certificate, but you can do this at any time using:

gpg --output revoke.asc --gen-revoke mykey

This will create a file called revoke.asc which contains the revocation certificate. Merely generating a certificate does not change the key in any way.

Important note: A revocation certificate can be used to revoke a key without any futher authorisation. Anyone getting hold of a revocation certificate could use it! Keep them safe.

To apply the revocation certificate:

gpg --import revoke.asc

This adds the revocation certificate to your public key. Send the updated public key to a public key server to complete the revocation.


Edit Rename Changes History Upload Download Back to Top