Re: [Cbor] CBOR magic number, file format and tags

worley@ariadne.com Thu, 21 January 2021 03:18 UTC

Return-Path: <worley@alum.mit.edu>
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 B34043A1713 for <cbor@ietfa.amsl.com>; Wed, 20 Jan 2021 19:18:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.985
X-Spam-Level:
X-Spam-Status: No, score=-0.985 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=comcastmailservice.net
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 mpAPRvv1As4A for <cbor@ietfa.amsl.com>; Wed, 20 Jan 2021 19:18:15 -0800 (PST)
Received: from resqmta-ch2-01v.sys.comcast.net (resqmta-ch2-01v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 33E973A16FA for <cbor@ietf.org>; Wed, 20 Jan 2021 19:18:09 -0800 (PST)
Received: from resomta-ch2-07v.sys.comcast.net ([69.252.207.103]) by resqmta-ch2-01v.sys.comcast.net with ESMTP id 2QDFlPQF4fFsM2QU4lYIFb; Thu, 21 Jan 2021 03:18:08 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcastmailservice.net; s=20180828_2048; t=1611199088; bh=DPMCrBVKIdS4nxms+xx/acfFGEuEn7rMRo+sUViN4og=; h=Received:Received:Received:Received:From:To:Subject:Date: Message-ID; b=NxIN01zJP1E5mfxdxvirohZyS35lnkfzIx7BnCsCXj9+J/zoRVnFwJCmhIoXPiPPE XnkWABKsIxBr1kFcTybKqeOIxPQkROdZtiGxoh5ZUw3PAOnvCojdVtyCry+sz+pOiB j7lP743iazYx6ahuJTnlD41PmEMpkVfh8Jf7jE8RMOaaK8EK76oagBwtJNTOqncCL9 uev2Klp8i87PVhz+BPhGeAQBfQLgifxucIZvAJlbpLNJi+GWFgw7S9mT454sCJr8zg IhEm/TL0TjUvSfdhDHqbNcF+3ZEPdUbsfDRwAIrOlXcVID22YeYAJn/z9RHz7k3se+ d7UcQzYCRbOIQ==
Received: from hobgoblin.ariadne.com ([IPv6:2601:192:4a00:430:222:fbff:fe91:d396]) by resomta-ch2-07v.sys.comcast.net with ESMTPA id 2QU1lpo6OUbCg2QU2lcxZv; Thu, 21 Jan 2021 03:18:07 +0000
X-Xfinity-VMeta: sc=-100.00;st=legit
Received: from hobgoblin.ariadne.com (hobgoblin.ariadne.com [127.0.0.1]) by hobgoblin.ariadne.com (8.14.7/8.14.7) with ESMTP id 10L3I4YJ021521; Wed, 20 Jan 2021 22:18:04 -0500
Received: (from worley@localhost) by hobgoblin.ariadne.com (8.14.7/8.14.7/Submit) id 10L3I3aT021516; Wed, 20 Jan 2021 22:18:03 -0500
X-Authentication-Warning: hobgoblin.ariadne.com: worley set sender to worley@alum.mit.edu using -f
From: worley@ariadne.com
To: Doug Ewell <doug@ewellic.org>
Cc: mcr+ietf@sandelman.ca, cbor@ietf.org, cose@ietf.org
In-Reply-To: <008501d6ef9b$5cf35ab0$16da1010$@ewellic.org> (doug@ewellic.org)
Sender: worley@ariadne.com
Date: Wed, 20 Jan 2021 22:18:03 -0500
Message-ID: <87mtx3dllg.fsf@hobgoblin.ariadne.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/-6fGJzyQJlvIyBWGnUwCCKaC1pY>
Subject: Re: [Cbor] CBOR magic number, file format and tags
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, 21 Jan 2021 03:18:20 -0000

"Doug Ewell" <doug@ewellic.org> writes:
>> Since very early in computing, operating systems have sought ways to
>> mark which files could be proposed by which programs.
>
> The word "proposed" feels very awkward here. Maybe "opened" or
> "manipulated," or some recasting of the sentence that talks about
> files "belonging to" programs, or something similar.

When I first read that, I mis-read it as "processed by".  I suspect that
is what is intended.

But ... Am I missing something?  Isn't a magic number provided by RFC
8949 section 3.4.6?

   3.4.6.  Self-Described CBOR

   [...]
   Tag number 55799 is defined for this purpose, specifically for use at
   the start of a stored encoded CBOR data item as specified by an
   application.  It does not impart any special semantics on the data
   item that it encloses; that is, the semantics of the tag content
   enclosed in tag number 55799 is exactly identical to the semantics of
   the tag content itself.

   The serialization of this tag's head is 0xd9d9f7, which does not
   appear to be in use as a distinguishing mark for any frequently used
   file types.  [...]

Dale