Re: [Uta] Éric Vyncke's No Objection on draft-ietf-uta-rfc6125bis-14: (with COMMENT)

Erik Nygren <erik+ietf@nygren.org> Wed, 02 August 2023 20:26 UTC

Return-Path: <nygren@gmail.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E67E9C15155F; Wed, 2 Aug 2023 13:26:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.406
X-Spam-Level:
X-Spam-Status: No, score=-1.406 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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=no autolearn_force=no
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 mwQk2zRzGIms; Wed, 2 Aug 2023 13:26:25 -0700 (PDT)
Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 153E0C14F748; Wed, 2 Aug 2023 13:26:25 -0700 (PDT)
Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-317c1845a07so85461f8f.2; Wed, 02 Aug 2023 13:26:24 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691007983; x=1691612783; h=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=SwPZRrhLR7cbTrY4axvWdjSAdyGcGMfouYlek5/0rUs=; b=C6rZIM+gQ9l5wcxMIAAemDDxZyfbRUqEq9A21Ubk+qh5Q2gCAiJaWpLlPW/stfinue VDPOXbPZIbWyJagHroTSUF5E/khVJ30loAxGqqeYrX7QukeZjCjNUDBtop9uxzaolj3u w7CIzr9s8MkaaW8wToXK0RggiWzWZMegNfb+rVzsYivpI9dc0zRtPaakdep9C1mEYeWl qOVcwHL2QCt+bF7lVr4P4RRQBnZKGWpun8zHUXYiNyGPFrbJPPf0zYSd9O9vvUMC2m4x 4gSf1SlFoZhdUWLeRi+4x2VpzJnz7pdLCU0NYWkkZfOcnpiaERRx19x458B7+JlIC72A /0pQ==
X-Gm-Message-State: ABy/qLayxK2/Nw15HzERQSICoh8CayWfkbYNY94pJRu8lx1oLVUF71tL cZSkmjm+7eEpyO0KwA6gOafzTLwmd9mqNvxoFS/fpIWHbPQ=
X-Google-Smtp-Source: APBJJlFFe3IjB63kxROVv+gWAF4dcQ8Wj8yrV6o+t0Dsu8ys7y1tzb3AJ0RlPIQapMPqTtFfQRL95lzS/E5mNclxHmw=
X-Received: by 2002:adf:e5cc:0:b0:317:43de:4c0a with SMTP id a12-20020adfe5cc000000b0031743de4c0amr6002188wrn.20.1691007983253; Wed, 02 Aug 2023 13:26:23 -0700 (PDT)
MIME-Version: 1.0
References: <169095311455.35305.4947745650893038277@ietfa.amsl.com> <C348BAA0-178B-4B02-8D5A-9371A22D70BA@akamai.com> <51F6F1DB-8136-4263-B1FC-AA1268B8928B@cisco.com>
In-Reply-To: <51F6F1DB-8136-4263-B1FC-AA1268B8928B@cisco.com>
From: Erik Nygren <erik+ietf@nygren.org>
Date: Wed, 02 Aug 2023 13:26:11 -0700
Message-ID: <CAKC-DJg3yOv0-KGtOjubQk0sng2Ukv=9pyCVW+HSiL6xiGGLVA@mail.gmail.com>
To: "Eric Vyncke (evyncke)" <evyncke@cisco.com>
Cc: "Salz, Rich" <rsalz@akamai.com>, The IESG <iesg@ietf.org>, "draft-ietf-uta-rfc6125bis@ietf.org" <draft-ietf-uta-rfc6125bis@ietf.org>, "uta-chairs@ietf.org" <uta-chairs@ietf.org>, "uta@ietf.org" <uta@ietf.org>, "orie@transmute.industries" <orie@transmute.industries>, "draft-ietf-dnsop-svcb-https@ietf.org" <draft-ietf-dnsop-svcb-https@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000277f740601f67af3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/uta/y2yeZvsL3F5lyNv_nGsth3ULX-g>
Subject: Re: [Uta] Éric Vyncke's No Objection on draft-ietf-uta-rfc6125bis-14: (with COMMENT)
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Aug 2023 20:26:29 -0000

In going through the draft to look at it from a SVCB perspective, a few
things jumped out at me, most of which are minor.
This is past LC so perhaps too late, but sending here as well in-case the
WG or others think any need addressing.
(I opened https://github.com/richsalz/draft-ietf-uta-rfc6125bis/issues/101
to track but realize it may be too late.)


   1. On DNS names starting with Labels:

> historically this rule was also intended to apply to all labels in a
domain name (see Section 2.3.1
<https://rfc-editor.org/rfc/rfc1035#section-2.3.1> of [DNS-NAMES
<https://www.rfc-editor.org/rfc/rfc1035>]), although that is not always the
case in practice.

This should probably be more clear that domain names are explicitly allowed
to start with digits. As per
https://datatracker.ietf.org/doc/html/rfc1123#section-2.1 and
https://datatracker.ietf.org/doc/html/rfc2181#section-11 clearly update
this. For example from the former clearly states:
"One aspect of host name syntax is hereby changed: the restriction on the
first character is relaxed to allow either a letter or a digit. Host
software MUST support this more liberal syntax"

   1. On the Web example:

> Consider a simple website at www.example.com, which is not discoverable
via DNS SRV lookups. Because HTTP does not specify the use of URIs in
server certificates, a certificate for this service might include only a
DNS-ID of www.example.com.
> Consider the same website, which is reachable by a fixed IP address of
2001:db8::5c. The certificate might include this value in an IP-ID to allow
clients to use the fixed IP address as a reference identity.

This would not be the same "website". In particular, the web origin
(rfc6454) is the tuple of scheme, authority, and port. Since the authority
is different (ie, the IP vs the hostname) they would be distinct. If we're
going to include this example, we should be clear that
https://www.example.com/ and https://[2001:db8::5c]/ might be multi-tenant
on the same server but are different web origins (ie, different
"websites")examples so we always have both?)

   1.

   Clarification on IP address matching

> For an IP address that appears in a URI-ID, the "host" component of both
the reference identity and the presented identifier must match. These are
parsed as either an "IP-literal" (following [IPv6
<https://www.rfc-editor.org/rfc/rfc4291>]) or an "IPv4address" (following [
IPv4 <https://www.rfc-editor.org/rfc/rfc791>]). If the resulting octets are
equal, the IP address matches.

In the IPv6 case, it may be better to reference
https://datatracker.ietf.org/doc/html/rfc3986 section 3.2.2 since what is
being matched isn't "IP-literal" (which is in square brackets) per the
below ABNF but the address inside those brackets:

  IP-literal = "[" ( IPv6address / IPvFuture  ) "]"

There is also the case of https://www.rfc-editor.org/rfc/rfc6874 (which
allows zoneids) but since the zoneid has host scope it makes no sense for
it to be included in how certs are verified. (But perhaps there should be a
requirement that the IPv6 IP-ID address NOT be LinkLocal?)


On Wed, Aug 2, 2023 at 7:25 AM Eric Vyncke (evyncke) <evyncke@cisco.com>
wrote:

> Thank you, Rich, for the prompt action
>
> -éric
>
> On 02/08/2023, 15:59, "Salz, Rich" <rsalz@akamai.com <mailto:
> rsalz@akamai.com>> wrote:
>
>
> Thanks for the feedback.
>
>
> The SVCB issue is recorded in
> https://github.com/richsalz/draft-ietf-uta-rfc6125bis/issues/98 <
> https://github.com/richsalz/draft-ietf-uta-rfc6125bis/issues/98>
>
>
> The other minor comments are recorded in
> https://github.com/richsalz/draft-ietf-uta-rfc6125bis/issues/99 <
> https://github.com/richsalz/draft-ietf-uta-rfc6125bis/issues/99>
>
>
>
>
>
>