Re: [core] core-yang-cbor-mapping: CBOR tag review

Christian Amsüss <christian@amsuess.com> Tue, 29 June 2021 18:14 UTC

Return-Path: <christian@amsuess.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3971E3A3C9E; Tue, 29 Jun 2021 11:14:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 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] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rPhC2EerntW5; Tue, 29 Jun 2021 11:14:29 -0700 (PDT)
Received: from prometheus.amsuess.com (prometheus.amsuess.com [5.9.147.112]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4B7F13A3C59; Tue, 29 Jun 2021 11:13:58 -0700 (PDT)
Received: from poseidon-mailhub.amsuess.com (095129206250.cust.akis.net [95.129.206.250]) by prometheus.amsuess.com (Postfix) with ESMTPS id 9647540128; Tue, 29 Jun 2021 20:13:51 +0200 (CEST)
Received: from poseidon-mailbox.amsuess.com (hermes.amsuess.com [10.13.13.254]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id D00BC74; Tue, 29 Jun 2021 20:13:50 +0200 (CEST)
Received: from hephaistos.amsuess.com (unknown [141.244.80.208]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id 817C826; Tue, 29 Jun 2021 20:13:50 +0200 (CEST)
Received: (nullmailer pid 2053110 invoked by uid 1000); Tue, 29 Jun 2021 18:13:50 -0000
Date: Tue, 29 Jun 2021 20:13:50 +0200
From: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>
To: draft-ietf-core-yang-cbor@ietf.org
Cc: core@ietf.org
Message-ID: <YNti3s4FGGb8x9p8@hephaistos.amsuess.com>
References: <YNtT13MO/ccGhBoW@hephaistos.amsuess.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
In-Reply-To: <YNtT13MO/ccGhBoW@hephaistos.amsuess.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/QAdfcUvoJhuW0lR1Acz0CRZPAGI>
Subject: Re: [core] core-yang-cbor-mapping: CBOR tag review
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jun 2021 18:14:32 -0000

Hello YANG authors,

> I've been asked by IANA to expert-review the tag allocations for
> yang-cbor-mapping, and while I do see no fundamental red flags (which
> would surprise me, given one of the registry experts is on the authors
> team), I'd like to understand better a few aspects of the registrations:

there has been a mix-up -- the tags *are* already registered, so please
disregard any questions as to the 1+1/1+2 range.

The points about the internal references on usage stand (albeit more in
a "commenter late to the party" capacity).

A new point I should raise reviewing what will now be changes to the
registry is the type changes: tags 43 and 44 used to tag bstr and uint,
respectively. While there is no need in the RFC-to-be to dwell on its
draft history: Have implementations of this document followed the
changes that led to the altered tag payloads? If not, is there anything
better than bailing that implementers can do when faced with the tags as
they used to be used?

BR
Christian

-- 
To use raw power is to make yourself infinitely vulnerable to greater
powers.
  -- Bene Gesserit axiom