{"id":520,"date":"2008-08-15T22:31:07","date_gmt":"2008-08-16T05:31:07","guid":{"rendered":"http:\/\/www.elbeno.com\/blog\/?p=520"},"modified":"2008-08-15T22:31:07","modified_gmt":"2008-08-16T05:31:07","slug":"adventures-with-gnupg","status":"publish","type":"post","link":"https:\/\/www.elbeno.com\/blog\/?p=520","title":{"rendered":"Adventures with GnuPG"},"content":{"rendered":"<p>For a couple of years now, I&#8217;ve been <a href=\"http:\/\/pgp.mit.edu:11371\/pks\/lookup?op=vindex&#038;search=0x45844AD8\">using GnuPG<\/a> in my email. But I had a <a href=\"http:\/\/pgp.mit.edu:11371\/pks\/lookup?op=vindex&#038;search=0xDA751B26\">couple<\/a> <a href=\"http:\/\/pgp.mit.edu:11371\/pks\/lookup?op=vindex&#038;search=0xFEAA454E\">of keys<\/a> out there that were old, and lost, and that I&#8217;d forgotten the passphrases for.<\/p>\n<p>A while back, I found my old secret keyring (from back in the day when I used PGP rather than GnuPG), which contained one of the old keys, but I couldn&#8217;t remember the passphrase. So my attempts to revoke it were useless.<\/p>\n<p>Then on my way to work yesterday, out of the blue, the passphrase popped into my head. This evening I dug out the secret key again and generated a revocation certificate. After a few tries (I didn&#8217;t know quite which passphrase variant I&#8217;d used) I had it! So now one of my old keys is successfully revoked. The other is still at large, resisting revocation, and orphaned without a known passphrase or secret keyring file. Such is life &#8211; this isn&#8217;t an uncommon occurrence, I gather.<\/p>\n<p>If you want to start sending me encrypted email as a matter of course (please do!), it&#8217;s as simple as importing my public key into your PGP-variant. If you don&#8217;t have a PGP-variant, you can get one from your friendly neighbourhood package manager, or if you&#8217;re on Windows, <a href=\"http:\/\/www.gpg4win.org\/\">gpg4win<\/a> looks good (although I have no experience of it).<\/p>\n<p>Then to actually get my public key, you can grab an ASCII-armoured GnuPG block from <a href=\"https:\/\/www.elbeno.com\/blog\/?page_id=344\">my about page<\/a> or just import from a keyserver:<\/p>\n<p><tt>$ gpg --recv-keys 45844AD8<\/tt><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For a couple of years now, I&#8217;ve been using GnuPG in my email. But I had a couple of keys out there that were old, and lost, and that I&#8217;d forgotten the passphrases for. A while back, I found my old secret keyring (from back in the day when I&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-520","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=520"}],"version-history":[{"count":1,"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/520\/revisions"}],"predecessor-version":[{"id":521,"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/520\/revisions\/521"}],"wp:attachment":[{"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}