How to revoke a GnuPG / GPG key in Linux

If your Gnu Privacy Guard or GPG or GnuPG key has been compromised or something has gone wrong, you can revoke your key. Make sure that you generated a revocation certificate and stored in a safe place to do so.

To revoke a key, open a terminal in Linux, and enter the following command:
$ gpg --import /home/user/revoke.asc <enter>

where revoke.asc is the revocation certificate file name.

As part of good key management practice, you should try not to delete keys, but revoke them.

After you have revoked the key, you need to send it to a key server, so that everyone who used it, knows that you have revoked the key.

Leave a Reply

  

  

  

Blue Captcha Image
Refresh

*

April 2019
M T W T F S S
« Feb    
1234567
891011121314
15161718192021
22232425262728
2930