Re: [openpgp] Revoking Keys: Adding a superceded-by parameter

"Neal H. Walfield" <neal@walfield.org> Sat, 25 July 2015 15:44 UTC

Return-Path: <neal@walfield.org>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A46DD1A86E0 for <openpgp@ietfa.amsl.com>; Sat, 25 Jul 2015 08:44:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.348
X-Spam-Level:
X-Spam-Status: No, score=0.348 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HELO_EQ_DE=0.35, SPF_HELO_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WPbjz26kyuVU for <openpgp@ietfa.amsl.com>; Sat, 25 Jul 2015 08:44:55 -0700 (PDT)
Received: from mail.dasr.de (mail.dasr.de [217.69.77.164]) by ietfa.amsl.com (Postfix) with ESMTP id 32D7C1A905C for <openpgp@ietf.org>; Sat, 25 Jul 2015 08:44:55 -0700 (PDT)
Received: from p50813e87.dip0.t-ipconnect.de ([80.129.62.135] helo=mail.huenfield.org) by mail.dasr.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from <neal@walfield.org>) id 1ZJ1d4-0000xR-Ic; Sat, 25 Jul 2015 15:44:50 +0000
Received: from grit.huenfield.org ([192.168.20.253]) by mail.huenfield.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <neal@walfield.org>) id 1ZJ1d2-0000dv-77; Sat, 25 Jul 2015 17:44:50 +0200
Received: from ip6-localhost.huenfield.org ([::1] helo=grit.huenfield.org.walfield.org) by grit.huenfield.org with esmtp (Exim 4.84) (envelope-from <neal@walfield.org>) id 1ZJ1d1-00007G-6W; Sat, 25 Jul 2015 17:44:47 +0200
Date: Sat, 25 Jul 2015 17:44:47 +0200
Message-ID: <87h9osnswg.wl-neal@walfield.org>
From: "Neal H. Walfield" <neal@walfield.org>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
In-Reply-To: <87y4i9je9f.fsf@alice.fifthhorseman.net>
References: <87wpxvjf9d.wl-neal@walfield.org> <87d1zmlv3p.fsf@vigenere.g10code.de> <87twsyk35z.wl-neal@walfield.org> <87y4i9je9f.fsf@alice.fifthhorseman.net>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/24.4 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
X-SA-Exim-Connect-IP: 192.168.20.253
X-SA-Exim-Mail-From: neal@walfield.org
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 17:06:47 +0000)
X-SA-Exim-Scanned: Yes (on mail.huenfield.org)
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/ii4F4W_jn1Ch1OwjqTwMTLIEPjU>
Cc: IETF OpenPGP <openpgp@ietf.org>
Subject: Re: [openpgp] Revoking Keys: Adding a superceded-by parameter
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp/>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Jul 2015 15:44:56 -0000

Hi,

At Wed, 22 Jul 2015 01:13:16 +0200,
Daniel Kahn Gillmor wrote:
> 
> On Mon 2015-07-20 22:03:04 +0200, Neal H. Walfield wrote:
> > At Mon, 20 Jul 2015 17:14:18 +0200, Werner Koch wrote:
> >> On Mon, 20 Jul 2015 12:27, neal@walfield.org said:
> >> 
> >> > I propose that the description field be augmented to include optional
> >> > email style headers.  Further, we specify the following header to
> >> > specify the new key:
> >> >
> >> >   Superceded-by: fingerprint
> >> 
> >> I think it is better to have a signature subpacket or notation data to
> >> the same effect.  This has the advantage that it can also be used with a
> >> non-revoked key or data signature to declare a plan to supercede a key
> >> in the near future.
> >
> > This is a good point.  Either approach that you propose seems
> > reasonable to me.
> 
> This is a great idea.  Can you suggest a patch to the 4880bis draft that
> Werner started?

I decided to use a notation rather than a new signature subpacket.
This is because the signature subpacket namespace is tiny compared to
the notation data's namespace.

Please let me know how I can improve this.

Thanks!

:) Neal

From 6160a4f49c23b35f8cc7105197ecb145aa6be9ad Mon Sep 17 00:00:00 2001
From: "Neal H. Walfield" <neal@gnu.org>
Date: Sat, 25 Jul 2015 17:42:23 +0200
Subject: [PATCH] RFC4880bis: Describe the superseceded-by notation.

---
 misc/id/rfc4880bis/middle.mkd | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/misc/id/rfc4880bis/middle.mkd b/misc/id/rfc4880bis/middle.mkd
index 80c0a61..6465019 100644
--- a/misc/id/rfc4880bis/middle.mkd
+++ b/misc/id/rfc4880bis/middle.mkd
@@ -1317,6 +1317,18 @@ addresses.
 If there is a critical notation, the criticality applies to that
 specific notation and not to notations in general.
 
+The following notations are currently defined:
+
+       superseded-by: This notation is used within a "Reason for
+       Revocation" subpacket to indicate the key that superscedes this
+       one.  The value of the notation SHOULD be an OpenPGP message
+       containing the fingerprint of the new key printed in
+       hexadecimal form and signed with the new key.  If no key
+       supersedes this key, the value may instead be the 4 character
+       ASCII string "none".  This notation should only be respected if
+       the "Reason for Revocation" subpacket does not indicate that
+       the key was compromised (code: 2).
+
 #### {5.2.3.17} Key Server Preferences
 
 (N octets of flags)
-- 
2.1.4