Re: [Cbor] I-D: draft-rundgren-cote-00

Carsten Bormann <cabo@tzi.org> Tue, 19 July 2022 20:07 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 76B43C13C513; Tue, 19 Jul 2022 13:07:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.907
X-Spam-Level:
X-Spam-Status: No, score=-6.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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 BGP1zHSjypdD; Tue, 19 Jul 2022 13:07:14 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (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 F23C7C159486; Tue, 19 Jul 2022 13:07:11 -0700 (PDT)
Received: from [192.168.217.118] (p5089ad4f.dip0.t-ipconnect.de [80.137.173.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4LnVH028V3zDCcV; Tue, 19 Jul 2022 22:07:08 +0200 (CEST)
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: <7D9E2594-06E0-47F0-B67D-23602F981FD4@cursive.net>
Date: Tue, 19 Jul 2022 22:07:08 +0200
Cc: Christian Amsüss <christian@amsuess.com>, Anders Rundgren <anders.rundgren.net@gmail.com>, "rats@ietf.org" <rats@ietf.org>, cbor@ietf.org
X-Mao-Original-Outgoing-Id: 679954027.932986-295d1159c9c914645d56a1e81989ce51
Content-Transfer-Encoding: quoted-printable
Message-Id: <FDD10E92-AD59-464B-9FD4-4745D95F150A@tzi.org>
References: <ce8a6fd8-001e-32bb-2145-03cda63e9366@gmail.com> <Yta3IrJymgGkCj46@hephaistos.amsuess.com> <4B455A6A-76EA-42A5-B70E-F3671C47E25D@tzi.org> <7D9E2594-06E0-47F0-B67D-23602F981FD4@cursive.net>
To: Joe Hildebrand <hildjj@cursive.net>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/zXiA-xBnAoi0ZRIO8QVsGOSGv7w>
Subject: Re: [Cbor] I-D: draft-rundgren-cote-00
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2022 20:07:16 -0000

On 2022-07-19, at 18:20, Joe Hildebrand <hildjj@cursive.net> wrote:
> 
> tag: URIs from RFC 4151 seem like they're a pretty good fit for this sort of thing.  

Great recommendation.

> Easy to mint, date included in case the domain changes hands, can't be resolved by mistake, and easy enough to reason about by inspection.

Which is why we actually use them in the example in core-problem-details [1].

>  Example from the RFC:
> 
> tag:yaml.org,2002:int

Our example [1] is:

  "tag:3gpp.org,2022-03:TS29112": {...

(The example is set in a 3GPP context, and this fictional structure is relating to 3GPP TS29112; complete with warning that they really should register an identifier for this.)

Grüße, Carsten

[1]: https://www.ietf.org/archive/id/draft-ietf-core-problem-details-08.html#fig-example-custom-with-uri