Re: [DNSOP] Call for Adoption draft-wouters-sury-dnsop-algorithm-update

Roy Arends <roy@dnss.ec> Wed, 01 March 2017 14:30 UTC

Return-Path: <roy@dnss.ec>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 50BE5129449 for <dnsop@ietfa.amsl.com>; Wed, 1 Mar 2017 06:30:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=dnss.ec
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 OE0yF96xkwsZ for <dnsop@ietfa.amsl.com>; Wed, 1 Mar 2017 06:30:12 -0800 (PST)
Received: from mail-qk0-x22f.google.com (mail-qk0-x22f.google.com [IPv6:2607:f8b0:400d:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DE6B512940C for <dnsop@ietf.org>; Wed, 1 Mar 2017 06:30:11 -0800 (PST)
Received: by mail-qk0-x22f.google.com with SMTP id n186so70691962qkb.3 for <dnsop@ietf.org>; Wed, 01 Mar 2017 06:30:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dnss.ec; s=google; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=HEVissP7vSUCqiS+iNvy+qHgxlrB6dyuG67ILQqeyYQ=; b=UUjU01Q7JUPi+rdRh7xWtgzY6kpuFl5O3s3HuKDQs/R34G11ON1Zh6OLVqXAEY9Z2r R7m8AbZwO7zk95pIxdxg0F9kmLnEvjnIJHiQ5VtWS6UufmSfSJt2RM6xw29mdu93DDVV qtxVSOdpAxib5LtPXfMJz/lrpsMO5WvJapa3U=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=HEVissP7vSUCqiS+iNvy+qHgxlrB6dyuG67ILQqeyYQ=; b=G2nagK3jUcoWZ5iihvjEYEOs750RWmdcBlM4SXr6c61qoS2Wezjrp76Qh4J4mphecm A5/LohCbvg4bcgt0l0EiPKw2M54c3F0+jn4pr1txVT3Om82lsivUw6HIGTjQdspmlV5U ZkNWsm4XHAEncFlT4+SsueJzNVONAjZcszEv6qvWg4MOYY0t0sCt7Vd5gND3IfxRxcqz X0jBGZkzUA9arkETSKQsriPRphiYX+o7MyDI3sy2uXVvbRJmcaM2opHOxWsmi//Dz8+3 IwZ/gy0Y6gHWB9a82t+BoodglzvGUlOOuAamFRhwmc+BDHb6ujGYqmtJ40z2id3ztATW sCGA==
X-Gm-Message-State: AMke39n4g+78k+U3OuL3pfNhGZOYVqE68XP2XckQQ6SBcttAWVMsvoO+WezexPDRrzGT/g==
X-Received: by 10.237.36.210 with SMTP id u18mr10801892qtc.51.1488378610350; Wed, 01 Mar 2017 06:30:10 -0800 (PST)
Received: from [192.168.1.82] (host217-42-115-115.range217-42.btcentralplus.com. [217.42.115.115]) by smtp.gmail.com with ESMTPSA id d30sm3256882qtb.18.2017.03.01.06.30.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Mar 2017 06:30:08 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
From: Roy Arends <roy@dnss.ec>
In-Reply-To: <alpine.LRH.2.20.1702282052220.28866@bofh.nohats.ca>
Date: Wed, 01 Mar 2017 14:30:06 +0000
Content-Transfer-Encoding: quoted-printable
Message-Id: <AC4C0368-1454-4718-95AF-BB4DDECEF17E@dnss.ec>
References: <78013346-6100-f7e6-a3c8-87d2f92533d8@gmail.com> <F40B69DF-6391-4008-A7CD-C85277952D8A@dnss.ec> <alpine.LRH.2.20.1702281627360.22841@bofh.nohats.ca> <920390D7-BFF8-4680-B2D8-488777671DCA@dnss.ec> <alpine.LRH.2.20.1702282052220.28866@bofh.nohats.ca>
To: dnsop <dnsop@ietf.org>
X-Mailer: Apple Mail (2.3259)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/W_Ro6DvOiV3nLkLCN0DQvLhISAg>
Subject: Re: [DNSOP] Call for Adoption draft-wouters-sury-dnsop-algorithm-update
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/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, 01 Mar 2017 14:30:13 -0000

> On 1 Mar 2017, at 01:56, Paul Wouters <paul@nohats.ca> wrote:
> 
> On Tue, 28 Feb 2017, Roy Arends wrote:
> 
>>> We can't stuff PDF prefixes into this,
>> 
>> We don’t need to.
>> 
>>> there are a lot less bytes
>>> for an attacker to play with.
>> 
>> A CNAME chain will give you plenty of bytes to futz with.
> 
> None of the SHA1 hases we use are covering a chain of records.

The point is not the chain itself, but the right hand side of the first CNAME in a chain. Make it long enough and you’ll have enough bits.

An attacker needs two successive 512 bit blocks and a prefix. 

However, you _do_ hash a chain of records. Forget CNAME, take a DNSKEY RRset with a few DNSKEY records in it. A fake 1024 bit key aligned just right will do the trick. 

All in all. The assumption that there are a lot less bytes for an attacker to play with is incorrect. 

> 
>>>> Please also refrain from using MUST- SHOULD+ and SHOULD-.
>>> For this SHA1 case or in general?
>> 
>> In general.
> 
> I disagree then. Did you read the motivation of why we use
> those terms to clarify that we expect an algorithm to be
> promoted or demoted in a future update?

Yes. I've read it. It is silly.

I expect any algorithm to be demoted in a future update. 
I expect any algorithm to be promoted in a future update.
I expect world peace too. And a pony!

I understand that you want to reflect, at the time of writing, the expectation that in the future some algorithms are king, some algorithms were king and some algorithms will be king. 

However, the only thing you _can_ state is what you know at the time of writing: some algorithms are king, SHA1 algorithms were king. Anything else is guesswork.

Why don’t you leave these future predictions to a future update.

> 
>>> I'd say we could update the DNSSEC
>>> Signing entry from MUST- to SHOULD NOT
>> 
>> Good. That is exactly my request.
> 
> This is still only meaningful if the signer software vendors
> in general agree with this. If they will just ignore this
> document, then I feel there isn't much point in proceeding
> with it.

Vendors are on this list and usually fairly vocal. I welcome their input. 

> 
>>> but I would leave SHA1 for
>>> DNSSEC validation at MUST-.
>> 
>> I’d say you have to update that as well to SHOULD NOT.
> 
> That is just unreasonable. Do you want half the the DNSSEC
> signed zones in the world to go insecure or bogus?

I have different numbers, but I do prefer a zone going bogus rather than falsely secure. 

Can you please show where you got the “half the the DNSSEC signed zones in the world to go insecure or bogus” numbers, or are you just picking a convenient number to make your argument?

> 
> Migration should be done responsibly.

Sure. But a migration doc is something else. This is not it. 

Roy