Re: [Cbor] Updated Drafts for dCBOR I-D and Gordian Envelope Structured Data Format I-D & IANA Tag Registration

Carsten Bormann <cabo@tzi.org> Mon, 08 May 2023 20:35 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 B8906C159A35 for <cbor@ietfa.amsl.com>; Mon, 8 May 2023 13:35:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9DoTEa2n3do7 for <cbor@ietfa.amsl.com>; Mon, 8 May 2023 13:35:18 -0700 (PDT)
Received: from smtp.zfn.uni-bremen.de (smtp.zfn.uni-bremen.de [134.102.50.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 447B9C1519AC for <cbor@ietf.org>; Mon, 8 May 2023 13:35:15 -0700 (PDT)
Received: from [192.168.217.124] (p548dc0f6.dip0.t-ipconnect.de [84.141.192.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4QFY276fGCzDCcV; Mon, 8 May 2023 22:35:11 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CAAse2dEFB_FVP6_KkNANSYPW+yX4-M9pN3YkUq5=FTgLZnyWGw@mail.gmail.com>
Date: Mon, 08 May 2023 22:35:11 +0200
Cc: cbor@ietf.org, Wolf McNally <wolf@wolfmcnally.com>, Shannon.Appelcline@gmail.com
X-Mao-Original-Outgoing-Id: 705270911.424909-00a33e7bff04d6e964f6319bb4bfc95e
Content-Transfer-Encoding: quoted-printable
Message-Id: <4EBE3640-5F7F-46B8-961A-D1872A6A0CA4@tzi.org>
References: <CAAse2dEFB_FVP6_KkNANSYPW+yX4-M9pN3YkUq5=FTgLZnyWGw@mail.gmail.com>
To: Christopher Allen <christophera@lifewithalacrity.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/abykEMPFMuFQrRrJdB9gGvfQ64Q>
Subject: Re: [Cbor] Updated Drafts for dCBOR I-D and Gordian Envelope Structured Data Format I-D & IANA Tag Registration
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.39
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: Mon, 08 May 2023 20:35:22 -0000

On 2023-05-08, at 19:40, Christopher Allen <christophera@lifewithalacrity.com> wrote:
> 
> * Based on feedback from Anders Rundgren, the requirement that CBOR_NEGATIVE_INT_MAX be disallowed has been added.

I don’t understand Section 3.5.
This appears to be confused: the whole range from -(2**64) to
-(2**63)-1 fits in an nint (major type 1) but cannot be represented 
in an int64 and will need to use a larger integer size 
(or bignum support) of the platform.

Grüße, Carsten