[Cbor] Early allocation for packed CBOR (Re: Reminder: CBOR WG Virtual Meeting on 2024-12-11)

Carsten Bormann <cabo@tzi.org> Tue, 10 December 2024 20:19 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3832AC1930D8 for <cbor@ietfa.amsl.com>; Tue, 10 Dec 2024 12:19:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level:
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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=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 vn9kFMDiIMqY for <cbor@ietfa.amsl.com>; Tue, 10 Dec 2024 12:19:39 -0800 (PST)
Received: from smtp.zfn.uni-bremen.de (smtp.zfn.uni-bremen.de [134.102.50.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 61E26C151071 for <cbor@ietf.org>; Tue, 10 Dec 2024 12:19:38 -0800 (PST)
Received: from [192.168.217.145] (p548dc3ec.dip0.t-ipconnect.de [84.141.195.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4Y797Y1KhlzDCfP; Tue, 10 Dec 2024 21:19:37 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <B807C9D3-39A4-4024-BC1D-85DD84EA1735@tzi.org>
Date: Tue, 10 Dec 2024 21:19:36 +0100
X-Mao-Original-Outgoing-Id: 755554776.618392-a46b8cde4ee91201929f037f36f1ed05
Content-Transfer-Encoding: quoted-printable
Message-Id: <DFE56705-CCDD-4172-B577-C873E3DB4898@tzi.org>
References: <CALaySJKDFscUBGw4CPspXJvUTkXywVHc_FrmhO3ybBWTrwjGXw@mail.gmail.com> <CALaySJJ8-M9x8irtmF2pfDE3GRXU1am9n2a3XeDcmPT+kww+KA@mail.gmail.com> <CALaySJKTQT_9CC-wVVd+fY1NYJ73M8CP22hn=rWrFeTJSJDEsA@mail.gmail.com> <CALaySJKG3oagg6ffLTx8LgvLvnjHHA2DMGgY74E0q=rReAc4PA@mail.gmail.com> <CALaySJLtUR1=G_WH4H+zoJ5LCrHjBgEf1oW104zDtFQighY+gg@mail.gmail.com> <CALaySJLnKxU9m3BNPq4XayrSrorRBG2vuBz1AF-CsEBoSZe7Xg@mail.gmail.com> <CALaySJKaz7C=GN5E=saiDY4KxL+9xCfM0ocZuMStEQ96FnQ4KA@mail.gmail.com> <CALaySJJEXkey9vLAp8VqDXmPsWpxiWN9jjtVnGio1nMQ4K+mDQ@mail.gmail.com> <CALaySJJfc+tET4Vm5UQjHPK5mf61O0iR-1i6=X32CYtWxZLWTQ@mail.gmail.com> <CALaySJKdrk7aPzhT=kbE1B8pq1EBw74nmx_peSJMAoHsG5jyVQ@mail.gmail.com> <CALaySJ+fWX4zEnE5v-Q9R6eCv=kSJjnc-fsXL5PGPgac1GJAcA@mail.gmail.com> <B807C9D3-39A4-4024-BC1D-85DD84EA1735@tzi.org>
To: CBOR <cbor@ietf.org>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Message-ID-Hash: UIA3WYPIFKBTUCWCV74S6EBA4FAQM4QE
X-Message-ID-Hash: UIA3WYPIFKBTUCWCV74S6EBA4FAQM4QE
X-MailFrom: cabo@tzi.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cbor.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Cbor] Early allocation for packed CBOR (Re: Reminder: CBOR WG Virtual Meeting on 2024-12-11)
List-Id: "Concise Binary Object Representation (CBOR)" <cbor.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Z75X1rgvhtw4Lq7yHxy_D9BLONY>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Owner: <mailto:cbor-owner@ietf.org>
List-Post: <mailto:cbor@ietf.org>
List-Subscribe: <mailto:cbor-join@ietf.org>
List-Unsubscribe: <mailto:cbor-leave@ietf.org>

The meeting tomorrow will have an agenda item on IANA "Early allocation" for packed CBOR:

> * packed: do early allocation now?
>    * Check conditions: [RFC 7120: Early IANA Allocation of Standards Track Code Points Section 2](https://www.rfc-editor.org/rfc/rfc7120#section-2)
>    * Generate request: [RFC 7120: Early IANA Allocation of Standards Track Code Points Section 3.1](https://www.rfc-editor.org/rfc/rfc7120#section-3.1)
> 
> Of course, we can prepare this already here on the mailing list, but we can get a head start on 3.1 item 3 in the meeting.
> 
> Here are the IANA considerations:
> 
> [Packed CBOR](https://www.ietf.org/archive/id/draft-ietf-cbor-packed-13.html#name-iana-considerations)

While there is a draft-iana-7120bis under discussion that can inform us of where things are going, RFC 7120 is the current process.

So let’s go through the items under "2.  Conditions for Early Allocation”

   a.  The code points must come from a space designated as "RFC
       Required," "IETF Review," or "Standards Action."  Additionally,
       requests for early assignment of code points from a
       "Specification Required" registry are allowed if the
       specification will be published as an RFC and if IANA can obtain
       expert approval.

draft-ietf-cbor-packed makes a quite sizable number of allocations.

Of these, the following are in Standards Action ranges as per [1] and [2] and therefore require using the RFC 7120 process if we want to stabilize the numbers now:

Simple values: 0-15
[1]: https://www.rfc-editor.org/rfc/rfc8949.html#name-cbor-simple-values-registry

Tag: 6
[2]: https://www.rfc-editor.org/rfc/rfc8949.html#name-cbor-tags-registry

(Giving the suggested allocation numbers as a terse reference.)

The following tags are in Specification Required ranges:

                    105
                    106
                    113
                    114
               216..223
               224..255
                   1112
                   1113
           27647..28671
           28704..32767

And, finally, these tags are in FCFS but should probably run in sync with the above:

 1811940352..1879048191
 1879052288..2147483647

   b.  The format, semantics, processing, and other rules related to
       handling the protocol entities defined by the code points
       (henceforth called "specifications") must be adequately described
       in an IETF Stream Internet-Draft.

I believe that this is true for draft-ietf-cbor-packed-13; we should discuss this tomorrow.

   c.  The specifications of these code points must be stable; i.e., if
       there is a change, implementations based on the earlier and later
       specifications must be seamlessly interoperable.

I believe we have reached a level of stability that we can ensure that; again, discuss this tomorrow.

   d.  The Working Group chairs and Area Directors (ADs) must determine
       that there is sufficient interest in the community for early
       (pre-RFC) implementation and deployment, or that failure to make
       an early allocation might lead to contention for the code point
       in the field.

This is probably a good subject for discussion tomorrow.

We have a few implementations; I would think that deployment simply waits for the allocations now.

As a DE, I already had to ask an (unrelated) registrant to suggest different numbers because their suggestions conflicted with the above, so I have at least one data point about contention.


Once we have convinced ourselves about the prerequisites, next is the actual process:

3.1.  Request

   The process for requesting and obtaining early allocation of code
   points is as follows:

   1.  The authors (editors) of the document submit a request for early
       allocation to the Working Group chairs, specifying which code
       points require early allocation and to which document they should
       be assigned.

The authors can do that after tomorrow’s discussion.

   2.  The WG chairs determine whether the conditions for early
       allocations described in Section 2 are met, particularly
       conditions (c) and (d).

… as can the WG chairs.

   3.  The WG chairs gauge whether there is consensus within the WG that
       early allocation is appropriate for the given document.

I would expect that the WG chairs will do a short consensus call here; while the document has passed WGLC, the desire to do early allocation has not passed any consensus call.  (The WG chairs have wide license to decide about the form of “gauging” they employ, but a consensus call seems simple.)

   4.  If steps 2) and 3) are satisfied, the WG chairs request approval
       from the Area Director(s).  The Area Director(s) may apply
       judgement to the request, especially if there is a risk of
       registry depletion.

The WG chairs can do that if the consensus gauging ends affirmative.
(Of course, we can inform the responsible AD now already.)

   5.  If the Area Directors approve step 4), the WG chairs request IANA
       to make an early allocation.

More work for the chairs, sorry.

   6.  IANA makes an allocation from the appropriate registry, marking
       it as "Temporary", valid for a period of one year from the date
       of allocation.  The date of first allocation and the date of
       expiry are also recorded in the registry and made visible to the
       public.

IANA will do this.  This also sets up a convenient upper boundary for the amount of time we should need for getting cbor-packed shipped.


We still have 18+ hours to discuss the above here on the list before the interim meeting.
See/hear you all tomorrow!

Grüße, Carsten