Re: [DNSOP] One Chair's comments on draft-wessels-dns-zone-digest

"John Levine" <johnl@taugh.com> Thu, 02 August 2018 19:41 UTC

Return-Path: <johnl@iecc.com>
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 DE88C1286E3 for <dnsop@ietfa.amsl.com>; Thu, 2 Aug 2018 12:41:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 5qC52czl4t0p for <dnsop@ietfa.amsl.com>; Thu, 2 Aug 2018 12:41:33 -0700 (PDT)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (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 153C41277C8 for <dnsop@ietf.org>; Thu, 2 Aug 2018 12:41:32 -0700 (PDT)
Received: (qmail 28246 invoked from network); 2 Aug 2018 19:41:32 -0000
Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTP via TCP6; 02 Aug 2018 19:41:31 -0000
Received: by ary.qy (Postfix, from userid 501) id CFAA1200334E8B; Thu, 2 Aug 2018 15:41:31 -0400 (EDT)
Date: Thu, 02 Aug 2018 15:41:31 -0400
Message-Id: <20180802194131.CFAA1200334E8B@ary.qy>
From: John Levine <johnl@taugh.com>
To: dnsop@ietf.org
Cc: paul@nohats.ca
In-Reply-To: <alpine.LRH.2.21.1808021512160.1415@bofh.nohats.ca>
Organization: Taughannock Networks
X-Headerized: yes
Mime-Version: 1.0
Content-type: text/plain; charset="utf-8"
Content-transfer-encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/tbCSOvrY8tyHESi_K2MPAlsPNXA>
Subject: Re: [DNSOP] One Chair's comments on draft-wessels-dns-zone-digest
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.27
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: Thu, 02 Aug 2018 19:41:35 -0000

In article <alpine.LRH.2.21.1808021512160.1415@bofh.nohats.ca> you write:
>On Tue, 31 Jul 2018, Matt Larson wrote:
>
>> For all those reasons, I think a checksum in the zone file itself that can be verified with DNSSEC is the best option for this use case, and I like the
>ZONEMD solution.
>
>Note that the checksum in this case must be at least as
>cryptographically strong as the signature algorithm used
>in the individual RRSIGs/DNSKEYs. This would have to be
>enforced by software/RFC to prevent a downgrade attack.

As someone else pointed out, this would be a second-preimage attack.
As far as I know, even the cruddy old hashes like MD5 and SHA-1 aren't
subject to it.  Could you explain in more detail what sort of
downgrade attack you're thinking of?

R's,
John

PS: I have no objection to making a list of hash functions for ZONEMD
that currently only includes SHA-256.  I mean, why not?