25

I was successfully able to create a PGP Key using Seahorse in Ubuntu's Passwords and Keys (13.04). I was also able to create a revocation certificate, if needed in the future, using the terminal in Ubuntu.

My problem concerns doing this on a Windows machine (and Mac). I downloaded Gpg4win and used Kleopatra to create a PGP Key. I am however unable to find a way to create a revocation certificate for the key I generated.

I would appreciate some direction with this issue.

rahi
  • 1,447

3 Answers3

15

Slightly modified answer by Jens Erat on Ask Ubuntu, plus information from comments above.

--

If you're fine with using the command line, this is easily done using gpg --gen-revoke using Windows Command Prompt.

On Windows, if you do not change anything else, the revocation certificate is stored in revoke.asc in your home directory (C:\Users\Name), and you should replace mykey by your key id.

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

Remember to store it in a safe place, for example by printing it to a QR code or something similar.

Just in case if you're wondering on how to get the keyID of a key in the Command Prompt, (I ran into this :), It's the last 8 characters of your public key, which you could easily get printed by using the following commands.

gpg --fingerprint

OR

gpg --list-keys
rahi
  • 1,447
8

In Kleopatra, right-click on your key and click on Details. There will be a button called Generate revocation certificate.

6

Under current versions of Kleopatra, you can simply:

  1. Select the key, then

  2. Open the "View" menu, and

  3. Select "Details":

    Screenshot

  4. Use the "Generate revocation certificate" button:

    Screenshot

  5. Save the file:

    Screenshot