<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>LINICKX.com</title><link>https://www.linickx.com/</link><description></description><lastBuildDate>Fri, 29 Feb 2008 13:14:00 +0000</lastBuildDate><item><title>Trying to Clean Up / Delete PGP Keys.</title><link>https://www.linickx.com/trying-to-clean-up-delete-pgp-keys</link><description>&lt;p&gt;Here's the story, moons ago when I started in security somebody told me
all about &lt;a href="http://en.wikipedia.org/wiki/Pretty_Good_Privacy"&gt;Pretty Good
Privacy&lt;/a&gt;
(&lt;a href="http://www.pgp.com"&gt;PGP&lt;/a&gt;) in my enthusiasm I got straight on to
downloading a copy; now this was a long time ago and I can't remember if
it was freeware or a trial from pgp.com, but either way I got straight
onto generating a public/private key pair.&lt;/p&gt;
&lt;p&gt;Since I was still on new technology enthusiasm I made sure that my
private key had a &lt;strong&gt;very, very&lt;/strong&gt; strong password, all happy with my
success I then try to encrypt a file to myself only to find I could not
open the encrypted file. After a few trys of drying to decrypt the file
I give up and decide that I must have "typo'd" the password when
generating the key, no matter, I simply delete the key pair and start
again. For a second time I use a very, very strong password for key
generation and encrypt a file, sadly the same thing happens, I just
cannot decrypt the files. For the third key I use something new, still a
strong password but now 10char instead of the 50 (&lt;em&gt;yes it was a
sentence&lt;/em&gt;) I used before.&lt;/p&gt;
&lt;p&gt;All is fine until I then start sending emails to my colleagues whom
inform me that there 4 keys on the web - DOH! It appears that my client
at the time was set to automagically sync it's keys with the server and
has published my rubbish keys to the internet!&lt;/p&gt;
&lt;p&gt;But the story of key woe doesn't end there, by a strange course of
coincidence a week before I was due to leave that company my laptop
hard-drive burnt out taking my private keys with it, so now there are 4
keys on the internet (&lt;em&gt;with two different e-mail addresses&lt;/em&gt;) which I
cannot revoke.&lt;/p&gt;
&lt;p&gt;At the time I remember finding &lt;a href="http://pgp.mit.edu/faq.html"&gt;this
faq&lt;/a&gt;which basically says if you've
published a public key and lost the private - Tough! As such these keys
have ever since layed unused on their server, you would think that they
would automatically clear down keys that clients never request.... oh
well!&lt;/p&gt;
&lt;p&gt;I've started using PGP at work again and wanted to somehow clear up the
mess I created all them years ago. The "you can't delete" still stands
but I found&lt;a href="http://www.rossde.com/PGP/pgp_keyserv.html#noremove"&gt;this useful
article&lt;/a&gt; which
explains something you can do. If you generate new key-pairs sign the
old public keys, and revoke your new key you can "show to the world"
that you know that key and since you've revoked yours it probably can't
be trusted. So that's what I've tried to do, the whole PGP key managment
thing is still a bit of a mine-field but, if you &lt;a href="http://pgp.mit.edu/"&gt;search for
me&lt;/a&gt; hopefully what I've achieved is...&lt;/p&gt;
&lt;p&gt;PGP Key &lt;code&gt;895C5474&lt;/code&gt; belongs to me (&lt;em&gt;I just generated it&lt;/em&gt;) I have signed
my mistakes, Keys &lt;code&gt;165E3E9, 884FA434&lt;/code&gt; &amp;amp; &lt;code&gt;17A50106&lt;/code&gt; and revoked
&lt;code&gt;895C5474&lt;/code&gt;.&lt;br /&gt;
PGP Key &lt;code&gt;B9E407B7&lt;/code&gt; also is a new one of mine, I have signed &lt;code&gt;825E0D45&lt;/code&gt;
and revoked &lt;code&gt;B9E407B7&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The other key &lt;code&gt;AC4DA9FA&lt;/code&gt; is my new work key and is still valid.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.linickx.com/gpg-key"&gt;My personal public key&lt;/a&gt; has not been
published (&lt;em&gt;yet&lt;/em&gt;) but is &lt;a href="https://www.linickx.com/files/GPG-KEY-NICK"&gt;available
here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Fingers crossed I've taken enough precautions (&lt;em&gt;backing up keys and
passwords in separate secure locations&lt;/em&gt;) that this will never happen
again, but I guess only time will tell, we all make mistakes :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Fri, 29 Feb 2008 13:14:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2008-02-29:trying-to-clean-up-delete-pgp-keys</guid><category>Blog</category><category>pgp</category><category>Security</category></item></channel></rss>