[Cbor] tags for non-CBOR Content-Formats (was Re: I-D Action: draft-ietf-cbor-file-magic-07.txt)

Michael Richardson <mcr+ietf@sandelman.ca> Wed, 15 December 2021 18:24 UTC

Return-Path: <mcr+ietf@sandelman.ca>
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 C4B933A0A17 for <cbor@ietfa.amsl.com>; Wed, 15 Dec 2021 10:24:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=sandelman.ca
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 N9DJx_2c85LY for <cbor@ietfa.amsl.com>; Wed, 15 Dec 2021 10:24:12 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 100FE3A0A13 for <cbor@ietf.org>; Wed, 15 Dec 2021 10:24:11 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id F2AA038C55 for <cbor@ietf.org>; Wed, 15 Dec 2021 13:28:19 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JSSs-nqtf8XM for <cbor@ietf.org>; Wed, 15 Dec 2021 13:28:19 -0500 (EST)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id F02A538C50 for <cbor@ietf.org>; Wed, 15 Dec 2021 13:28:18 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sandelman.ca; s=mail; t=1639592898; bh=59wXIm4yi7Vgxt4iLanDjgkDXaehF+MF2SRV47HMWDs=; h=From:To:Subject:In-Reply-To:References:Date:From; b=MA5hPBuom323f1oPZ354jIRW0ImahTOEf/TMhzNw5RKFnqV0BTw/FIhLMBLmsa7TV KlaVYB9klH1Q8SEIuDOmsPBJh3LDGNtixiCxqWDtzKstcPZJ+wUaYWZ3ixObXPgDV3 4sd9EKeuQWEEJufWWSfCsf4Zhu5dY1jGGuR8xx9vCVRqCzu3XLEWq8q9Zm5I7kcapC DsPopGsURW+olWr7UxwMDv+7Si9lGD9SsWE5ZwhChnswupYuVspFh034D/GnvGBcjk uJdVBXCvJzPMdVH29wYmiqoFPhhP1FdZKu2XGYskXP7muYAMTkcEPIVZsUMSvL4LDt gRkotViDBe+6g==
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id AD05D418 for <cbor@ietf.org>; Wed, 15 Dec 2021 13:24:07 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: cbor@ietf.org
In-Reply-To: <163957657258.13411.7816087918094513382@ietfa.amsl.com>
References: <163957657258.13411.7816087918094513382@ietfa.amsl.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Wed, 15 Dec 2021 13:24:07 -0500
Message-ID: <4768.1639592647@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/HJhe9J3pcfk85fL-DPEEGiSQS6U>
Subject: [Cbor] tags for non-CBOR Content-Formats (was Re: I-D Action: draft-ietf-cbor-file-magic-07.txt)
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, 15 Dec 2021 18:24:17 -0000

> 3.  The encoded three byte CBOR byte string containing 0x42_4F_52.

This is in: https://datatracker.ietf.org/doc/html/draft-ietf-cbor-file-magic-07.txt#appendix-C
I see the argument to make this an appendix since it does not tag CBOR
content.  I fear that the reviewers and IESG will be confused though.

Should it really use CBOR as bytes 8-11, since the content is not, in fact, CBOR?
Maybe we should say something else.  I don't feel strongly about this.


--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide