Re: [DNSOP] rfc4641bis: NSEC vs NSEC3.

Roy Arends <roy@dnss.ec> Mon, 22 February 2010 16:50 UTC

Return-Path: <roy@dnss.ec>
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 936843A83FF for <dnsop@core3.amsl.com>; Mon, 22 Feb 2010 08:50:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.971
X-Spam-Level:
X-Spam-Status: No, score=-1.971 tagged_above=-999 required=5 tests=[AWL=0.278, BAYES_00=-2.599, HELO_EQ_SE=0.35]
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 7n7xp-7S5qup for <dnsop@core3.amsl.com>; Mon, 22 Feb 2010 08:50:15 -0800 (PST)
Received: from mail.schlyter.se (trinitario.schlyter.se [195.47.254.10]) by core3.amsl.com (Postfix) with ESMTP id C164E3A831B for <dnsop@ietf.org>; Mon, 22 Feb 2010 08:50:15 -0800 (PST)
Received: from [192.168.1.2] (unknown [201.238.167.195]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: roy) by mail.schlyter.se (Postfix) with ESMTPSA id 2EBA42D4AD; Mon, 22 Feb 2010 17:52:10 +0100 (MET)
Mime-Version: 1.0 (Apple Message framework v1077)
Content-Type: text/plain; charset="us-ascii"
From: Roy Arends <roy@dnss.ec>
In-Reply-To: <20100222161251.GA99592@isc.org>
Date: Mon, 22 Feb 2010 11:52:07 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <FD83B7A9-583C-4E6C-9301-414D043DBB08@dnss.ec>
References: <20100220202751.GB54720@shinkuro.com> <20100220213133.GE2477@isc.org> <4B807DC0.9050807@ogud.com> <315AD36E-879A-4512-A6A8-B64372E3D3CF@sinodun.com> <201002220022.o1M0M3qR048760@drugs.dv.isc.org> <A8EB3AAE-0DA6-4C4E-B2D1-E548884F63D5@dnss.ec> <4B8251E9.70904@nlnetlabs.nl> <699B9362-B927-4148-B79E-2AEB6D713BE8@dnss.ec> <4B82897F.7080000@nlnetlabs.nl> <9C97F5BFBD540A6242622CC7@Ximines.local> <20100222161251.GA99592@isc.org>
To: Evan Hunt <each@isc.org>
X-Mailer: Apple Mail (2.1077)
Cc: dnsop@ietf.org, "W.C.A. Wijngaards" <wouter@NLnetLabs.nl>, Alex Bligh <alex@alex.org.uk>
Subject: Re: [DNSOP] rfc4641bis: NSEC vs NSEC3.
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: Mon, 22 Feb 2010 16:50:16 -0000

On Feb 22, 2010, at 11:12 AM, Evan Hunt wrote:

>> Using NSEC instead of NSEC3 because you fear SHA1 collisions does not
>> seem sensible, as if you fear SHA1 collisions, you have other more
>> significant problems with DNSSEC to worry about, and thus this is
>> not, in my opinion, reasonable. And it isn't sensible to suggest
>> users worry about it. If we are going to mention it, it should be
>> in security considerations, saying NSEC3 is dependent upon certain
>> properties of its hash algorithm (I forget now whether it is
>> collision resistance, pre-image resistance or or what), but this
>> should also point out the whole of DNSSEC is predicated on similar
>> qualities.
> 
> +1 except for the "if".  It is mathematically possible for collisions to
> occur with one approach and not the other, and it would be irresponsible
> not to make note of the fact, even if we agree that the chances of this
> occurring in nature are negligible.

This is absurd. If we're going to do this, I'd like the security considerations to reflect all of the non-zero probabilities of errors occuring (those that have a higher probability). This includes software-bugs, hardware-bugs, probability of advances in factorization, randomness of PRNG for DNSKEYs, faulty calibration/low granularity of equipment measuring the transition between the two hyperfine levels of the ground state of the caesium 133 atom. Gravitational Sphere of Influence of the 99942 Apophis on the Gravitational orbit of GPS satelites (Still having a higher probability than hash-collisions ;-)), Drunk Sysadmins, Rouge Registrar, etc, etc.

I'm sure that it will be a very large section.

Roy