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

*

September 2019
M T W T F S S
« Aug    
 1
2345678
9101112131415
16171819202122
23242526272829
30