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

Ben Schwartz <bemasc@google.com> Wed, 06 January 2021 03:45 UTC

Return-Path: <bemasc@google.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 7C6DB3A0B35 for <dnsop@ietfa.amsl.com>; Tue, 5 Jan 2021 19:45:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.97
X-Spam-Level:
X-Spam-Status: No, score=-17.97 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.373, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 k_bNXG9lVy-S for <dnsop@ietfa.amsl.com>; Tue, 5 Jan 2021 19:45:26 -0800 (PST)
Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (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 5B8A73A0B2D for <dnsop@ietf.org>; Tue, 5 Jan 2021 19:45:26 -0800 (PST)
Received: by mail-il1-x12b.google.com with SMTP id w12so1881821ilm.12 for <dnsop@ietf.org>; Tue, 05 Jan 2021 19:45:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Rl7cuhGMRBFOJlkKKHTRYRFGrcxLIkhPNGKK1K0Cpb8=; b=LeSxDP6EWY2ybqU6WfWpeRrbzAz21Ffuq46fOhg8urEI/9k/Sdg/K2A5SY5KvbhFxv w14vKXSTqjSFBWmYh4vVlsaM4wPn1AH8EjW7xGQJa09H4aksgcg/BC1VYjxwF07Q6jTb ObCs9W4zxaVg2Mp+AcLet6o6EuGTo/kwHiwljPHq5cad4FwSpAHhybFhiQOz/aStRPIY H4B7wV701xcVG8uTvoJ9qphZONrR0DvLzkdY/WofRpOc9SyaLVbnBXqDC1h/ZIExgurP 0zI1LSIfMA4N0Prhj8wbAPwYJCgttvNZ6KikIdyiUpJXDRlQ5P4AGxaEVOSgay/m3lv2 PcXQ==
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:cc; bh=Rl7cuhGMRBFOJlkKKHTRYRFGrcxLIkhPNGKK1K0Cpb8=; b=KJ5WcdF0Mk5+jDcY6Ie7g3DqPrYU3m9RAcLxVOaZJsCrL5EwlVcpn4/+gbsIFx0IzF b3NbE4L15YNrp6MzBcMkABqVKQ7NQa+wra1XZs0o3GrOmrpyKIZDcezLub8w8t/gsPN2 3xw6tywcEtXz1Ypk5L5tYDHG4+s9HRc4tt690xHNggMzF4e9gN5fjvVJTWafij3tvdaC H71TRfp2spBsLx9SI7z5w7OrRvpfbveAO+j/V2CiBWA05ddh0y4577+zcriOoY/os0n6 RRPGOb+WUkLSBxFcEeCv4Ycy4ugvBJzo9JmwKkxFM4bDfF6MDUrMENPs/fs0To60qlcL L3ew==
X-Gm-Message-State: AOAM530AlMIBl0Sq6GMHeLqC+GoLf1y7sM8Ha5NQZbCqu80TkiedY+Cy Pm88wAz8uwuf3S5WWix7RTcPHie07VIDwjJ9HypakQ==
X-Google-Smtp-Source: ABdhPJwYfvjsr98BUGLSeMO70BrTaOJ4NQ7nPDxsH4LZTdTnPxMc31tSInxwYy8uBOY4tWiJvLrZQ421vDQGJzXWODY=
X-Received: by 2002:a92:d5c5:: with SMTP id d5mr2661116ilq.24.1609904725469; Tue, 05 Jan 2021 19:45:25 -0800 (PST)
MIME-Version: 1.0
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>
In-Reply-To: <F66DA99B-910E-4324-895D-F617B447612F@gmail.com>
From: Ben Schwartz <bemasc@google.com>
Date: Tue, 05 Jan 2021 22:45:14 -0500
Message-ID: <CAHbrMsAqNXENeP2AdkEs7OC+YL6_z9VU89B7mNu3qOFBc7PQ=A@mail.gmail.com>
To: Василий Долматов <vdolmatov@gmail.com>
Cc: Stephen Farrell <stephen.farrell@cs.tcd.ie>, Paul Hoffman <paul.hoffman@icann.org>, Paul Wouters <paul@nohats.ca>, dnsop <dnsop@ietf.org>, Vittorio Bertola <vittorio.bertola=40open-xchange.com@dmarc.ietf.org>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="0000000000004d502705b8332734"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/aT_fGe_JTMe4wIahUROZMF3BKvQ>
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 03:45:29 -0000

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.

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
>