Whilst playing with GPG (and trying to figure out a safe way to store my revocation cert so nobody else could use it), I accidentally revoked my PGP key.
The revocation was only local; not sent to a keyserver, so I was sure there would be a way to un-revoke it... but I couldn't find anything. Even deleting the key and re-importing it didn't help; it still showed as revoked. In the end I deleted my entire keyring and re-imported everything, which worked. But there must be a better way...
So; how do you un-revoke a PGP key in GPG?
Also, where is the revocation stored, and why wasn't it deleted when I deleted the key from my keyring?
In case it makes any difference, I'm using GPG on OS X with the GPGTools package.
gpgsplit
utility. Any ideas?gpg2
is at/usr/local/MacGPG2/bin/gpg2
(linked from/usr/local/bin/gpg2
) but I can find no trace ofgpgsplit
. I guess it would be possible to do the process from Ubuntu, but by that point deleting and restoring my keychain is probably actually the easier option... Do you know why (and where) the revokation is kept after I delete the keypair itself?gpgslit
. You can install the package usingbrew install gnupg
.