Tuesday, 10 December 2013

PGP keys rotated

I just (belatedly) rotated my PGP keys. The old ID was 86FF9C48 and the new 6D920D30 with a fingerprint of 59C2 118E D206 D927 E667 EBE3 D3E5 F56B 6D92 0D30. The new key should be available from the keyserver network and is signed by my old key. As a very infrequent user of gnupg for anything but generating signatures, I found apache.org's key transition guidelines to be very useful in doing this.

One thing that I noticed along the way that doesn't seem to be in the documentation. Where gnupg asks you for an expiry duration, it will actually accept an exact timestamp too. So you can answer something like 20201231T235959 and it will do the right thing.

My whole key blob is now:

3 comments:

  1. Can you explain why a 3200 bit key? I've seen 1024, 2048, 3072, and 4096, but not 3200.

    ReplyDelete
  2. AFAIK it's possible. I chose a 4096 bit key because I use it only infrequently and it had to last 10 years...

    ReplyDelete
  3. I think he means

    pub 3200R/6D920D30 2013-12-10 [expires: 2021-01-01]
    uid Damien Miller
    sub 3200R/672A1105 2013-12-10 [expires: 2021-01-01]
    ^ why that 3200

    ReplyDelete