Re: [core] WG Last Call on draft-ietf-core-href-13

Marco Tiloca <marco.tiloca@ri.se> Thu, 20 July 2023 21:20 UTC

Return-Path: <marco.tiloca@ri.se>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DF9B9C151086 for <core@ietfa.amsl.com>; Thu, 20 Jul 2023 14:20:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, HTML_MESSAGE=0.001, NICE_REPLY_A=-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, 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=ri.se
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 lvIdQPbOy1tc for <core@ietfa.amsl.com>; Thu, 20 Jul 2023 14:20:07 -0700 (PDT)
Received: from MM0P280CU005.outbound.protection.outlook.com (mail-swedensouthazon11011012.outbound.protection.outlook.com [52.101.76.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 68394C14CE24 for <core@ietf.org>; Thu, 20 Jul 2023 14:20:06 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ebkvw5cPLCTHasl/cpxqDkYJEC1o8cREnI404FxVFK2ONwI2iuu7YhDSrsNrwVgHVV3vHH4p3rr0E3seT8tokPyN9MlJ22OYYWz7NY6JZXLIt+ziido69wX4xSKBV/20sc0izyUdMepc2IjvHwi0hgK0GedB+0eD1s0y3EeZPS30731KNZvjCzJQpbF1p6HyJp7EPBn9vBe1/BoVsikWDPh5y+GUChzhBrwW95v6Y5lZl+RR4nTnhwlQBbnIuvtArXMNAkJYinjmg2Xt6VwyDg0Qy+zLOzCn99K1aSpNkTtP1CFZ5He2Op7qSMeeOx4me/+VSL5cnGXh0L1ZniqDTA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=d9/h8vqLT3JJ0tzie3p3AAi2StYQ36VPczBfTyjjrFM=; b=EapYL0AVj0ZF32Qnwwzp7QjN70/WVCkxrFmu/O/dlxvoLgRl7u2wQ2y5JVTrHyQ4r8yEgecuqEAs69jic5LRCT+39a7nOwfoeRuKebO+WuY2RnMsNbsoOmOCRn2XFHYft02Kc8reiWUV7tu8HtqidOAWMA0ddnSj2TXFitbjuwCnebqD/QlMNXJwfzE7UMs5YLX9KOiPeft5SSO/xlSwAs2y4/bD+u3YE0Dwl6CZF9A5MKUut8VLCi6kL13w2YFv98KNHma+glNzPc2+nUNmQwF+qcECgZCcSAC5AFohrTdYZ3VxxFflFyoez44OXmAw5Pe/A9hVXkV2GXtg5dC0Bg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ri.se; dmarc=pass action=none header.from=ri.se; dkim=pass header.d=ri.se; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ri.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=d9/h8vqLT3JJ0tzie3p3AAi2StYQ36VPczBfTyjjrFM=; b=Ql6TzI0UnlSAwtpj6L9j5dRAFQBzpj39qjssYEqGkMc1G75cmOHwfsW1ufzEFRMKfGe8O7c1pssNmmZ0+aJEU91ugPF2xDArx+70W3yt2yDHglZcy79GUswVhexa5oCg3t/SJos7YPIOa9X4JdZi7sT9Nfr1YylnSA6p4HIhkoM=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ri.se;
Received: from GVYP280MB0464.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:37::17) by GVYP280MB0912.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:eb::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.31; Thu, 20 Jul 2023 21:20:03 +0000
Received: from GVYP280MB0464.SWEP280.PROD.OUTLOOK.COM ([fe80::168b:ece8:d25a:9147]) by GVYP280MB0464.SWEP280.PROD.OUTLOOK.COM ([fe80::168b:ece8:d25a:9147%6]) with mapi id 15.20.6609.026; Thu, 20 Jul 2023 21:20:03 +0000
Message-ID: <d70e96af-6352-2d0d-9e9a-279bd1b92466@ri.se>
Date: Thu, 20 Jul 2023 23:20:01 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0
Content-Language: en-US
To: core@ietf.org
References: <0c78b276-39ca-0914-c247-9b8814ce700a@ri.se>
From: Marco Tiloca <marco.tiloca@ri.se>
In-Reply-To: <0c78b276-39ca-0914-c247-9b8814ce700a@ri.se>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="------------b0jtydKsgmWPvtHKc37KryQ2"
X-ClientProxiedBy: GV3PEPF000000D6.SWEP280.PROD.OUTLOOK.COM (2603:10a6:144:1:0:2:0:21) To GVYP280MB0464.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:37::17)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: GVYP280MB0464:EE_|GVYP280MB0912:EE_
X-MS-Office365-Filtering-Correlation-Id: bdd1dbca-2424-4369-0896-08db8967151d
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: WqH7acbXUPt+DFAR10xRykzNeksUf3UdvgLznOkq5CkKbEjJ1+MkxbOwTXGlvJhaIIHWjMZRcWJ1QOKvFACI+/D/+V3k8ejBD0XarseN094VHjPkBVozn/lEBNIXdw+8OkwtIAEWyTb3rAaZx4o7ODWl+D1R8ZG5QZP8HYP9QDakKjoQtAO8+42EAfScPjyHywUKIFcY7IVIFSSEnJisAQPEdDJDcU9sKziBskeJgezsW4SkWww27QnczEHRJWWdGbjVTi6QgicRk9vzd9ImOd1ymkxdO+9qcaddzQ3FfrhML40x17+t/aptm76pMIlaq2Cfjr8Y2ip6ggfSEAPFKQVgJGy3u9ZF4yTxLbiXbX1yEKi+U//U9K/AMkZJy4PdCHk0sJ0+PMswQFcuq0qnqFTYrXhcCVPae61AeJtyLNzsCv8I0rxcA6i7zl7Piea/saNAw8onHbLfJY6pE/B+WTq3s/K/1t+SAVHhMA7MGSxECc6TV44mXLqXINZhLk31sBfepbJebRXQ3oaHRcRE+1KBlgdLeNolFQ0WaVJi/rJPNk0uHFBhuu61KNx8Dc87nl+TNMl4p+5bBDEJsFLEXuyQS8phTaS2Uks9QbW/ApOzodMN9di383sQtcrZlz3jUbs67Dx1tYg9X+RhpFDh51V2QTWuldexKps0X3GOT5A=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:GVYP280MB0464.SWEP280.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230028)(4636009)(366004)(39850400004)(136003)(396003)(346002)(376002)(451199021)(41300700001)(8936002)(44832011)(5660300002)(86362001)(235185007)(38100700002)(8676002)(316002)(6916009)(2616005)(83380400001)(33964004)(166002)(66476007)(66946007)(66556008)(31696002)(31686004)(2906002)(30864003)(36756003)(478600001)(966005)(21480400003)(6512007)(6486002)(53546011)(6506007)(26005)(186003)(21314003)(43740500002)(45980500001); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: 7104ucLUrH1l6bNezYHQBJZDultHzzGrUlLGWo/GtZiljviRmz+C5n8AhPbXt6uPcyUvdVYNZLeUJfplEvg1JJVDe4I4tVjZbiS5r7KcgcLO0wu7K7VAfBB+xUCX+U7sSO0QI8Wq+LR9ku+NpHUOHyzvWqMa86eZHVzRmkMW+BVDzn86TsIpQ7x+PsNAc2dNi77+uWGnoVZOM0b9IJ51subccPXCBsEdVDS/deDlfiQvjh+GFUioHu4OUaFz08v7+yIkbDZ58XfJ4tgyCT7PT+r/wvqtV2wf6UJhkJ1cRvVwmcTiBLUR4y8yDXfgREEUcD+lzLzA0gsCSIdvtufgcYY+FyST8+Ig+U58wuGu+BIG8ggTG0NrzyvMkyeWSpkyvhUtP/5P4lU59oqhCQg+ELknhv1t00sAX/ONpGgdiVNpELhCZb0zjcHTilra3CvSGwbC7jfJfe3Ammkhr355N2554TKihr6yn3X1MVjhKCNZkyJDLo5BEIigzH7oBHTR28JCy02oqeNjj/iE8RKhr9NkmYrXAWPV1TAziTqoOpa+//b2SCA2X3IenjPQEQNnHzxGiOW0yIMAC8DQrK6rxrcza97RcxOjNqUVq1U6yeP9QGhc8B6EhpaoEMT8ZXSYeZM4nqECmO4NOwcpXshgKayB7dHR9b3Weh9tjWC1ZpJx0LcOS3CEjiDZ1as5e20E0AcpX0oykwVNrveBzpmr8NQGXwYeU3y+n4APaoxal170d/r9i4AZHlj1z6Qr4J9E1htbwfhywqOBIkjOU8WGDtpuDzAlFZJ+xi7nECAtYMklaAZrHeTh39RS9k/l4TN+j9Qw1HVhfdKXXYHlF6KqJJM9+td++eYy2quY4/MwgoJYyWLVldLOm1kzHer6wh5S9b/gMP9V7vz1fnOXaDk0G2V8rxy0QPdGi9HuEnz/q3GjkKn/XpBrMJ6Tr9KGxoyJ1rkLl+aQygUkLTUBhjLkrPpIdckyQ3NaISm89W7o8qbWhNOt16cmLdVjD9Pu8HN2KE7AN+k9JvL47v9dr+W3YKLS0TiigN0ZU+zHhONNT1zOmCasnY+d95b50KR21PkzJZxs3wJjTmU7Ue5ErxfDyOy6wNQOgPOVpsFwISJbt3NWENCiCfCrrtU8Ql/Wxkutjmi4BMfBS5wF5/cj2/sUXJcwk/rHEe0scg29ymoSnJ7gstoGPgebc3vgZw3gWijGgEn6O6t1QM86MAX4KTKYFs6ay5I3ja13RH1fQREhdwaRMdueIN5/YVJb8jlqbUxXzmpEPA1Lv+2FZVfDzJik86tiD1klREyvIecy2K2NV+0P7OcSutgDeLJMQc8SRZ8gi23Ocq9pHG9wJApM67Sjv/tU+94tBwfCqwAGW3b6dBQEyONa5ERHc6IyeIycNfTRfaixqCVPMqg4sGGg6MOSrqtH3AEjdCUhjOB+ZnE5P75oxU1IUC8cFSxpDrc4HT34baNF56L46OsFozWpa5PRM86aNYUZxss78jDDhVN/ZJiLuhh3ViA3TCTEji80umv16kZzikpJlDRgW9f/3GwV651mqnR1Uz8mFI7mzhxSxogcioe7L4G58545fKkkmPKg
X-OriginatorOrg: ri.se
X-MS-Exchange-CrossTenant-Network-Message-Id: bdd1dbca-2424-4369-0896-08db8967151d
X-MS-Exchange-CrossTenant-AuthSource: GVYP280MB0464.SWEP280.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2023 21:20:03.3432 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5a9809cf-0bcb-413a-838a-09ecc40cc9e8
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: F7hc+xsMOjc1S2vyty1RbNGfsPe2GWzn5/cRHL31SuE1hg2a1ypoL3hiL37Vo11GYodt2/R/00GUX8XYDFrB7g==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVYP280MB0912
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/zMRga4VsC73vFWBI5ULy3gvRPvI>
Subject: Re: [core] WG Last Call on draft-ietf-core-href-13
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Jul 2023 21:20:12 -0000

Hi all,

Please find below my WG Last Call review.

Best,
/Marco

================

[Section 1]

* When mentioned in the third and fifth paragraphs RFC 3986 is not 
rendered as a link.


[Section 2]

* In C9, it is said: "If no authority is present in a CRI, the leading 
path segment cannot be empty. (See also SP1 in Appendix B.)"

    Isn't it better to mention that already when earlier discussing C2?


[Section 5.1]

* "two leading null values (scheme and authority both not given) MUST be 
represented by using the discard alternative instead, and"

   Is this actually the only case where to use discard?

   Scheme and authority are both not given also in case the first two 
elements in the outer array are null (absent scheme) and true (absent 
authority followed by rootless path). Shouldn't discard be used also in 
this case?

* "an empty path in a CRI MUST be represented as the empty array [] 
(note that for CRI-Reference there is a difference between empty and 
absent paths, represented by [] and null, respectively),"

    Figure 1 still admits null as possible encoding of path also in a 
CRI. What is its meaning in that case?

    (Note that the distinction above between absent (=null) and empty 
(=[]) path is limited to CRI references, as expected)

    This is still useful, in the interest of eliding a sequence of 
trailing null, but Section 5.2 focuses only on CRI references.

    It feels like, in a CRI: null does not have an actual meaning for 
path, which can simply be an array, possibly empty to indicate the empty 
path; when converting from abstract to transfer form, the empty array is 
converted to null; when converting from transfer form to abstract form, 
a null for the path element becomes the empty array encoding the empty path.

* "an entirely empty outer array is not a valid CRI reference."

    Nor a valid CRI, right?


[Section 5.1.1]

* "correspond to the CRI form that starts with discard"

    I think you mean "correspond to the CRI reference form that starts 
with discard", since discard is limited to CRI references.


[Section 5.1.3]

* In the third example, "NOAUTH-NOSLASH" should be "NOAUTH-ROOTLESS"


[Section 5.1.4]

* In the three paragraphs, "if" is used. Do you actually mean "if and 
only if"?

* "A CRI reference is considered relative if it is well-formed and the 
sequence of sections is empty or starts with a section other than those 
that would constitute a scheme."

    I'm probably misreading this, but how can the sequence of sections 
be empty and well-formed at the same time? Section 5.1 states that an 
entirely empty outer array is not a valid CRI reference.


[Section 5.2]

* "If scheme and/or authority are present in the transfer form (i.e., 
the outer array starts with null, a text string, or a negative integer), 
set discard to true."

    Isn't it sufficient to say: "If scheme is present in the transfer 
form (i.e., the outer array starts with null, a text string, or a 
negative integer), set discard to true." ?


[Section 5.3]

* "If the value of discard is true in the CRI reference (which is 
implicitly the case when scheme and/or authority are present in the 
reference), ..."

    From the ingesting process in Section 5.2, I understand that at this 
point both scheme and authority are *present* as element of the CRI 
reference as a data structure, with a value admitted by the CDDL 
definition in Figure 1.

    You probably mean: "which is implicitly the case when scheme is 
non-null and/or authority is neither null nor true in the CRI reference".


[Sections 10.1.1 and 10.1.3]

* There is now a forward reference to Table 1. Please add a reference to 
Appendix A including it.


[Appendix A]

* Like in Section 5.1, please use "RFC-XXX" and add the note "RFC Ed.: 
throughout this section, please replace RFC-XXXX with the RFC number of 
this specification and remove this note."


[Appendix C]

* Would it be possible to have an aggregated entry "Changes from -09 to 
-13" ?


[Nits]

* Section 1
--- s/comparison and reference/comparison, and reference

* Section 2
--- s/Note that in Figure 1,/Note, that in Figure 1,
--- s/of [RFC3986], not/of [RFC3986]), not

* Section 5.1
--- Please add a line break between "as follows:" and "RFC Ed.:"

* Section 5.2.1
--- s/adhere to rules/adhere to these rules

* Section 6
--- s/references and IRI/references, and IRI

* Section 6.1
--- s/registry Section 10.1./registry (Section 10.1).

* Section 7
--- s/recipients o CRIs/recipients of CRIs

* Section 10.1
--- s/the to be/them to be

* Acknowledgements
---s/Thaler and Marco/Thaler, and Marco


On 2023-07-11 11:17, Marco Tiloca wrote:
> Dear all,
>
> This email starts a Working Group Last Call for the document
>
> https://datatracker.ietf.org/doc/html/draft-ietf-core-href-13
>
> (Constrained Resource Identifiers)
>
>
> The document status can be found at:
>
> https://datatracker.ietf.org/doc/draft-ietf-core-href/
>
>
> Please provide your comments and feedback by Monday, 2023-07-24, which 
> allows us to have a follow-up discussion during the CoRE session at 
> IETF 117 the day after.
>
> Best,
> /Marco
> -- 
> Marco Tiloca
> Ph.D., Senior Researcher
>
> Phone: +46 (0)70 60 46 501
>
> RISE Research Institutes of Sweden AB
> Box 1263
> 164 29 Kista (Sweden)
>
> Division: Digital Systems
> Department: Computer Science
> Unit: Cybersecurity
>
> https://www.ri.se
>
> _______________________________________________
> core mailing list
> core@ietf.org
> https://www.ietf.org/mailman/listinfo/core

-- 
Marco Tiloca
Ph.D., Senior Researcher

Phone: +46 (0)70 60 46 501

RISE Research Institutes of Sweden AB
Box 1263
164 29 Kista (Sweden)

Division: Digital Systems
Department: Computer Science
Unit: Cybersecurity

https://www.ri.se