Re: [Uta] Opsdir early review of draft-ietf-uta-rfc6125bis-08

Qin Wu <bill.wu@huawei.com> Sat, 17 December 2022 13:40 UTC

Return-Path: <bill.wu@huawei.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 3A171C1524C1; Sat, 17 Dec 2022 05:40:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham 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 fsi3K3XtZ3Tc; Sat, 17 Dec 2022 05:40:32 -0800 (PST)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6557CC1524B0; Sat, 17 Dec 2022 05:40:32 -0800 (PST)
Received: from lhrpeml100001.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4NZ6TW5TTnz6H728; Sat, 17 Dec 2022 21:37:19 +0800 (CST)
Received: from canpemm100006.china.huawei.com (7.192.104.17) by lhrpeml100001.china.huawei.com (7.191.160.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Sat, 17 Dec 2022 13:40:28 +0000
Received: from canpemm500005.china.huawei.com (7.192.104.229) by canpemm100006.china.huawei.com (7.192.104.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Sat, 17 Dec 2022 21:40:26 +0800
Received: from canpemm500005.china.huawei.com ([7.192.104.229]) by canpemm500005.china.huawei.com ([7.192.104.229]) with mapi id 15.01.2375.034; Sat, 17 Dec 2022 21:40:26 +0800
From: Qin Wu <bill.wu@huawei.com>
To: Peter Saint-Andre <stpeter@stpeter.im>, "ops-dir@ietf.org" <ops-dir@ietf.org>
CC: "draft-ietf-uta-rfc6125bis.all@ietf.org" <draft-ietf-uta-rfc6125bis.all@ietf.org>, "uta@ietf.org" <uta@ietf.org>
Thread-Topic: Opsdir early review of draft-ietf-uta-rfc6125bis-08
Thread-Index: AdkSGqkdwjNkXle3TbSRqfdKJb0rCw==
Date: Sat, 17 Dec 2022 13:40:26 +0000
Message-ID: <fd8b88bcc5d94cd9b33efa2f37b60d68@huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.136.100.16]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/uta/UO7aWf46AOSr-5_aDJx1MPMWryM>
Subject: Re: [Uta] Opsdir early review of draft-ietf-uta-rfc6125bis-08
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: Sat, 17 Dec 2022 13:40:34 -0000

Hi, Peter:
-----邮件原件-----
发件人: Peter Saint-Andre [mailto:stpeter@stpeter.im] 
发送时间: 2022年12月17日 6:51
收件人: Qin Wu <bill.wu@huawei.com>; ops-dir@ietf.org
抄送: draft-ietf-uta-rfc6125bis.all@ietf.org; uta@ietf.org
主题: Re: Opsdir early review of draft-ietf-uta-rfc6125bis-08

Hello and thanks for the early review.

I've provided a few comments inline.

On 12/16/22 4:09 AM, Qin Wu via Datatracker wrote:
> Reviewer: Qin Wu
> Review result: Has Nits
> 
> I have reviewed this document as part of the Operational directorate's 
> ongoing effort to review all IETF documents being processed by the 
> IESG. These comments were written with the intent of improving the 
> operational aspects of the IETF drafts. Comments that are not 
> addressed in last call may be included in AD reviews during the IESG 
> review.  Document editors and WG chairs should treat these comments just like any other last call comments.
> 
> This document specifies procedures for representing and verifying the 
> application services identity in TLS interaction with PKI X.509 certificates.
> 
> I believe this document is well written and ready for publication.
> 
> Major issue:
> No
> 
> Minor issues:
> 1.Section 1.2 Applicability
> s/ cetrificate/certificate

Already noted: 
https://github.com/richsalz/draft-ietf-uta-rfc6125bis/issues/69
[Qin Wu] :Good.
> 2. Delegated domain definition
> “ For example, a server at mail.example.net could be a delegated 
> domain for connecting to an IMAP server hosting an email address of 
> user@example.net. ” I can not parse this sentence, is the server a 
> delegated domain? Which domain is the source domain? Which domain is 
> delegated domain ? please make this clear in the example.

Yes, this could be clearer. In this case the source domain is example.net (i.e., the `domain` portion of the `addr-spec` construct defined in RFC 5322).

[Qin Wu] Thanks for clarification and taking my suggestion. It adds clarity now.
> 3.Section 2 Identifying Application Service What is meaning difference 
> between _direct_ and direct or _indirect_ and indirect? In section 2, 
> sometimes _direct_/_indirect_ is used, sometimes direct/indirect is used.

There is no semantic difference between the two - apparently in 6125bis we added the underscores to indicate a kind of emphasis, but we did not follow that convention in RFC 6125.

[Qin Wu]Okay,  I leave this minor issues to your authors for jurisdiction, I have no strong opinion on this.
> 4.Section 2 said:
> “   We can categorize the three identifier types as follows:
> 
>     *  A DNS-ID is direct and unrestricted.
> 
>     *  An IP-ID is direct and unrestricted.
> 
>     *  An SRV-ID is typically indirect but can be direct, and is
>        restricted.
> 
>     *  A URI-ID is direct and restricted.
> ”
> Three identifier types or four identifier types? My impression is the latter.

There are four - we added IP-ID recently and neglected to update that text.

[Qin Wu] Good.
> 5.Section 2
> s/possibile/possible

Noted.

> 6.Section 3 said:
> “In this case, applications need
>     to be aware that the textual representation of an IPv4 address can
>     appear to be a valid DNS name, though it is not.  ”
> it in the text ‘though it is not’ is referred to digit representation 
> of an
> IPv4 address? Or not?

Because Martin Thomson provided that text, perhaps he can clarify his intent.
[Qin Wu] Okay, I also forget to note that in the following sentences, it said:
"
Note also that by policy, Top-Level Domains ([DNS-TERMS])
   do not start with a digit (TODO: citation needed).
"
I believe "(TODO: citation needed)" needs to be cleaned up with citation added.
> 7.Section 7.1
> I am surprised there is no protection measures to mitigate risk of 
> vouching for rogue or buggy hosts in this document?

It seems to me that methods for mitigating the attacks described in [Defeating-SSL] and [HTTPSbytes] are probably out of scope for this document.

The [HTTPSbytes] attack depends on cross-site scripting, and thus I think that mitigations should be explained in web-specific specifications (e.g., JavaScript, HTML input validation, cookies).

The [Defeating-SSL] attack depends on starting with plaintext HTTP (not
HTTPS) and of course no certificate checking happens over plaintext HTTP. The attack also includes further trickery involving UX differences between U-labels and A-labels as well as confusable characters, but in Section 6.3 we already specify that domains must be checked as A-labels and in Section 7.2 we point to relevant specifications regarding internationalized domain names. These matters are notoriously thorny and difficult to solve, so it's not clear to me how much more we can say. 
Naturally, suggestions are welcome.

[Qin Wu] Thanks for clarification, it looks to me that attack described in [Defeating-SSL] can be solved in the solution proposed in web specific specification while attack described in [HTTPSbytes] can not be solved or fully solved.
If that is the case, why we should quote [Defeating-SSL]? Is [Defeating-SSL] really relevant to this document? Do you assume plaintext HTTP can work with TLS? No?

Peter