Re: [DNSOP] [dnsext] Why ZSK rollover is a Bad Idea (tm)

Joe Abley <jabley@hopcount.ca> Wed, 07 October 2009 13:21 UTC

Return-Path: <jabley@hopcount.ca>
X-Original-To: dnsop@core3.amsl.com
Delivered-To: dnsop@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 25F893A6A93 for <dnsop@core3.amsl.com>; Wed, 7 Oct 2009 06:21:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PEZToWryPkOf for <dnsop@core3.amsl.com>; Wed, 7 Oct 2009 06:21:21 -0700 (PDT)
Received: from monster.hopcount.ca (monster.hopcount.ca [216.235.14.38]) by core3.amsl.com (Postfix) with ESMTP id 4A5233A68EA for <dnsop@ietf.org>; Wed, 7 Oct 2009 06:21:21 -0700 (PDT)
Received: from [193.0.27.97] (helo=dhcp-27-97.ripemtg.ripe.net) by monster.hopcount.ca with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from <jabley@hopcount.ca>) id 1MvWTn-000GxM-FA; Wed, 07 Oct 2009 13:22:56 +0000
Mime-Version: 1.0 (Apple Message framework v1076)
Content-Type: text/plain; charset="us-ascii"; format="flowed"; delsp="yes"
From: Joe Abley <jabley@hopcount.ca>
In-Reply-To: <FB20C78E-3A72-409C-8406-2B8A00923783@NLnetLabs.nl>
Date: Wed, 07 Oct 2009 14:22:52 +0100
Content-Transfer-Encoding: 7bit
Message-Id: <712BBDEE-25FF-4E2E-A9E5-49E49162D41D@hopcount.ca>
References: <1C586E51-D77C-406C-9B89-47276A9B41B2@ICSI.Berkeley.EDU> <p06240812c6f160ac1fb2@10.20.30.158> <d3aa5d00910061408y191bf863p48a6ec703553b67e@mail.gmail.com> <FB20C78E-3A72-409C-8406-2B8A00923783@NLnetLabs.nl>
To: Olaf Kolkman <olaf@nlnetlabs.nl>
X-Mailer: Apple Mail (2.1076)
Cc: Eric Rescorla <ekr@rtfm.com>, Nicholas Weaver <nweaver@icsi.berkeley.edu>, dnsop WG <dnsop@ietf.org>, Paul Hoffman <paul.hoffman@vpnc.org>
Subject: Re: [DNSOP] [dnsext] Why ZSK rollover is a Bad Idea (tm)
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsop>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Oct 2009 13:21:22 -0000

[from a namedroppers thread, re-pointed as per Olaf's suggestion below]

On 2009-10-07, at 09:23, Olaf Kolkman wrote:

> On Oct 6, 2009, at 10:08 PM, Eric Rescorla wrote:
>
>> I don't have a general position on ZSKs--perhaps it's a good idea for
>> some other reason--but I don't
>> think that rolling the keys over at high rates provides any
>> significant security benefit, no matter
>> where in the hierarchy you're doing it.
>
> Really this is an DNSOP issues, more specifically an issue for  
> RFC4641bis.
>
> [I've added dnsop, please remove namedroppers when replying to this  
> note]
>
> RFC4641 argues for frequent ZSK rollovers, the argument therein is
> based on operational arguments that are (implicitly) based on operator
> acces to private keys and/or the timeline in which changes in which
> the (zone) operator may need to be replaced.

I skimmed through 4641 to try and refresh my memory, but couldn't find  
the discussion on ZSK rollover frequency. No doubt this is my  
deficiency.

 From my perspective the operational argument is that procedures which  
are rarely exercised may not be exercised well when they are needed (a  
backup that is not regularly tested cannot really be relied upon; a  
protect path that is never used might not work when it is needed, etc).

Frequent key rollover has the operational benefit of when you need to  
do an emergency roll you know the procedures work.

 From this perspective we might roll a ZSK more frequently than a KSK  
because the ZSK needs to be stored on-line to facilitate re-signing  
when the zone changes. With the KSK we have the option of keeping it  
off-line, and arguably the risk of compromise is consequently lower.  
Regular testing of the machinery is still important, however.

I am no crypto expert, but ekr's concern over the cryptographic  
benefits of frequent key roll seemed entirely reasonable.

I think the operational benefit is real, however.


Joe