Re: [dnsext] Draft: RRTYPE B - Web Resource Integrity

James Addison <james@reciperadar.com> Thu, 16 November 2023 11:09 UTC

Return-Path: <james@reciperadar.com>
X-Original-To: dnsext@ietfa.amsl.com
Delivered-To: dnsext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 87A51C14F75F for <dnsext@ietfa.amsl.com>; Thu, 16 Nov 2023 03:09:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=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 (2048-bit key) header.d=reciperadar.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 GH33EWjNqV8Y for <dnsext@ietfa.amsl.com>; Thu, 16 Nov 2023 03:09:48 -0800 (PST)
Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4EE00C14F5E0 for <dnsext@ietf.org>; Thu, 16 Nov 2023 03:09:48 -0800 (PST)
Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-da37522a363so638045276.0 for <dnsext@ietf.org>; Thu, 16 Nov 2023 03:09:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reciperadar.com; s=google; t=1700132987; x=1700737787; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1Tzk6Z4Pi2l6FTWDOpqed+kT7D80JedOw4eu/a+wxUE=; b=LBTTL2ILXdQGUSm2GKEsOH2aoV1WuuBYR9Cv+zwaAeMcD+EPg6be/I+nzgPsdd7XqW Tv7rO9tu05aNoUmNq2GDOgblOgQdukTTqyp5kO8K17w8HBYS/qJpPl1ILBRnj5Nq5/C4 ZKwLdcX5OR7QgLxLZriXH8FIsA/1duhbXJZoeXPbNw0gwPsKYDZoDW8eniy1c3XoAMjW 7z/XkWmRub0cEv9mO0AlmrrJdye2Tgc4JiDXbFQPeXBxzRQaaMYm3vzX5NsCsgkIvUNG ZBf0I/2fJfS3duS5CeEuExsBDuB11aKlMrzp5jZhZaRmrl33rfPxAHQUfe0iyNhaknC1 GHvQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700132987; x=1700737787; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1Tzk6Z4Pi2l6FTWDOpqed+kT7D80JedOw4eu/a+wxUE=; b=dGTKJHl4p4+q7VEA2SHPvjUSGNmTfqYFYa9BeGmR1KHX1/YJMXLrV3BkHDd0g44okG 9OKRIanJcbC3OnC5TwErYI23rDSP1xKecu8aOvPTTAab2sanVkjByAYEwKUeXOn0o0fA lfftOSt6r2mBYwn41GqTH8w35YPGBvvDc+oMS0c8PnAjfc7ial7SSXjwR0aADfS1n0/I M4tGpneeZEgY4oY3xhOzcQEktiSIXRQJxanKYW39+qkMrOr/8RcWFQrnLF5cjRnIHNOE 9PJRojmOz9Mr+vqCCmuyZ/cKwWKRKiKy1okrR+LBofMSzvej9ulynH379uvF0lF7g6GF qPog==
X-Gm-Message-State: AOJu0YzgJ7Yb3Snl9kh3UG7smnamjbQUF4ixnWGS8EXpkFCP7j8spzX0 xQtt0AAk5khae41bJ8k/7fDigIZxArcrqEICOm5WyA==
X-Google-Smtp-Source: AGHT+IEqxCiesRS45Ugqb2BgqnJ/EutpdyDOw5rxLCml2sFt1ppCbAE9TAFrfVexSpy1jL8PvwN/4QuzqW9Ps/QeWmc=
X-Received: by 2002:a0d:cd86:0:b0:5a7:af0c:bf97 with SMTP id p128-20020a0dcd86000000b005a7af0cbf97mr16494884ywd.6.1700132986780; Thu, 16 Nov 2023 03:09:46 -0800 (PST)
MIME-Version: 1.0
References: <CAF3AkiPt98c5By3M1qY=31qW4ESV9_TF7bzH+wdqz2iqzBB+6w@mail.gmail.com> <D28C0BB5-6788-4CDA-9A7F-8BDD5C113A15@ucd.ie>
In-Reply-To: <D28C0BB5-6788-4CDA-9A7F-8BDD5C113A15@ucd.ie>
From: James Addison <james@reciperadar.com>
Date: Thu, 16 Nov 2023 11:09:39 +0000
Message-ID: <CAF3AkiPF9apuZWxmgzh2s7eMTzCcFXODO7sSazsd4Y-sT8Z+gg@mail.gmail.com>
To: Niall O'Reilly <niall.oreilly@ucd.ie>
Cc: dnsext@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsext/vCMmPd3wGBxc4UpnfchQLhgNQ_8>
Subject: Re: [dnsext] Draft: RRTYPE B - Web Resource Integrity
X-BeenThere: dnsext@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: DNS Extensions working group discussion list <dnsext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsext>, <mailto:dnsext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsext/>
List-Post: <mailto:dnsext@ietf.org>
List-Help: <mailto:dnsext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Nov 2023 11:09:52 -0000

On Thu, Nov 16, 2023 at 8:15 AM Niall O'Reilly <niall.oreilly@ucd.ie> wrote:
>
> On 14 Nov 2023, at 17:36, James Addison wrote:
>
> > The proposal here is to add a DNS B record type, to be used to publish
> > integrity metadata for the root index URI of a website on a given
> > domain record.
>
> I wonder whether the existing HTTPS RR (RFC 9460), with an additional
> SvcParam definition, wouldn't satisfy the use case.  If not, I suggest
> mentioning it, and the reasons for its unsuitability, in making the case
> for the proposed B RR.

Thank you Niall - yes, from a read of RFC 9460, it does seem like a
SvcParamKey could be a good way to handle this use case, that's
helpful.  I've taken a look at the IANA registry of existing service
bindings[1] to confirm that no such binding has been added so far.

Note: there is one potential conflict from this use case that I'm
aware of -- this use case is intended to cover both plaintext HTTP and
encrypted HTTPS web requests.  Section 9.5 of RFC 9460 as I interpret
it so far seems to require that the client upgrade to TLS/HTTPS for
web requests.

In any case: I'll do some more reading and will contact the authors.

> HTTPS and SVCB RR types are already supported in a number of DNS codes,
> and I understand that browsers (in order to support Encrypted Client Hello)
> will include this support shortly.  Building on this existing work may
> be advantageous.

+1

[1] - https://www.iana.org/assignments/dns-svcb/dns-svcb.xhtml#dns-svcparamkeys