[DNSOP] Re: [Ext] Dnsdir last call review of draft-ietf-dnsop-rfc7958bis-03
Petr Špaček <pspacek@isc.org> Fri, 02 August 2024 09:14 UTC
Return-Path: <pspacek@isc.org>
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 17929C151549; Fri, 2 Aug 2024 02:14:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.407
X-Spam-Level:
X-Spam-Status: No, score=-4.407 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_MED=-2.3, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isc.org header.b="TkNCZaqR"; dkim=pass (1024-bit key) header.d=isc.org header.b="ZQvsLYt3"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7q5x67dVZarQ; Fri, 2 Aug 2024 02:14:50 -0700 (PDT)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.2.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 75028C151543; Fri, 2 Aug 2024 02:14:49 -0700 (PDT)
Received: from zimbrang.isc.org (zimbrang.isc.org [149.20.2.31]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx.pao1.isc.org (Postfix) with ESMTPS id E2A623AB287; Fri, 02 Aug 2024 09:14:48 +0000 (UTC)
ARC-Filter: OpenARC Filter v1.0.0 mx.pao1.isc.org E2A623AB287
Authentication-Results: mx.pao1.isc.org; arc=none smtp.remote-ip=149.20.2.31
ARC-Seal: i=1; a=rsa-sha256; d=isc.org; s=ostpay; t=1722590089; cv=none; b=XPxF9dDw0IprcBXZLEwgUDE0+2+5UDOoGKEqOIhhtUOh6BvaWOiClgAy9acb7yB/dDyVIOp2cJdFoqw/wt3trjmYQtFeX4OhLLlfBD7Knn2ZbKoveUy7Q+CvvOuLZv/64NYfwOD1iFSQlVex/MniNkIbcLtKkPzxqMAeyD4FnRE=
ARC-Message-Signature: i=1; a=rsa-sha256; d=isc.org; s=ostpay; t=1722590089; c=relaxed/relaxed; bh=uKccZ3kk5rgguh2FzLIfqv6UtO7ysq/9GKo4Kewp1/o=; h=DKIM-Signature:DKIM-Signature:Message-ID:Date:MIME-Version: Subject:To:From; b=oHplX/ja216fQ1o/5dzkpoJy4MQR8tJ9lx2kTmczbfC/8rZWN3yHNzo1uFmK1VRtDybWiPAQ4TPACU8VGWETidBuBibI0scJN6QTOjqDqoFITACf7NAQ/X9ioxNGesshaAzKlVs1VxCjBhO21xf7hP0XI71lWdy/OPHRy4vUTps=
ARC-Authentication-Results: i=1; mx.pao1.isc.org
DKIM-Filter: OpenDKIM Filter v2.10.3 mx.pao1.isc.org E2A623AB287
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=isc.org; s=ostpay; t=1722590088; bh=AyKQq79MXKk/7GjYzg2i3CL5vr5X/UOUpoV3IRBEa1I=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=TkNCZaqRKTwwqh6cKDs1mNil+o11DrSOpXXYPyLKLxG83WkFVy1V4tAtwWFlYldz9 516Fk/k3ZdKtPVxYSPBD4lMDh8aRkpcnFlFptt4qYVa/p8MKAQxlS8DAHyYvgQgD7X Xk7AVD39XGNg+AIqqMQTHgtip4U6+o77ZCDtHOHs=
Received: from zimbrang.isc.org (localhost.localdomain [127.0.0.1]) by zimbrang.isc.org (Postfix) with ESMTPS id DBFA5B0BB79; Fri, 2 Aug 2024 09:14:48 +0000 (UTC)
Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbrang.isc.org (Postfix) with ESMTP id B76BCB0BB7B; Fri, 2 Aug 2024 09:14:48 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.10.3 zimbrang.isc.org B76BCB0BB7B
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isc.org; s=05DFB016-56A2-11EB-AEC0-15368D323330; t=1722590088; bh=uKccZ3kk5rgguh2FzLIfqv6UtO7ysq/9GKo4Kewp1/o=; h=Message-ID:Date:MIME-Version:To:From; b=ZQvsLYt3M/2dpkEd+EXvrSerm9trmBSGklC7aSqLEGxT+BceUnHjTMZN3qR84bDeR rQqq7gid1I1eIkfQOVY/HvR5YD9Ioq2EjaQhy8Ku6bHf12wlpNVmMppUvyx6HL3mV4 064/MGb5Fd3oJIOYkCjZY8I4zmjawotlh8nfZTZI=
Received: from zimbrang.isc.org ([127.0.0.1]) by localhost (zimbrang.isc.org [127.0.0.1]) (amavis, port 10026) with ESMTP id UmQgFgCMCP2s; Fri, 2 Aug 2024 09:14:48 +0000 (UTC)
Received: from [192.168.0.131] (94-143-239-125.chrudim.cz [94.143.239.125]) by zimbrang.isc.org (Postfix) with ESMTPSA id A7EB8B0BB79; Fri, 2 Aug 2024 09:14:47 +0000 (UTC)
Message-ID: <473d8daf-ca85-4a6c-8e36-2d300c574807@isc.org>
Date: Fri, 02 Aug 2024 11:14:45 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Paul Hoffman <paul.hoffman@icann.org>
References: <172242543510.2137530.14005988379230936314@dt-datatracker-659f84ff76-9wqgv> <C5054E75-79B2-4BDF-BA77-60CEB6479AC2@icann.org> <a8c98c83-9af9-4c0b-baef-199e57abf96b@isc.org> <4B662AEC-B546-4376-9945-F045F4A0B5D4@icann.org>
From: Petr Špaček <pspacek@isc.org>
Content-Language: en-US
Autocrypt: addr=pspacek@isc.org; keydata= xsFNBF/OJ/4BEAC0jP/EShRZtcI9KmzVK4IoD/GEDtcaNEEQzPt05G8xtC0P4uteXUwW8jaB CdcKIKR4eUJw3wdXXScLNlyh0i+gm5mIvKPrBYNAMOGGnkbAmMQOt9Q+TyGeTSSGiAjfvd/N nYg7L/KjVbG0sp6pAWVORMpR0oChHflzKSjvJITCGdpwagxSffU2HeWrLN7ePES6gPbtZ8HY KHUqjWZQsXLkMFw4yj8ZXuGarLwdBMB7V/9YHVkatJPjTsP8ZE723rV18iLiMvBqh4XtReEP 0vGQgiHnLnKs+reDiFy0cSOG0lpUWVGI50znu/gBuZRtTAE0LfMa0oAYaq997Y4k+na6JvHK hhaZMy82cD4YUa/xNnUPMXJjkJOBV4ghz/58GiT32lj4rdccjQO4zlvtjltjp9MTOFbRNI+I FCf9bykANotR+2BzttYKuCcred+Q7+wSDp9FQDdpUOiGnzT8oQukOuqiEh3J8hinHPGhtovH V22D0cU6T/u9mzvYoULhExPvXZglCLEuM0dACtjVsoyDkFVnTTupaPVuORgoW7nyNl0wDrII ILBqUBwzCdhQpYnyARSjx0gWSG1AQBKkk5SHQBqi1RAYC38M59SkpH0IKj+SaZbUJnuqshXh UIbY1GMHbW/GDhz7pNQFFYm2S4OPUBcmh/0O0Osma151/HjF7wARAQABzR9QZXRyIMWgcGHE jWVrIDxwc3BhY2VrQGlzYy5vcmc+wsGXBBMBCABBAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4B AheAAhkBFiEEEVO2++xeDVoSYmDzq9WHzfBlga4FAmWT+REFCQelsxMACgkQq9WHzfBlga7y 2Q//Ug58UI9mlnD/guf9mHqpJIMrBs/vX8HlzylsDcZUBTp2TJpzNh/CygPWrHY+IvA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945-F045F4A0B5D4@icann.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: VJMHU3OIJ6ZCNLZORYL44PQNQHN4VPPV
X-Message-ID-Hash: VJMHU3OIJ6ZCNLZORYL44PQNQHN4VPPV
X-MailFrom: pspacek@isc.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-dnsop.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "dnsdir@ietf.org" <dnsdir@ietf.org>, "dnsop@ietf.org WG" <dnsop@ietf.org>, "draft-ietf-dnsop-rfc7958bis.all@ietf.org" <draft-ietf-dnsop-rfc7958bis.all@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [DNSOP] Re: [Ext] Dnsdir last call review of draft-ietf-dnsop-rfc7958bis-03
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/KU7khi1ZSoZn5cEfS5gqgYRh5Yk>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Owner: <mailto:dnsop-owner@ietf.org>
List-Post: <mailto:dnsop@ietf.org>
List-Subscribe: <mailto:dnsop-join@ietf.org>
List-Unsubscribe: <mailto:dnsop-leave@ietf.org>
On 02. 08. 24 2:41, Paul Hoffman wrote: > On Aug 1, 2024, at 06:37, Petr Špaček <pspacek@isc.org> wrote: >>>>> snip <<< I removed the parts where we understood each other. >> >> On 01. 08. 24 2:28, Paul Hoffman wrote: >>>>> 2.4. Converting from XML to DNSKEY Records >>>>> The published trust anchor does not provide values for DNSKEY protocol or >>>>> flags. For the purpose of this mechanism, clients can assume valid trust >>>>> anchors will be have the ZONE and SEP flag bits set to 1. >>>> I think it is extremely bad idea to ignore fields, especially Flags. There are >>>> various proposals for new DNSKEY flag usage in the DD WG. >>>> >>>> Even if we say that DD WG will go down in flames before it produces anything I >>>> think it's_extremely_ bad idea to omit pieces of information and assume that >>>> client can reliably fill in missing pieces with constants. I would say that the >>>> missing DNSKEY fields really really must be represented explicitly. (E.g. I >>>> don't want to go down the rabbit hole of all REVOKE flag corner cases.) >>> I don't understand how the quoted text suggests that users of the zone file ignore fields or flags. Can you suggest text to fix your concern? >> >> Specifically: >>> clients can assume valid trust anchors will be have the ZONE and SEP flag bits set to 1. >> >> This text ignores all non-{ZONE,SEP} flags. Readers have no instruction about the _other_ flags, and in a hypothetical future, TA can conceivably have one or more of these extra flags set. E.g. a new flag for DELEG downgrade resistance which is under discussion in the DD WG. Will we need update the format again? (I think that would be wrong.) >> >> I think absence of explicit Flags field is unnecessary shortcut which will just bite us down the road (or force document & software update). > > I'm still not understanding the need here. The flags are included in the calculation for the DS record, which is mandatory in the file format. Here are two examples where missing Flags cause trouble: Example 1. Imagine that one of the historical TAs will get revoked. Revocation sets REVOKE bit=1, along with a validUntil date set to the past. Now the current format would contain DS hash which does not match the reconstructed DNSKEY RR. Standardizing a format which by definition leads to internally inconsistent data fields sounds like a had idea to me. Example 2. Non-REVOKEd flag - based on draft-ietf-dnsop-delegation-only-02.txt: Say that a future TA has DNSKEY flags ZONE + SEP + DELEGATION_ONLY set to 1. Such TA cannot be represented correctly as DNSKEY using the proposed format because the proposal assumes only ZONE + SEP bits are ever set to 1. Again, DS hash and the reconstructed DNSKEY would not match. In other words, the current proposed format ossifies DNSKEY flags for TAs. >> My proposal is to do one of: >> a) get rid of PublicKey element completely (see below) >> b) include explicit XML element with Flags - and when we are at it we can add Protocol element as well for completeness. >> >>>> On high level I also find confusing that the new element is optional - that >>>> makes it unreliable for consumers because there are no rules for when it might >>>> or might not be present. >>> It is optional because some signing mechanisms don't automatically generate DNSKEY values. For example, the current trust anchor file only has the DS of KSK-2024 because IANA needs to make a software change to get the DNSKEY (which it will do in a few months). Other HSMs might be similar. A DS has always been sufficient; a DNSKEY would be an upgrade, but is not necessary. >> >> A trust anchor with nonexistent DNSKEY representation is not usable in DNSSEC because nobody can validate signatures made with it, is that correct? If so, why such keys need to be represented in this format? >> >> An alternative angle: >> Why is the new PublicKey element even needed? There's no guarantee it will be ever present which makes it unusable - no software can _rely_ on it's presence. I.e. it does not seem useful while it introduces new nasty corner cases. >> >> Or yet another wording of the same problem: >> Under what conditions software reading file in this format _needs_ the PublicKey element and cannot do with the mandatory fields? > > Some software vendors complained that they needed the full DNSKEY for the trust anchors. They could not use the file: they had to wait for the DNSKEY records to appear in the root zone. At least one of those vendors scraped the ceremony materials to find the DNSKEY to use as their trust anchor before the record appeared in the root zone. Fair enough, I can imagine that. But then the question is: Why is the field _optional_ (besides problem with missing Flags)? That renders the proposed format potentially unusable (or at least unreliable) for the software which cannot work with DS only. >> I find >>> It can be useful when IANA has a trust anchor that has not yet been published in the DNS root. >> too vague to justify that we need the _optional_ PublicKey element which might or might not be present, with and all the trouble it adds. > > That might be true for your own implementation, but it was requested and accepted by the WG. Or maybe it was just an oversight? dnsop archives here: https://mailarchive.ietf.org/arch/browse/dnsop/?q=rfc7958bis%20publickey do not show any discussion of publicKey element _semantics_, or it's purpose, or when and why it should be present. Perhaps my dnsop filter is incomplete and there was a discussion I could not find? >>>> Also there are no rules for what to do when reconstructed DS and DNSKEY don't >>>> match - which can totally happen given the half-representation we have in the >>>> current version. >>> Fully agree; we will add words to say in such a case the specific key should not be trusted. >>>> Is there implementation experience with the new format? What was the >>>> implementer feedback? >>> We have heard informally that some implementers have added the new features with no problems, but they obviously can't test it until there is a new trust anchor file from IANA, and that's waiting on the standard to be published. >> >> Surely it can be tested with mock keys. >> >> Is there some feedback about PublicKey field usage? Under what conditions it is needed? >> >> aka "RFC 1925 Truth (12)". -- Petr Špaček Internet Systems Consortium
- [DNSOP] Dnsdir last call review of draft-ietf-dns… Petr Špaček via Datatracker
- [DNSOP] Re: [Ext] Dnsdir last call review of draf… Paul Hoffman
- [DNSOP] Re: [Ext] Dnsdir last call review of draf… Joe Abley
- [DNSOP] Re: [Ext] Dnsdir last call review of draf… Petr Špaček
- [DNSOP] Re: [Ext] Dnsdir last call review of draf… Paul Hoffman
- [DNSOP] Re: [Ext] Dnsdir last call review of draf… Paul Hoffman
- [DNSOP] Re: [Ext] Dnsdir last call review of draf… Joe Abley
- [DNSOP] Re: [Ext] Dnsdir last call review of draf… Petr Špaček
- [DNSOP] Re: [Ext] Dnsdir last call review of draf… Paul Hoffman
- [DNSOP] Re: [Ext] Dnsdir last call review of draf… Petr Špaček