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

Jim Schaad <ietf@augustcellars.com> Sun, 04 August 2019 02:07 UTC

Return-Path: <ietf@augustcellars.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 7C0EE12014A for <cbor@ietfa.amsl.com>; Sat, 3 Aug 2019 19:07:00 -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, RCVD_IN_DNSWL_NONE=-0.0001, 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 74AqFuRaSylJ for <cbor@ietfa.amsl.com>; Sat, 3 Aug 2019 19:06:58 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7AEB7120018 for <cbor@ietf.org>; Sat, 3 Aug 2019 19:06:58 -0700 (PDT)
Received: from Jude (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sat, 3 Aug 2019 19:06:48 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Carsten Bormann' <cabo@tzi.org>
CC: cbor@ietf.org, 'Laurence Lundblade' <lgl@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> <E38797B5-FD47-4ED6-86E0-ECEE122B3966@island-resort.com>
In-Reply-To: <E38797B5-FD47-4ED6-86E0-ECEE122B3966@island-resort.com>
Date: Sat, 03 Aug 2019 19:06:46 -0700
Message-ID: <02eb01d54a69$469418f0$d3bc4ad0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Content-Language: en-us
Thread-Index: AQJSmtkf2jd1VIPan6N28KV0e+8ZZAHQycF4AYOtz+kBusOZnQLiC7+zpbASZgA=
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/kBFXjqRZ88iSnExfvdIMsfbtKwU>
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 02:07:01 -0000

I would agree.  I think it is worthwhile to put the reasoning for the reserve into the document.  Perhaps as part of the DE instructions so that it does not accidently get assigned after you retire and stop doing the work.

Jim


-----Original Message-----
From: CBOR <cbor-bounces@ietf.org> On Behalf Of Laurence Lundblade
Sent: Saturday, August 3, 2019 5:01 PM
To: Carsten Bormann <cabo@tzi.org>
Cc: cbor@ietf.org
Subject: Re: [Cbor] List of not-well-formed CBOR and test vectors

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

_______________________________________________
CBOR mailing list
CBOR@ietf.org
https://www.ietf.org/mailman/listinfo/cbor