Re: [pkix] [Technical Errata Reported] RFC3779 (7653)

Stefan Santesson <stefan@aaa-sec.com> Thu, 28 September 2023 14:17 UTC

Return-Path: <stefan@aaa-sec.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D9658C151996 for <pkix@ietfa.amsl.com>; Thu, 28 Sep 2023 07:17:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.908
X-Spam-Level:
X-Spam-Status: No, score=-6.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 EwgXyROy0HiW for <pkix@ietfa.amsl.com>; Thu, 28 Sep 2023 07:17:53 -0700 (PDT)
Received: from smtp.outgoing.loopia.se (smtp.outgoing.loopia.se [93.188.3.37]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 EDECCC151089 for <pkix@ietf.org>; Thu, 28 Sep 2023 07:17:51 -0700 (PDT)
Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 8196B2FB3C1C for <pkix@ietf.org>; Thu, 28 Sep 2023 16:17:49 +0200 (CEST)
Received: from s934.loopia.se (unknown [172.22.191.6]) by s807.loopia.se (Postfix) with ESMTP id 718FC2E2A585; Thu, 28 Sep 2023 16:17:49 +0200 (CEST)
Received: from s474.loopia.se (unknown [172.22.191.5]) by s934.loopia.se (Postfix) with ESMTP id 6F2237CEA77; Thu, 28 Sep 2023 16:17:49 +0200 (CEST)
X-Virus-Scanned: amavisd-new at amavis.loopia.se
Received: from s980.loopia.se ([172.22.191.5]) by s474.loopia.se (s474.loopia.se [172.22.190.14]) (amavisd-new, port 10024) with UTF8LMTP id QjB56JHgHbIu; Thu, 28 Sep 2023 16:17:48 +0200 (CEST)
X-Loopia-Auth: user
X-Loopia-User: mailstore2@aaa-sec.com
X-Loopia-Originating-IP: 90.228.170.155
Received: from [10.10.0.158] (unknown [90.228.170.155]) (Authenticated sender: mailstore2@aaa-sec.com) by s980.loopia.se (Postfix) with ESMTPSA id B4B54220163C; Thu, 28 Sep 2023 16:17:48 +0200 (CEST)
Message-ID: <74c9d161-5b3d-4694-880b-01e503656f62@aaa-sec.com>
Date: Thu, 28 Sep 2023 16:17:48 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: sv-SE, en-GB
To: Russ Housley <housley@vigilsec.com>, IETF PKIX <pkix@ietf.org>
Cc: "Roman D. Danyliw" <rdd@cert.org>, Paul Wouters <paul.wouters@aiven.io>, Job Snijders <job@fastly.com>
References: <20230922121745.D1D50E5F67@rfcpa.amsl.com> <67B1F9CD-F8E9-4895-A0AC-C6B32EAE7150@vigilsec.com>
From: Stefan Santesson <stefan@aaa-sec.com>
Autocrypt: addr=stefan@aaa-sec.com; keydata= xsDNBGB0SQwBDADRZIRQH2PciJEmsZ7noEFV8jdtUoB/3AiNPg5CYWJz3YlB1ZyqizIYRXlY EzhIcHRCdn+NrJvReq3Xi3kvycqvhUrrxMIxMYY7YZEripjrbyleFbbZjX4oCu+CTRj8y1Wo V6h9fLlpdqEriXwQ1brs1F/4KmHXTli4FIAmRTzdGBDWgD9sg2UmuloC4+A3d2Zoo6D6Tbjv Piyy3hwqdxjOF0tXSrtH9OXkyo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CD-F8E9-4895-A0AC-C6B32EAE7150@vigilsec.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/pkix/9OXsgtGCfkk91hdlQ1wY4coprNg>
Subject: Re: [pkix] [Technical Errata Reported] RFC3779 (7653)
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: PKIX Working Group <pkix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pkix>, <mailto:pkix-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pkix/>
List-Post: <mailto:pkix@ietf.org>
List-Help: <mailto:pkix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pkix>, <mailto:pkix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Sep 2023 14:17:56 -0000

Hi,

It was a while since I was into the details of ASN.1 and feel a bit 
unsure what is correct here.

I agree with Russ on his thoughts.

/Stefan


On 2023-09-27 17:29, Russ Housley wrote:
> Two thoughts below.
>
>> The following errata report has been submitted for RFC3779,
>> "X.509 Extensions for IP Addresses and AS Identifiers".
>>
>> --------------------------------------
>> You may review the report below and at:
>> https://www.rfc-editor.org/errata/eid7653
>>
>> --------------------------------------
>> Type: Technical
>> Reported by: Job Snijders <job@fastly.com>
>>
>> Section: 3.2.3
>>
>> Original Text
>> -------------
>> Section 3.2.3.4:
>> Any contiguous series of AS identifiers MUST be combined into a single range
>> whenever possible.
>>
>> Section 3.2.3.8:
>> The ASRange type is a SEQUENCE consisting of a min and a max element,
>> and is used to specify a range of AS identifier values.
>>
>> Corrected Text
>> --------------
>> Section 3.2.3.4:
>> Any contiguous series of AS identifiers MUST be combined into a single range
>> or, whenever possible, represented as a single ASId.
> I don't like "or, whenever possible". That is not well specified and thus unlikely to yield a canonical result. In my view, this text is not an improvement to the existing text.
>
>> Section 3.2.3.8:
>> The ASRange type is a SEQUENCE consisting of a min and a max element,
>> and is used to specify a range of AS identifier values. The min and max
>> elements MUST specify two distinct AS identifiers.
> This statement seems clear to me, and I think it is an improvement over the current text.
>
> Russ
>
>> Notes
>> -----
>> The introduction in section 1 stresses that the objective of the encoding rules in section 2 and section 3
>> is to produce unique encoding and minimal size encoding of the information.
>>
>> Allowing ASRanges where the minimum value is the same as the maximum value clearly violates the
>> objective of specifying a canonical form (in order to produce a unique representation); however the
>> specification as-is doesn't forbid min & max to be the same value. The corrected text addresses this.
>>
>> Instructions:
>> -------------
>> This erratum is currently posted as "Reported". If necessary, please
>> use "Reply All" to discuss whether it should be verified or
>> rejected. When a decision is reached, the verifying party
>> can log in to change the status and edit the report, if necessary.
>>
>> --------------------------------------
>> RFC3779 (draft-ietf-pkix-x509-ipaddr-as-extn-03)
>> --------------------------------------
>> Title               : X.509 Extensions for IP Addresses and AS Identifiers
>> Publication Date    : June 2004
>> Author(s)           : C. Lynn, S. Kent, K. Seo
>> Category            : PROPOSED STANDARD
>> Source              : Public-Key Infrastructure (X.509)
>> Area                : Security
>> Stream              : IETF
>> Verifying Party     : IESG