Re: [Cbor] Packed CBOR review

Carsten Bormann <cabo@tzi.org> Thu, 17 June 2021 14:11 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 86B8E3A2103; Thu, 17 Jun 2021 07:11:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_FAIL=0.001, SPF_HELO_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no 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 I9tYhhhV6pme; Thu, 17 Jun 2021 07:11:10 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [IPv6:2001:638:708:32::19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EF7633A2104; Thu, 17 Jun 2021 07:11:09 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4G5P9Q0qsGz2xJF; Thu, 17 Jun 2021 16:11:06 +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: <621D44E4-6948-4CD7-81D5-6125E36262B4@arm.com>
Date: Thu, 17 Jun 2021 16:11:05 +0200
Cc: "cbor@ietf.org" <cbor@ietf.org>, cose@ietf.org
X-Mao-Original-Outgoing-Id: 645631865.662413-0ddcfb6fc72a01d0d3ad5119df9539f6
Content-Transfer-Encoding: quoted-printable
Message-Id: <3EDF5729-5632-45DF-8156-14F643B50BC4@tzi.org>
References: <8713C3AB-71C0-4EC0-8977-15F80EC11309@arm.com> <212CE7EA-73BC-47BF-B192-D2D523F4A376@tzi.org> <33C84949-0F9C-432C-9C94-DE2C9EE17976@arm.com> <3F367A6D-5CAD-474F-AFEE-DF1AC9A34135@tzi.org> <146F670A-48EA-4A90-B77C-4CCC535F1DB1@arm.com> <6195BD3A-A031-47BD-866E-AF3D4D423A0B@tzi.org> <621D44E4-6948-4CD7-81D5-6125E36262B4@arm.com>
To: Brendan Moran <Brendan.Moran@arm.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/nwt8RhEHWSZdJppGsqC6U9rdDW8>
Subject: Re: [Cbor] Packed CBOR review
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 17 Jun 2021 14:11:15 -0000

On 2021-06-17, at 15:55, Brendan Moran <Brendan.Moran@arm.com> wrote:
> 
> It would be nice if this had some CDDL so that I could reference it in other specifications.

That raises the overall question how IANA registries could be made available in CDDL.

This particular case is probably the most difficult one, as the "COSE Algorithms” registry combines various kinds of algorithms into one registry, so essentially one would like to make an SQL query over that :-)

SELECT Value 
  FROM IANA.cose#algorithms 
  WHERE recommended=“yes” and capabilities=“[]”

(Hmm, I don’t understand how the capabilities, are mapped in the current registry — the SHA-256 entry there says “[kty]” but draft-ietf-cose-hash-algs-09 says "[]”.  Is capabilities even a good way to select an algorithm?)

Grüße, Carsten