Re: [Cbor] List of not-well-formed CBOR and test vectors

Laurence Lundblade <lgl@island-resort.com> Sun, 04 August 2019 00:01 UTC

Return-Path: <lgl@island-resort.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 6B1D9120143 for <cbor@ietfa.amsl.com>; Sat, 3 Aug 2019 17:01:50 -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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=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 aJnxgFOI5adc for <cbor@ietfa.amsl.com>; Sat, 3 Aug 2019 17:01:49 -0700 (PDT)
Received: from p3plsmtpa08-08.prod.phx3.secureserver.net (p3plsmtpa08-08.prod.phx3.secureserver.net [173.201.193.109]) (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 104571200F7 for <cbor@ietf.org>; Sat, 3 Aug 2019 17:01:48 -0700 (PDT)
Received: from [172.20.10.4] ([174.222.134.146]) by :SMTPAUTH: with ESMTPSA id u3y7hby27TjRAu3y8hz4Pk; Sat, 03 Aug 2019 17:01:48 -0700
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Laurence Lundblade <lgl@island-resort.com>
In-Reply-To: <2753B3DB-65D4-45C4-8B17-FF504927F1E5@tzi.org>
Date: Sat, 3 Aug 2019 17:00:55 -0700
Cc: cbor@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <E38797B5-FD47-4ED6-86E0-ECEE122B3966@island-resort.com>
References: <CF3F871E-7489-4770-B2FE-1746C392ACF0@island-resort.com> <985940F3-3C57-4A93-8568-C9B9CCE9A3FF@island-resort.com> <8209861E-F3F8-46B5-9B0A-920984C1CD0B@tzi.org> <2753B3DB-65D4-45C4-8B17-FF504927F1E5@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.3445.9.1)
X-CMAE-Envelope: MS4wfIjvsTNlcYvkHm0BLgy7+xKhQk0O7/Qv2Ly86NmQL6TkOGFH1hVE0VvAs9cwh1eObDOGL0Np0YHKx1qP9zk0pm1lTSyNEDfq0THBtPBYTBQ26Kn+N0Yj /McsUCtd+2N0F/L9pfL1cKr1GomKJnlBA2Gks0Pe4+aj6n+GUvQ0kmwpE9tt9GhfEbw/3OIlXRUvIQ==
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/RArFju10Kz7jSM-1U4c6bWy-rjk>
Subject: Re: [Cbor] List of not-well-formed CBOR and test vectors
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: Sun, 04 Aug 2019 00:01:51 -0000

OK. I didn’t realize that “Reserved” was a special key word per 8126. I was going by the dictionary definition. Only super hard-core IETF people will ever look at 8126, so most will get this wrong. 

The 5-bit values 28..30 are listed as reserved in one place and unassigned in another. Probably they should be listed as reserved everywhere (change Table 1).There is no assignment procedure for 28..30 in the IANA section.

LL




> On Aug 3, 2019, at 1:12 PM, Carsten Bormann <cabo@tzi.org>; wrote:
> 
> On Aug 3, 2019, at 19:07, Carsten Bormann <cabo@tzi.org>; wrote:
>> 
>> Well, reserved means “not available for allocation”. 
> 
> (Forgot to cite chapter and verse:)
> 
> https://tools.ietf.org/html/rfc8126#section-6
> 
> Grüße, Carsten
> 
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor