Re: [sidr] preventing SKI collisions

Tim Bruijnzeels <tim@ripe.net> Fri, 07 August 2015 11:59 UTC

Return-Path: <tim@ripe.net>
X-Original-To: sidr@ietfa.amsl.com
Delivered-To: sidr@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 417D31B2B46 for <sidr@ietfa.amsl.com>; Fri, 7 Aug 2015 04:59:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 kJUY7zYNjYtN for <sidr@ietfa.amsl.com>; Fri, 7 Aug 2015 04:59:02 -0700 (PDT)
Received: from mahimahi.ripe.net (mahimahi.ripe.net [IPv6:2001:67c:2e8:11::c100:1372]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3C941B2AC4 for <sidr@ietf.org>; Fri, 7 Aug 2015 04:59:01 -0700 (PDT)
Received: from titi.ripe.net ([193.0.23.11]) by mahimahi.ripe.net with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from <tim@ripe.net>) id 1ZNgIc-0005LI-3F; Fri, 07 Aug 2015 13:58:58 +0200
Received: from sslvpn.ripe.net ([193.0.20.230] helo=vpn-207.ripe.net) by titi.ripe.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from <tim@ripe.net>) id 1ZNgIb-0006Cb-Sq; Fri, 07 Aug 2015 13:58:57 +0200
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Tim Bruijnzeels <tim@ripe.net>
In-Reply-To: <m2wpx7pes6.wl%randy@psg.com>
Date: Fri, 07 Aug 2015 12:58:57 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <04BAA3C5-D44E-4DF2-97D4-0CC00A0E293A@ripe.net>
References: <555F436F.3080003@bbn.com> <2BF75857-6A5F-4260-B13B-0B9F6CE3FD98@ieca.com> <197E8AEA-D554-4DB4-885E-CFD55EF9E774@ripe.net> <m2wpx7pes6.wl%randy@psg.com>
To: Randy Bush <randy@psg.com>
X-Mailer: Apple Mail (2.2102)
X-ACL-Warn: Delaying message
X-RIPE-Spam-Level: ---
X-RIPE-Spam-Report: Spam Total Points: -3.0 points pts rule name description ---- ---------------------- ------------------------------------ -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -0.1 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000]
X-RIPE-Signature: 784d7acfe6559f2a0b602ec6519a0719d5d103e056f325fdeffcd89d38e6a478
Archived-At: <http://mailarchive.ietf.org/arch/msg/sidr/3H8Q7zT4t06lZXHx_iD3N188U2I>
Cc: sidr wg list <sidr@ietf.org>
Subject: Re: [sidr] preventing SKI collisions
X-BeenThere: sidr@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Secure Interdomain Routing <sidr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sidr>, <mailto:sidr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sidr/>
List-Post: <mailto:sidr@ietf.org>
List-Help: <mailto:sidr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sidr>, <mailto:sidr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Aug 2015 11:59:03 -0000

> On Aug 7, 2015, at 11:35 AM, Randy Bush <randy@psg.com> wrote:
> 
>> This change would require certificates to be re-issued (or possibly
>> keys to be rolled) all the way down from Trust Anchors. When the
>> parent CA re-issues a certificate for the child CA with a new style
>> SKI, then the child will have to re-issue its products with a new AKI.
>> 
>> This is not impossible, but not trivial either. Especially if a
>> delegated model is used.
> 
> have we done a dnssec-v1?  we should be able to change hashes without a
> flag day.  if not, we need to think.

actually, thinking about this a bit longer now..

If both SHA-1 and SHA-256 are allowed (at least for a while) this can be initiated by any CA that wants to make the change.

Important bits are:
 - RFC6492 uses SKIs for revoke requests
 - The AKI of products issued by a CA should match their SKI

I guess that the easiest way to make this work is a key roll. Create a new key, request a certificate for it with the new SKI, re-issue the products with the new key, and finally revoke the old key (using the old style SKI).

It's still work, but not as bad as I previously painted.