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

Carsten Bormann <cabo@tzi.org> Sat, 03 August 2019 17:07 UTC

Return-Path: <cabo@tzi.org>
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 EC29B12011A for <cbor@ietfa.amsl.com>; Sat, 3 Aug 2019 10:07:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.197
X-Spam-Level:
X-Spam-Status: No, score=-4.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 EUHDa3jmWcvW for <cbor@ietfa.amsl.com>; Sat, 3 Aug 2019 10:07:32 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 37DBF1200A3 for <cbor@ietf.org>; Sat, 3 Aug 2019 10:07:32 -0700 (PDT)
Received: from [192.168.217.120] (p548DCCB9.dip0.t-ipconnect.de [84.141.204.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4619Sf4vg6zyTP; Sat, 3 Aug 2019 19:07:30 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <985940F3-3C57-4A93-8568-C9B9CCE9A3FF@island-resort.com>
Date: Sat, 03 Aug 2019 19:07:30 +0200
Cc: cbor@ietf.org
X-Mao-Original-Outgoing-Id: 586544848.413924-813e05ad61e3815404a5cc9a5bbdf32d
Content-Transfer-Encoding: quoted-printable
Message-Id: <8209861E-F3F8-46B5-9B0A-920984C1CD0B@tzi.org>
References: <CF3F871E-7489-4770-B2FE-1746C392ACF0@island-resort.com> <985940F3-3C57-4A93-8568-C9B9CCE9A3FF@island-resort.com>
To: Laurence Lundblade <lgl@island-resort.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/-J7VkiUzq3R9TVTgMvaM9byx9jE>
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: Sat, 03 Aug 2019 17:07:34 -0000

On Aug 3, 2019, at 18:54, Laurence Lundblade <lgl@island-resort.com> wrote:
> 
> Will turn this in to an appendix for CBORbis in about a week. 

Do you think the test vectors need to be in the document?
I’d rather leave them in a resource that directly can be used by implementers.

> marked as “reserved” in 7409 (I’d prefer to call them “permanently disallowed”

Well, reserved means “not available for allocation”.  I know that the term has occasionally been misused, but that is not a reason to excise it from all documents now.  These numbers are exactly as reserved as ai=28, 29, 30 are.  Not legal now, but very much available for a future standards effort if there ever is one that extends CBOR beyond its premeditated extension points.

Grüße, Carsten