Re: [Cbor] 🔔 WGLC with request for reviews on cbor-file-magic-02

Christian Amsüss <christian@amsuess.com> Wed, 20 October 2021 12:16 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 611B13A041C for <cbor@ietfa.amsl.com>; Wed, 20 Oct 2021 05:16:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 9XQcxxXoVdKx for <cbor@ietfa.amsl.com>; Wed, 20 Oct 2021 05:16:48 -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 109BB3A040A for <cbor@ietf.org>; Wed, 20 Oct 2021 05:16:47 -0700 (PDT)
Received: from poseidon-mailhub.amsuess.com (095129206250.cust.akis.net [95.129.206.250]) by prometheus.amsuess.com (Postfix) with ESMTPS id 16325401B7; Wed, 20 Oct 2021 14:16:44 +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 BA07A106; Wed, 20 Oct 2021 14:16:42 +0200 (CEST)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:5a9d:daee:cd20:89d6]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id 691B410A; Wed, 20 Oct 2021 14:16:42 +0200 (CEST)
Received: (nullmailer pid 578322 invoked by uid 1000); Wed, 20 Oct 2021 12:16:42 -0000
Date: Wed, 20 Oct 2021 14:16:42 +0200
From: Christian Amsüss <christian@amsuess.com>
To: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>
Cc: "cbor@ietf.org" <cbor@ietf.org>
Message-ID: <YXAIqp/lAQu26YpB@hephaistos.amsuess.com>
References: <HE1PR0701MB3050661AAA66295ECE439A4089ED9@HE1PR0701MB3050.eurprd07.prod.outlook.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="HI0Syv7LuquNTHKS"
Content-Disposition: inline
In-Reply-To: <HE1PR0701MB3050661AAA66295ECE439A4089ED9@HE1PR0701MB3050.eurprd07.prod.outlook.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/bvG3dlQfXJpqFpuN_ilxQGGZxC4>
Subject: Re: [Cbor] 🔔 WGLC with request for reviews on cbor-file-magic-02
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: Wed, 20 Oct 2021 12:16:52 -0000

Hello John,

thanks for proving this review; just picking a few points to comment:

On Sat, Jul 31, 2021 at 10:02:37AM +0000, John Mattsson wrote:
> Are protocols supposed to use some generic ".cbor" or ...

Independent of the either-or question (which AIU has not been addressed
up to -05), ".cbor" is the extension registered for the application/cbor
type.

> - "00000000  d9 d9 f8 da 4f 50 53 4e  43 42 4f 52         |....OPSNCBOR|"
> I don’t understand where the zeroes come from? Seems like postfix instead of prefix.

It's just the offset in the `hd` output -- read "at location 00000000
are bytes 0xd9, 0xd9, ....".

BR
c

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