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

Michael Richardson <mcr+ietf@sandelman.ca> Wed, 20 July 2022 19:32 UTC

Return-Path: <mcr@sandelman.ca>
X-Original-To: rats@ietfa.amsl.com
Delivered-To: rats@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1B21C14CF08; Wed, 20 Jul 2022 12:32:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 HxIJ2HwldEX1; Wed, 20 Jul 2022 12:32:33 -0700 (PDT)
Received: from relay.sandelman.ca (relay.cooperix.net [IPv6:2a01:7e00:e000:2bb::1]) (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 2766CC14F74F; Wed, 20 Jul 2022 12:32:32 -0700 (PDT)
Received: from dooku.sandelman.ca (unknown [12.227.228.130]) by relay.sandelman.ca (Postfix) with ESMTPS id 6F07D1F459; Wed, 20 Jul 2022 19:32:31 +0000 (UTC)
Received: by dooku.sandelman.ca (Postfix, from userid 179) id 146D91A0383; Wed, 20 Jul 2022 15:32:30 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Anders Rundgren <anders.rundgren.net@gmail.com>, "rats@ietf.org" <rats@ietf.org>, cbor@ietf.org
In-reply-to: <0e86ea83-8e16-30b8-e433-1ba9a4b1b0fc@gmail.com>
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> <FDD10E92-AD59-464B-9FD4-4745D95F150A@tzi.org> <0e86ea83-8e16-30b8-e433-1ba9a4b1b0fc@gmail.com>
Comments: In-reply-to Anders Rundgren <anders.rundgren.net@gmail.com> message dated "Wed, 20 Jul 2022 06:22:17 +0200."
X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.3
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Wed, 20 Jul 2022 15:32:30 -0400
Message-ID: <1663483.1658345550@dooku>
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/pp09k57UpvtnzqjdtOCiDxFJNgM>
Subject: Re: [Rats] [Cbor] I-D: draft-rundgren-cote-00
X-BeenThere: rats@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Remote ATtestation procedureS <rats.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rats>, <mailto:rats-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rats/>
List-Post: <mailto:rats@ietf.org>
List-Help: <mailto:rats-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rats>, <mailto:rats-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2022 19:32:36 -0000

> The primary purpose is to enable developers defining community- or
> application-specific type identifiers without having to go through an IANA
> registration process. Although the scheme imposes no restrictions on type
> identifiers (beyond being valid CBOR data items), using URLs should due to
> their ubiquity be a candidate for CBOR based standards.

I'm not sure I understand why RATS is on the CC.

A URL is rather bulky for some uses, but if the CBOR is encoding thousands of
items in a compact form, then the amortization of the tag makes sense.

draft-ietf-cbor-file-magic provides a similiar mechanism with the
recommendation that one go for a 4-byte tag from the FCFS space.
yes, that involves a trip through IANA... an email and a delay of perhaps a
week.

I agree with Carsten that the document is a bit underspecified.


-- 
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-