Re: [DNSOP] I-D Action: draft-ietf-dnsop-dns-zone-digest-10.txt

Donald Eastlake <d3e3e3@gmail.com> Thu, 24 September 2020 01:11 UTC

Return-Path: <d3e3e3@gmail.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 19C3B3A0902 for <dnsop@ietfa.amsl.com>; Wed, 23 Sep 2020 18:11:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Level:
X-Spam-Status: No, score=-1.848 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 PfcHBP3HaHNV for <dnsop@ietfa.amsl.com>; Wed, 23 Sep 2020 18:11:37 -0700 (PDT)
Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (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 63F113A0901 for <dnsop@ietf.org>; Wed, 23 Sep 2020 18:11:37 -0700 (PDT)
Received: by mail-il1-x12f.google.com with SMTP id x18so1464737ila.7 for <dnsop@ietf.org>; Wed, 23 Sep 2020 18:11:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=hLimvtuYTL1+EpFvvqQ9rNPZFd/y5iNxjkVlQCVHNTA=; b=Kx66taWeUUVTOdiRHs4aF5sRvWknf+HyD6AD6yQfYlPLBj56AlkfQvNu/xbZ2YBJfZ 2ZU8qKVybSG+YTRPCA4yBHdKBrJbhoeb6fJ+UL9gkHc9o9EmERbGR6HLsFECOXYp0WFe LNGsBq9VZQ8uSWHSjNvnCf2jL6ukyf5/MIQtI2/jnCptw3kOtOkxgOyQoaf1jjxqPM4y NUdzSMXsjIfi+Jvdhl7WMNHEbure1wplgv1dyllf6oH4vv8Vs1dpwzchdjl5l/flVVQ0 iJCqHb+nf7eneC5yfeNGbrVq0il3mzpQfD5cz5inN8Ucq5M7nBY+7Da65Py73bFaB0sG BKpA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=hLimvtuYTL1+EpFvvqQ9rNPZFd/y5iNxjkVlQCVHNTA=; b=iP0CW9Zl1EPxy8wVasGBWxv+gNSPb1QjYjLtpTsm+oHgVtXWLMmDB8WTh9LomSpy7Q R6Ft0S02QvvrnabiEL5542IvvZGvbcELubfiRGJUJi4e6McBT0mGHayO+QOg/pLnFujC umUVdUDewM/JesaG//OM1szNLtwxLl7hNldbxHK3coo0P3uniZJYmgHLAtPtbZ6fHAld //Tu74LTCi0yfebVvk1ozdUrTvbo0mOxh6AyvYxdpFu26huv4sE4n648jWGeR0ec4sDD v/t3i8ajX7uO7Rx5iu7kWwSC21UUFQDW8eTsfmLlIrDXbh8ZFIzmNLljUofbXgESmNPn 2l/A==
X-Gm-Message-State: AOAM5305ECJBE0BiDx8o7kInq9sivZ2QwYrTXDS22fHab2DXTRzP+X/i HSwTjpjiB0Ogc3FkGv7uovPjAl326glUvHwzxnGsrGHvPksQAg==
X-Google-Smtp-Source: ABdhPJz6mq84uv31kOFmN/vLpLsqTHA5wU/s1dEO8hwrLIiWC6MZMtxLnCopCvilw36ngeEgv1jK1nCEvruV+rXXTVg=
X-Received: by 2002:a92:79d2:: with SMTP id u201mr2126030ilc.83.1600909896029; Wed, 23 Sep 2020 18:11:36 -0700 (PDT)
MIME-Version: 1.0
References: <160071009516.32585.7690187581775122560@ietfa.amsl.com> <a96ab6c1-59e8-170b-2272-ba274fbcfc45@nthpermutation.com>
In-Reply-To: <a96ab6c1-59e8-170b-2272-ba274fbcfc45@nthpermutation.com>
From: Donald Eastlake <d3e3e3@gmail.com>
Date: Wed, 23 Sep 2020 21:11:24 -0400
Message-ID: <CAF4+nEHG4vGjV8VeSb752KXwt-R8A965ZhLeOPDhJyp5+OqTWg@mail.gmail.com>
To: "<dnsop@ietf.org>" <dnsop@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/ZBR5IgSpDSg4G_G8M31dis5L5p0>
Subject: Re: [DNSOP] I-D Action: draft-ietf-dnsop-dns-zone-digest-10.txt
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
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, 24 Sep 2020 01:11:39 -0000

Hi,

Replying on just one point:

On Mon, Sep 21, 2020 at 2:27 PM Michael StJohns <msj@nthpermutation.com> wrote:
>
> ...
>
> 2.2.4 - SHA384 has a hash length of 48 bytes.  12 bytes seems to imply
> some sort of left or right truncation.   Show stopper!  Explain how this
> value was selected and how it interacts with the native length of the
> chosen hash. Note: I have no trouble with truncated hashes here, but no
> modern hash has less than 20 bytes so 12 seems to be a very strange
> number absent a discussion of truncated hashes.

Well, previously the draft said that the length of the digest field
must be larger than zero.  Do you think that the previous text implied
you could truncate to 1 byte?  There is nothing in the draft about
truncation.

This is intended to prohibit any future hash algorithm specification
(which could include a truncation operation) for ZOMEND that results
in less than 12 bytes. 96 bits seems to be a common minimum length for
disgests in the IETF although perhaps I have that impression due to
the common case of SHA-1 truncated to 96 bits. However, I note that
RFC 4635 on "HMAC SHA TSIG Algorithm Identifiers", issued in 2006,
prohibits hashes less than 10 bytes or 80 bits. If the draft is going
to specify a minimum length, I think it should be at least 96 bits.

Thanks,
Donald
===============================
 Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
 2386 Panoramic Circle, Apopka, FL 32703 USA
 d3e3e3@gmail.com

> ...
>
> Mike
>
>
> On 9/21/2020 1:41 PM, internet-drafts@ietf.org wrote:
> > A New Internet-Draft is available from the on-line Internet-Drafts directories.
> > This draft is a work item of the Domain Name System Operations WG of the IETF.
> >
> >          Title           : Message Digest for DNS Zones
> >          Authors         : Duane Wessels
> >                            Piet Barber
> >                            Matt Weinberg
> >                            Warren Kumari
> >                            Wes Hardaker
> >       Filename        : draft-ietf-dnsop-dns-zone-digest-10.txt
> >       Pages           : 36
> >       Date            : 2020-09-21
> >
> > Abstract:
> >     This document describes a protocol and new DNS Resource Record that
> >     provides a cryptographic message digest over DNS zone data.  The
> >     ZONEMD Resource Record conveys the digest data in the zone itself.
> >     When a zone publisher includes a ZONEMD record, recipients can verify
> >     the zone contents for accuracy and completeness.  This provides
> >     assurance that received zone data matches published data, regardless
> >     of how the zone data has been transmitted and received.
> >
> >     ZONEMD does not replace DNSSEC.  Whereas DNSSEC protects individual
> >     RRSets (DNS data with fine granularity), ZONEMD protects a zone's
> >     data as a whole, whether consumed by authoritative name servers,
> >     recursive name servers, or any other applications.
> >
> >     As specified herein, ZONEMD is impractical for large, dynamic zones
> >     due to the time and resources required for digest calculation.
> >     However, The ZONEMD record is extensible so that new digest schemes
> >     may be added in the future to support large, dynamic zones.
> >
> >
> > The IETF datatracker status page for this draft is:
> > https://datatracker.ietf.org/doc/draft-ietf-dnsop-dns-zone-digest/
> >
> > There are also htmlized versions available at:
> > https://tools.ietf.org/html/draft-ietf-dnsop-dns-zone-digest-10
> > https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-dns-zone-digest-10
> >
> > A diff from the previous version is available at:
> > https://www.ietf.org/rfcdiff?url2=draft-ietf-dnsop-dns-zone-digest-10
> >
> >
> > Please note that it may take a couple of minutes from the time of submission
> > until the htmlized version and diff are available at tools.ietf.org.
> >
> > Internet-Drafts are also available by anonymous FTP at:
> > ftp://ftp.ietf.org/internet-drafts/