[DNSOP] Re: [Ext] Request: Review changes - draft-ietf-dnsop-rfc7958bis-03 → 04.
Michael StJohns <msj@nthpermutation.com> Thu, 15 August 2024 15:12 UTC
Return-Path: <msj@nthpermutation.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 A30EBC14CEE4 for <dnsop@ietfa.amsl.com>; Thu, 15 Aug 2024 08:12:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.907
X-Spam-Level:
X-Spam-Status: No, score=-1.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=nthpermutation-com.20230601.gappssmtp.com
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 nWCYhTX2DWSW for <dnsop@ietfa.amsl.com>; Thu, 15 Aug 2024 08:12:31 -0700 (PDT)
Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3B79C14CF12 for <dnsop@ietf.org>; Thu, 15 Aug 2024 08:12:30 -0700 (PDT)
Received: by mail-qk1-x72b.google.com with SMTP id af79cd13be357-7a1d984ed52so66559285a.0 for <dnsop@ietf.org>; Thu, 15 Aug 2024 08:12:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nthpermutation-com.20230601.gappssmtp.com; s=20230601; t=1723734750; x=1724339550; darn=ietf.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=9zVJ4BD9207AYvXzWzxBrOVouNfdcXpIzV59OALNksk=; b=hghs3ZUFH731SrLnrhTklD719zEW5GSqhskcIUPqggBN21de0DXQ7tvxr0l0OHPOwW 4XMBMHeKvRyETTt5Bw3NUiAQBtX6aJUVoCynfKUlalLQ+h99xX+MwCv4VhxZ3pusRvRD VjF3s0f2VlIZsVPFjx006XX4n2pdey7wXNMLA4SNtKWwpTyQhOCMT4abi36yXV2l5DcQ J9P+WwYAebMgCyVNOO9TfH5IbTbSpvEGnS7Y3IjyBQTTR3MxGmeWdpFS3FQ6mKJCMz9w yrufyC0NYxRnEz2cXfFNEmnp3v/fUY40YxsFUWaRSyTbgcH2vYbRP4JYCaqhMceFPu/l uSOw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723734750; x=1724339550; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9zVJ4BD9207AYvXzWzxBrOVouNfdcXpIzV59OALNksk=; b=muxsVIzruzFaHCR/5RVN+p9zRtkNMbbOqcLgwSqP7EndNsAy3MZpUcH8BHFtjS9iqb FrXVOeWwWmZiiTw1N1n+pYt5oTsnJUywQ2dG33dJg85TES9HgmAYotGOoYLH28lReeWk heUrVv901KlLaoGIFXPrhjcq8tdowzU9OY8fei29jwFZ2Q5xyjPVhrBYmIMRESMnffZw WhFTUvj8pW9zgoB+lWyqNIOXyQUb6GrL42E2MrF+QNbFzbDaIYlB4ZI5zO88QmgUuYn+ PmkCQ/XC72g/KVQlX8SAVGuPm8PU2/H7l0Z+C3LLVdpehC0XUAgRtB6xx82Vu2A1Jou8 WY5w==
X-Gm-Message-State: AOJu0YxNCkrTLQQYhPEXDYJiKfUI4fG6PyTfekm1RBu8G4ZMhO04aQql NujGPA3jCgOAh3NCdHClXIvvqtIzwRArMmoW9Xtz/vRrlvi3V3UIO70kR777de0f5ua9/XE6Wie l
X-Google-Smtp-Source: AGHT+IH+pVzrYyH072cBQgDdXDRc2DywD5z8c5utKT2XTolabaqpOrBXxHWVUehVFrsF3t27Wyx46w==
X-Received: by 2002:a05:620a:24c8:b0:79d:7423:d040 with SMTP id af79cd13be357-7a4ee3b60f3mr624552285a.54.1723734749676; Thu, 15 Aug 2024 08:12:29 -0700 (PDT)
Received: from [192.168.1.23] (pool-108-31-156-76.washdc.fios.verizon.net. [108.31.156.76]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7a4ff06ac7csm70342285a.55.2024.08.15.08.12.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Aug 2024 08:12:29 -0700 (PDT)
Message-ID: <3ddce3c1-3332-4cfa-b153-7bd33fdc610f@nthpermutation.com>
Date: Thu, 15 Aug 2024 11:12:26 -0400
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: Peter Thomassen <peter@desec.io>, Paul Hoffman <paul.hoffman@icann.org>
References: <CAHw9_iL-ZwwA_pckR+=7SndOvqjfcNX9FjZ9Bim24uSYgTxkyw@mail.gmail.com> <98896B9D-259E-4E46-8DC7-E873D8B25F55@icann.org> <d9aed09d-b1c8-4ba1-9d4e-e83d504bfe40@nthpermutation.com> <65A596AD-1A4F-400A-9404-E2D60A54BE66@icann.org> <36118f44-d18d-443b-8aa8-007b8b62db3f@nthpermutation.com> <fdd97a8f-7786-4098-b044-f7c9ae728284@desec.io>
From: Michael StJohns <msj@nthpermutation.com>
In-Reply-To: <fdd97a8f-7786-4098-b044-f7c9ae728284@desec.io>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Message-ID-Hash: KGUYGJOJFXYIOSXQITNX6I7LXD6EIF25
X-Message-ID-Hash: KGUYGJOJFXYIOSXQITNX6I7LXD6EIF25
X-MailFrom: msj@nthpermutation.com
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: "dnsop@ietf.org" <dnsop@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [DNSOP] Re: [Ext] Request: Review changes - draft-ietf-dnsop-rfc7958bis-03 → 04.
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/851pfs8YwSn84msM45E_eyGJh2M>
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>
Hi Peter - continues below. On 8/15/2024 5:41 AM, Peter Thomassen wrote: > Hi Mike, > > On 8/10/24 17:21, Michael StJohns wrote: >> Paul - this is related directly to the newly specified inclusion of >> the public key material in this draft (sect 3.2 last para): >> >>> A KeyDigest element can contain both a Digest and a publickeyinfo >>> named pattern. If the Digest element would not be a proper DS >>> record >>> for a DNSKEY record represented by the publickeyinfo named pattern, >>> relying parties MUST NOT use that KeyDigest as a trust anchor. >> >> Prior to this there was no check on the correctness of the offered >> digest, except that a smart relying party could have looked at the >> published keys and tried to find a match. After this is published as >> an RFC, the relying part mostly only needs to look at the public key >> data in the file if it exists and not worry about whether it was >> published. This is not "unchanged from RFC 7958" IMO. Finally, >> reading this, why wouldn't you explicitly specify that the hash >> needs to be (e.g. MUST be) verified against either a live >> (published) key or the included public key? > > The check of the Digest element vs. the publickeyinfo is a consistency > check within the XML, because the data structure does not allow ruling > out inconsistencies. > > Checking the Digest element against a key published elsewhere (e.g. in > the root zone) is "out of band", and retrieving that key and relying > on the outcome of the check would actually require trusting the > retrieval method. That's why I think this is not a plausible way of > checking the trust anchor; it's a catch-22 instead. A digest element by itself could be wrong - mis-transcribed, wrong version copied etc. E.g. Garbage in Garbage out. Checking the digest against either an included public key (which - at least for EC - may be checked for internal consistency), or a key already being published via DNS gives you an additional measure of validation. The latter was possible with RFC7958, the former has been added for this version of the document. XML may not allow for the ruling out of inconsistencies, but the program installing the XML-derived data into the local DNSSEC trust anchor store certainly ought to. Mike > > Best, > Peter >
- [DNSOP] Request: Review changes - draft-ietf-dnso… Warren Kumari
- [DNSOP] Re: [Ext] Request: Review changes - draft… Paul Hoffman
- [DNSOP] Re: [Ext] Request: Review changes - draft… Michael StJohns
- [DNSOP] Re: [Ext] Request: Review changes - draft… Paul Hoffman
- [DNSOP] Re: [Ext] Request: Review changes - draft… Michael StJohns
- [DNSOP] Re: [Ext] Request: Review changes - draft… Petr Špaček
- [DNSOP] Re: [Ext] Request: Review changes - draft… Michael StJohns
- [DNSOP] Re: [Ext] Request: Review changes - draft… Peter Thomassen
- [DNSOP] Re: [Ext] Request: Review changes - draft… Michael StJohns
- [DNSOP] Re: [Ext] Request: Review changes - draft… Paul Hoffman
- [DNSOP] Re: [Ext] Request: Review changes - draft… Michael StJohns
- [DNSOP] Re: [Ext] Request: Review changes - draft… Edward Lewis
- [DNSOP] Re: [Ext] Request: Review changes - draft… Michael StJohns
- [DNSOP] Re: [Ext] Request: Review changes - draft… Warren Kumari
- [DNSOP] Re: [Ext] Request: Review changes - draft… Michael StJohns
- [DNSOP] Re: [Ext] Request: Review changes - draft… Edward Lewis
- [DNSOP] Re: [Ext] Request: Review changes - draft… Petr Špaček
- [DNSOP] Re: [Ext] Request: Review changes - draft… Warren Kumari
- [DNSOP] Re: [Ext] Request: Review changes - draft… Paul Hoffman
- [DNSOP] Re: [Ext] Request: Review changes - draft… Michael StJohns
- [DNSOP] Re: [Ext] Request: Review changes - draft… Warren Kumari
- [DNSOP] Re: [Ext] Request: Review changes - draft… Michael StJohns
- [DNSOP] Re: [Ext] Request: Review changes - draft… Petr Špaček
- [DNSOP] Re: Request: Review changes - draft-ietf-… Andres Pavez
- [DNSOP] Re: [Ext] Re: Request: Review changes - d… Paul Hoffman