So every couple of years I need to recreate my GPG key and revoke the old one. This is a fairly annoying as it is a whole set of commands that I seem to mentally blank immediately after use - the same with SSL certificates - thank dog for cacert.org and automation. :) So this time when I needed my new key I thought I’d see if someone else had instructions. And lo and behold Google found a really good HOWTO at Ana’s blog Blog Archive Creating a new GPG key. Even if you don’t have a good grasp of what you’re doing the HOWTO steps through the process of creating a new key and subkeys and the other associated cross-signing etc guff that I can never remember. The only thing it doesn’t do is explain how to revoke the old key but Google came through again and you can find a simple set of instructions on how to do too. So you can find my new key here. P.S. Of course I did forget to sign the new key with the old key before I revoked it … idiot. :)
Creating a new GPG key and revoking the old one
Pointers to a couple of HOWTOs for generating a fresh GPG key with subkeys and cross-signing, then revoking the old one2009-08-20T00:00:00.000Z1 min readGPG, keys, revoke, cacert, PKI
Pointers to a couple of HOWTOs for generating a fresh GPG key with subkeys and cross-signing, then revoking the old one
1 min read
# written 17 years ago; commands, versions and links may have changed
$ whoami
I'm James Turnbull. I lead engineering teams, build products, and write on technology. More about me.