[Cbor] Re: Private tag numbers / 1010

Carsten Bormann <cabo@tzi.org> Sun, 15 December 2024 05:44 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 A6A17C14F60D for <cbor@ietfa.amsl.com>; Sat, 14 Dec 2024 21:44:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.905
X-Spam-Level:
X-Spam-Status: No, score=-1.905 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-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_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 YDFMvv1f2ZN6 for <cbor@ietfa.amsl.com>; Sat, 14 Dec 2024 21:44:26 -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 5415EC14F5F5 for <cbor@ietf.org>; Sat, 14 Dec 2024 21:44:24 -0800 (PST)
Received: from smtpclient.apple (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 4Y9sTK6qdHzDCc9; Sun, 15 Dec 2024 06:44:21 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.300.87.4.3\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <755d93c9-d253-4558-b6ac-d3e1f4555535@gmail.com>
Date: Sun, 15 Dec 2024 06:44:11 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <971C7876-CD38-4038-A6C1-BF3F1D0F8E6D@tzi.org>
References: <AS2PR09MB6342AB1E5DFF19EDFB65F25F8C609@AS2PR09MB6342.eurprd09.prod.outlook.com> <8AD1E3E6-A474-4D4D-B404-66172DF8C481@tzi.org> <20230723010552.01d80062@nuclight> <c40b9570-5e22-73c8-744f-1e141edea875@gmail.com> <20241215031403.63e93131@nuclight.lan> <755d93c9-d253-4558-b6ac-d3e1f4555535@gmail.com>
To: Anders Rundgren <anders.rundgren.net@gmail.com>
X-Mailer: Apple Mail (2.3826.300.87.4.3)
Message-ID-Hash: T377SVU637OB2F6R35JJZTJRU2BFM43O
X-Message-ID-Hash: T377SVU637OB2F6R35JJZTJRU2BFM43O
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
CC: Vadim Goncharov <vadimnuclight@gmail.com>, Tony Putman <Anthony.Putman@dyson.com>, "cbor@ietf.org" <cbor@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Cbor] Re: Private tag numbers / 1010
List-Id: "Concise Binary Object Representation (CBOR)" <cbor.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/cyZ3k1AuJdAB9O6B1h4kxhP5mws>
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>

On 15. Dec 2024, at 06:18, Anders Rundgren <anders.rundgren.net@gmail.com> wrote:
> 
>> 
>> Regarding https://datatracker.ietf.org/doc/draft-rundgren-cotx/05/ of
>> tag 1010, please provide ability for identifier to be a non-text string
>> until this is not an RFC.
> 
> Well, for unknown reasons

(You can find discussion in the records of the mailing list.)

> the CBOR WG have rejected the by other formats firmly established method using dereferenceable specification URLs as object identifiers,

Actually, over in T2TRG we are looking at the subject of dereferenceable identifiers [1], so it’s not like we don’t care.  It just turned out there wasn’t a lot of appetite for URIs as type identifiers in the CBOR WG.
(Note that there is RFC 9090, which defines tags for another identifier scheme, ASN.1 OIDs, but didn’t go ahead to do the tag-1010-like type identifier/data item pairing — it apparently never occurred to us in the seven-year history of this RFC that this might be useful (*).)

So I wouldn’t use the term “rejected”, more like “not picked up”.
(It may have played a role that CBOR already has an excellent type identifier mechanism, the tag.)
And you did get the tag 1010 that does exactly what you specified it to do.

[1]: https://www.ietf.org/archive/id/draft-bormann-t2trg-deref-id-04.html
[2]: https://www.rfc-editor.org/rfc/rfc9090

> so it seems COTX will remain my private "invention" :)

I hope you don’t have patent claims on this; the tag registry is there for everyone to use.

> Anyway, I'm not a fan of "polymorphic" tags so I would urge you to seek a new tag number

Here I agree.

> (hopefully a bit more compact than 1010), for a version using a binary argument.

Well, “a binary argument” is not really very specific.
If we believe attaching type identifiers to data items is important, we should try to make them useful by being well-defined.

Grüße, Carsten

(*) Even knowing that ASN.1 has had ANY DEFINED BY since about 1984…