Re: [Cbor] Packed CBOR review

Christian Amsüss <christian@amsuess.com> Fri, 18 June 2021 08:01 UTC

Return-Path: <christian@amsuess.com>
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 55EF03A4157 for <cbor@ietfa.amsl.com>; Fri, 18 Jun 2021 01:01:00 -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 SM0I3Vrc1Ezd for <cbor@ietfa.amsl.com>; Fri, 18 Jun 2021 01:00:56 -0700 (PDT)
Received: from prometheus.amsuess.com (alt.prometheus.amsuess.com [IPv6:2a01:4f8:190:3064::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2AECA3A4156 for <cbor@ietf.org>; Fri, 18 Jun 2021 01:00:55 -0700 (PDT)
Received: from poseidon-mailhub.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bd]) by prometheus.amsuess.com (Postfix) with ESMTPS id E5B20408B8; Fri, 18 Jun 2021 10:00:52 +0200 (CEST)
Received: from poseidon-mailbox.amsuess.com (poseidon-mailbox.amsuess.com [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bf]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id 29071D7; Fri, 18 Jun 2021 10:00:51 +0200 (CEST)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:14:5625:3c22:75e]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id E73C1CD; Fri, 18 Jun 2021 10:00:50 +0200 (CEST)
Received: (nullmailer pid 684747 invoked by uid 1000); Fri, 18 Jun 2021 08:00:50 -0000
Date: Fri, 18 Jun 2021 10:00:50 +0200
From: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: Brendan Moran <Brendan.Moran@arm.com>, "cbor@ietf.org" <cbor@ietf.org>
Message-ID: <YMxSsuXcvgN9gavm@hephaistos.amsuess.com>
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> <66266AD5-748E-4DAD-BA10-2D68C1C09DC5@tzi.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PgBuj/uc+LhZeHXn"
Content-Disposition: inline
In-Reply-To: <66266AD5-748E-4DAD-BA10-2D68C1C09DC5@tzi.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/-Krrjz9DpwGZL08zYz0LGmgFl0Q>
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: Fri, 18 Jun 2021 08:01:01 -0000

Hi,

> > I don’t think it needs one, but feel free to convince me otherwise.
> > Its use should always be explicit since it’s always known by a
> > compressor or decompressor. It should always be in a map of
> > reference/table pairs.
> 
> Actually, I think this should get a media-type, and appropriate
> content-format numbers (and then it would work with file-magic as
> well).

I agree, a content-format number would suffice.

I can't tell whether it should get a self-describing tag *too* or
whether the one that comes with the content format (in which the table
is wrapped in a bstr) suffices.

BR
c

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