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

Василий Долматов <vdolmatov@gmail.com> Wed, 06 January 2021 12:42 UTC

Return-Path: <vdolmatov@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 6B31A3A0803 for <dnsop@ietfa.amsl.com>; Wed, 6 Jan 2021 04:42:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.597
X-Spam-Level:
X-Spam-Status: No, score=-0.597 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_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 SBO8vkEYcCe8 for <dnsop@ietfa.amsl.com>; Wed, 6 Jan 2021 04:42:46 -0800 (PST)
Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (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 E313A3A07EA for <dnsop@ietf.org>; Wed, 6 Jan 2021 04:42:45 -0800 (PST)
Received: by mail-lf1-x131.google.com with SMTP id y19so6068445lfa.13 for <dnsop@ietf.org>; Wed, 06 Jan 2021 04:42:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=gCvCoBKwuAGUODr23Ny8e2ykxcVx/435Yt/28PdwUsY=; b=e6cxAGZ+gr8BbX0yslArI5XZonA/hkxLzqspX9KxEK7V/qfSYTX25momv09QFXLVBW l31J+DKvsLTgNnyMDkEW0oNoU/1o7Na2pxS9+ZWO5iTmIALplm3SAp8NdVdGRTYW1ADA zGW+2flxdkRit2i+IXycticawZXgCPt3QV1VQP+Chg80tVWQc5tkkyGJWVkqu6fkiLqz pGcwxaeXqDTrr951oRhdK8bGC97eWdLju6D3TfCTwlvZmFp/qJR4l5PxmF1VkMi6RwtA +5sjxGI/DoRBLNOtufhYS2073pO0NGaX+mu2YbX3pXiiqrDU+hkl7gu/x3ykajf7yxiX pVkQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=gCvCoBKwuAGUODr23Ny8e2ykxcVx/435Yt/28PdwUsY=; b=f1v/m8ZLrFVUwd+bht18GoDBZ+H5L6QE7QfQBsS0DHYnscRJCAUANGoSkdw03VA7yz FKcwY/BN/hqiphwoAp7tw6gLOjIl9Tdv2qhKvWG2u1bRL4rSu5fovTzQurJ8gjh7PWxk 4kDR1sbATRibx9XeHM2ixT0DMKc069sHJq37WW2kDVIe/eH89MjmejdSZkfCBYVdQqDY 0apwijPbgymyXpv+JuQgE2wxvp22Mc5llKXTRVqCKzrDo56dJvsARrgho7aKx0I8bEYa FNMQNdlFhWSjf6hnnQEX+R9YbgdItzcIGPMl/KmFb/J345ZtIpXXLdATtXOAU8OVC6ft p+YA==
X-Gm-Message-State: AOAM532dHK32ane4Y+6QOc44Q2LmLv43PiyVwtF73MGCyO86qEJ6Yo4P 9rqmXfjYCtey3OgLOmGueJA=
X-Google-Smtp-Source: ABdhPJxWwcJ3IMWm55TvWRJwDCc3IwG7e577UtNdIfNgvUCjFoVXpyRCDG4f0Q23DUhbu9ORsc6KVA==
X-Received: by 2002:ac2:446d:: with SMTP id y13mr1689265lfl.615.1609936964032; Wed, 06 Jan 2021 04:42:44 -0800 (PST)
Received: from [192.168.1.104] ([213.87.128.57]) by smtp.gmail.com with ESMTPSA id a15sm335582lfr.68.2021.01.06.04.42.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Jan 2021 04:42:42 -0800 (PST)
From: Василий Долматов <vdolmatov@gmail.com>
Message-Id: <BE93A81B-13A6-4B76-BF23-3B8E135C5649@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_30DF69C2-883F-47FA-8750-C8AE6303A7EA"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
Date: Wed, 06 Jan 2021 15:42:40 +0300
In-Reply-To: <CAHbrMsAqNXENeP2AdkEs7OC+YL6_z9VU89B7mNu3qOFBc7PQ=A@mail.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>
To: Ben Schwartz <bemasc@google.com>
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>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/KDLG-TIuW4fc9TmCM4IPWb6XiB0>
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 12:42:49 -0000


> 6 янв. 2021 г., в 06:45, Ben Schwartz <bemasc@google.com> написал(а):
> 
> 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?

I think it is a different problem which should be addressed separately.

As I have already mentioned the checks performed made clear that current DNSSEC design has no issues with algorithms switch along validation path. So, there is no need to place several different signatures in one record.
Nevertheless, the possibility of doing that exists and someone could do it.
In that case the problem you mentioned arises and should be considered, I reiterate outside of the scope of current document discussion. Maybe it is worth to submit I-D with proposals how to handle this very special case.

dol@
> 
> 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 <mailto:vdolmatov@gmail.com>> wrote:
> 
> 
> > 4 янв. 2021 г., в 19:20, Stephen Farrell <stephen.farrell@cs.tcd.ie <mailto: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 <mailto:DNSOP@ietf.org>
> > https://www.ietf.org/mailman/listinfo/dnsop <https://www.ietf.org/mailman/listinfo/dnsop>
> 
> _______________________________________________
> DNSOP mailing list
> DNSOP@ietf.org <mailto:DNSOP@ietf.org>
> https://www.ietf.org/mailman/listinfo/dnsop <https://www.ietf.org/mailman/listinfo/dnsop>