Re: [DNSOP] [Ext] Call for Adoption: draft-hoffman-dnssec-iana-cons

Paul Wouters <paul@nohats.ca> Wed, 06 January 2021 14:57 UTC

Return-Path: <paul@nohats.ca>
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 30D8F3A0D47 for <dnsop@ietfa.amsl.com>; Wed, 6 Jan 2021 06:57:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nohats.ca
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 g9pkhBZ9-4_3 for <dnsop@ietfa.amsl.com>; Wed, 6 Jan 2021 06:57:39 -0800 (PST)
Received: from mx.nohats.ca (mx.nohats.ca [IPv6:2a03:6000:1004:1::68]) (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 D864A3A0A26 for <dnsop@ietf.org>; Wed, 6 Jan 2021 06:57:38 -0800 (PST)
Received: from localhost (localhost [IPv6:::1]) by mx.nohats.ca (Postfix) with ESMTP id 4D9ssr23rHz5Cb; Wed, 6 Jan 2021 15:57:36 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1609945056; bh=DuRVMtdojLG57UlXx3pyT/Y0Dt/d7pnm77RwVBtXMEs=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=E0GXpQ6GUqXb2akfufYfeTSvwDwAPrfw8atYX5AP9jZ5qMN5khO5YEfVIbpqkThwg dUEa+0gm8IGOgUvS1RyY7Yo/rvA6TWce13h0ChwXviu1ExD/FiLI0/prhY21Ce/9QP rjB5ruZ6YRJn5e4Z1jIMNxhcWOhMt76+7bR8uEdE=
X-Virus-Scanned: amavisd-new at mx.nohats.ca
Received: from mx.nohats.ca ([IPv6:::1]) by localhost (mx.nohats.ca [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id SU56IYAFr9eO; Wed, 6 Jan 2021 15:57:34 +0100 (CET)
Received: from bofh.nohats.ca (bofh.nohats.ca [193.110.157.194]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.nohats.ca (Postfix) with ESMTPS; Wed, 6 Jan 2021 15:57:34 +0100 (CET)
Received: by bofh.nohats.ca (Postfix, from userid 1000) id 36B5C6029A47; Wed, 6 Jan 2021 09:57:33 -0500 (EST)
Received: from localhost (localhost [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 3554266B7C; Wed, 6 Jan 2021 09:57:33 -0500 (EST)
Date: Wed, 06 Jan 2021 09:57:33 -0500
From: Paul Wouters <paul@nohats.ca>
To: Ben Schwartz <bemasc@google.com>
cc: dnsop <dnsop@ietf.org>
In-Reply-To: <CAHbrMsAqNXENeP2AdkEs7OC+YL6_z9VU89B7mNu3qOFBc7PQ=A@mail.gmail.com>
Message-ID: <3a914ab5-2744-cec0-bbc8-bf39ec64a051@nohats.ca>
References: <CADZyTkn1QuvjencR8+wVtQ9bzQHJT9JXXNku1LPr3YRmRt4KQg@mail.gmail.com> <2E8229BE-E764-4C29-A258-8C469717E38A@nohats.ca> <CABcZeBMr5Muijx5V7Se1UcxTB9DbAzF1iXZb7_FzEGfw982x8w@mail.gmail.com> <65e3288d-bdfe-ff10-2fbc-63a5d2dd9508@cs.tcd.ie> <797AAE77-2D50-4189-81D8-44BA495146F5@icann.org> <546e60c6-b109-8552-dfb4-7d3ba2ecbc71@cs.tcd.ie> <E58B4013-9491-43ED-83C9-250FF7647570@icann.org> <0746397c-ed85-429c-ff6e-a4a559520e86@cs.tcd.ie> <487928351.1557.1609759876775@appsuite-gw1.open-xchange.com> <60ba1f68-b07f-7a06-539f-60ce442ffbff@cs.tcd.ie> <195eb4c7-306f-97e1-b0df-f6678ebe732@nohats.ca> <ebb27f27-a243-67cd-2b5c-d2ecea741942@cs.tcd.ie> <24505bb1-cf40-25a7-337c-9b50fedfedc1@nohats.ca> <98299ffc-056b-16ee-1929-78543f5ec6d5@cs.tcd.ie> <F66DA99B-910E-4324-895D-F617B447612F@gmail.com> <CAHbrMsAqNXENeP2AdkEs7OC+YL6_z9VU89B7mNu3qOFBc7PQ=A@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/1f7E61wV5US9dpaCfz-gyNrWQl4>
Subject: Re: [DNSOP] [Ext] Call for Adoption: draft-hoffman-dnssec-iana-cons
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: Wed, 06 Jan 2021 14:57:41 -0000

On Tue, 5 Jan 2021, Ben Schwartz wrote:

> One thing I found surprising here is that RFC 6840 Section 5.11 says
>    Validators
>    SHOULD accept any single valid path.  They SHOULD NOT insist that all
>    algorithms signaled in the DS RRset work, and they MUST NOT insist
>    that all algorithms signaled in the DNSKEY RRset work.
> 
> If a validator has more confidence in Algorithm A than Algorithm B, it's frustrating for it to be required to accept a B signature when
> Algorithm A indicates that the record is Bogus.  Do validators actually behave this way, checking each signature until they find a valid one?
> 
> Perhaps if we updated RFC 6840 to indicate that validators should validate only the most-preferred available signature (or indeed insist that
> all supported signatures are valid), that would reduce the level of concern here.  Zones and resolvers could add more algorithms with no risk of
> weakening their security posture.

But it is the zone owner that declares what is acceptable to them for
their domain, by using DS records of the type they want. Why should a
resolver override that?

Also, you would end up building a list of algorithms from worst to best.
This is not always obvious. Sure, the SHA1 vs SHA2 is obvious. Would you
prefer a NIST ECC curve over a GOST ECC curve or not?

DNS RFC's stick to the rule that validators should not be in the space
of determining which crypto algorithm is preferred.

Paul


> On Tue, Jan 5, 2021 at 3:24 AM Василий Долматов <vdolmatov@gmail.com> wrote:
> 
>
>       > 4 янв. 2021 г., в 19:20, Stephen Farrell <stephen.farrell@cs.tcd.ie> написал(а):
>       >
>       >
>       > Hiya,
>       >
>       > On 04/01/2021 16:05, Paul Wouters wrote:
>       >> While asking is fair, you would also have to define what you
>       >> do based on the outcome of that ask. You left that out,
>       >
>       > I don't think I did omit that. My stated reason to ask was
>       > to help me figure out what I think about the draft named in
>       > the subject line. And yes, I do think that if a codepoint
>       > is being requested for a new version of an existing one
>       > then asking about how the existing one was used is a good
>       > thing to do. The case with gost and rsa+sha1/sha256 isn't
>       > the same because gost is a series of national standards.
>       >
>       > > As to answer your question, I believe GOST did not see
>       > > more than about 5 domains use it in what was clearly a
>       > > "Testing" deployment.
>       >
>       > Thanks. In that case, it sounds like it'd have been better
>       > to use a private or experimental code point for that kind
>       > of thing. OTOH, my understanding (based only on hallway
>       > chats over the years) was that the codepoint was allocated
>       > for political reasons. Either way, does that mean that a
>       > lot of effort to implement and test was wasted since that
>       > codepoint was allocated? If so, avoiding that in future
>       > would be good, if there's a way to do that.
>       The situation with GOST in DNSSEC is explainable and was explained
>       in the list during the discussion of another draft (and to you personally, AFAIR,
>       maybe you’ve forgotten that).
>
>       To the time when RFC5933 was published and corresponding codepoint was allocated
>       it has been known already that new version of underlying standards for hash and signature were on the way,
>       so there were no reason to implement it immediately using standards which will be obsoleted soon.
>
>       That explains why there  were only several test implementations performed, which were intended to check
>       smooth interoperability, if different algorithms were used in DNSSEC validation chain, with even several
>       algorithms switches along the chain.  The interoperability was proven and results were presented on
>       one of the RIPE meetings.
>
>       Then the DNSSEC deployment in Russia went into «waiting state», waiting for:
>        - new standards to be published in Russia
>        - reference implementations of it were created  by different software teams with interoperability checks
>        - making IETF community aware of them by publishing set of Informational RFC
>        - «running code» was created for new standards in open-source software (implementing it in OpenSSL for instance)
>        - assigning codepoints in DNSSEC registry
>
>       Now we are at the last step in this list, and after its completion we consider that it will become possible to deploy GOST in
>       DNSSEC.
>
>       That explains why there is no wide deployment of GOST in DNSSEC until now. We prefer slow-pace but reliable way forward.
>
>       Btw, the same way was passed for TLS now, after codepoints for GOST in TLS has been assigned already, we have
>       several different implementations of TLS with GOST by different software developer teams and we have a stand for TLS
>       interoperability check which is run by the team independent from any of software vendors and performing the check that all
>       implementations are mutually compatible and aligned with the corresponding RFCs.
>       This stand  is used for the interoperability check of IPSEC implementations also and will incorporate DNSSEC in its scope in proper
>       time.
>
>       dol@
>
>       >
>       > Cheers,
>       > S.
>       >
>       > PS: note that I'm neither supporting, nor objecting to,
>       > Paul's draft in the above.
>       >
>       >
>       > <OpenPGP_0x5AB2FAF17B172BEA.asc>_______________________________________________
>       > DNSOP mailing list
>       > DNSOP@ietf.org
>       > https://www.ietf.org/mailman/listinfo/dnsop
>
>       _______________________________________________
>       DNSOP mailing list
>       DNSOP@ietf.org
>       https://www.ietf.org/mailman/listinfo/dnsop
> 
> 
>