[Cbor] Re: Working Group Last Call on Serialization draft

Laurence Lundblade <lgl@island-resort.com> Wed, 23 September 2026 17:16 UTC

Received: from sender4-pp-f112.zoho.com (sender4-pp-f112.zoho.com [136.143.188.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx.ietf.org (Postfix) with ESMTPS id D06AA46 for <cbor@ietf.org>; Wed, 23 Sep 2026 17:16:33 +0000 (UTC)
Authentication-Results: mx.ietf.org; dkim=none ("invalid DKIM record") header.d=island-resort.com header.s=island header.b=m0N7pdvd; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (mx.ietf.org: domain of lgl@island-resort.com designates 136.143.188.112 as permitted sender) smtp.mailfrom=lgl@island-resort.com
ARC-Seal: i=1; a=rsa-sha256; t=1790183790; cv=none; d=zohomail.com; s=zohoarc; b=QjBVf2sbOxWhhZK+JUZ5CGR8V7YyvEfYS96OKGML/pHW1eWZ4hmMb6rW+/6DVnmZCdLwsF38Nux/iDlyqBo0bGcjrCuHUTmQ1dTW/avMzfNl0T7JojNSxAJOnsf/wRcQCmlX/tCYRqc1wUgAesTC5x3WG9Am3innBryfyWCTAPM=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1790183790; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=tyUfLYqvL1gFPAper7nEPvw+Wsd3yMem53wlGw4F8bY=; b=jhPPSf1YBP0OlGVVd873O587qBD6AJp4ZTxjJrrlQ7ZnU9C5zrWnYYMOJMkKXwxACFUhZqowb6esaB4JEsdAqoQWDqduTS9FCv8Fft0Mn/KGO3H4SBR7etCJqHWqsjNdfekxG7hWyvY5acZVGMO4is4CLT+dTXRdgPpPx9b47Sw=
ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=island-resort.com; spf=pass smtp.mailfrom=lgl@island-resort.com; dmarc=pass header.from=<lgl@island-resort.com>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1790183790; s=island; d=island-resort.com; i=lgl@island-resort.com; h=From:From:Message-Id:Message-Id:Content-Type:Mime-Version:Subject:Subject:Date:Date:In-Reply-To:Cc:Cc:To:To:Reply-To; bh=tyUfLYqvL1gFPAper7nEPvw+Wsd3yMem53wlGw4F8bY=; b=m0N7pdvdzgYw6ISmL2HO98ic20IOEuyCaNDX0HHVhr9YF+TaNGdzKG7hRibnL4iL 0X4VGynLyeU/sHkkDAvH9qqEi3mO2SnrWkKaxMQlP/yMXGzWDjJUfP78JPi8LLjB60C XDSFzuxE32mdmNbBXUex/GXMr+cbu+krFfcS0tro=
Received: by smtp.zohomail.com with SMTPS id 1790183788726819.7191756818843; Wed, 23 Sep 2026 10:16:28 -0700 (PDT)
From: Laurence Lundblade <lgl@island-resort.com>
Message-Id: <CEFBFBEB-92B7-46D3-B3D6-9308EDEC0760@island-resort.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_855FBF6E-5D57-4A4F-9A42-1059E19CEFCD"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81.1.8\))
Date: Wed, 23 Sep 2026 10:16:17 -0700
In-Reply-To: <9b8b6b83-e86f-4721-a69c-138242873463@tu-dresden.de>
To: Mikolai Gütschow <mikolai.guetschow@tu-dresden.de>
References: <CALaySJJa=QjUM5B6d8boiFb8qyRwf6LO32WVVWBGuCWtSmEFCQ@mail.gmail.com> <9b8b6b83-e86f-4721-a69c-138242873463@tu-dresden.de>
X-Mailer: Apple Mail (2.3826.700.81.1.8)
X-ZohoMailClient: External
X-Spamd-Bar: /
Message-ID-Hash: 62KZCWWHDZAOZYFK3OGLYNXZHJD742HO
X-Message-ID-Hash: 62KZCWWHDZAOZYFK3OGLYNXZHJD742HO
X-MailFrom: lgl@island-resort.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-cbor.ietf.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: cbor@ietf.org
X-Mailman-Version: 3.3.10
Precedence: list
Subject: [Cbor] Re: Working Group Last Call on Serialization draft
List-Id: "Concise Binary Object Representation (CBOR)" <cbor.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Se8BXEGqa2sPPJI1RjWbp7QXgLo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Owner: <mailto:cbor-owner@ietf.org>
List-Post: <mailto:cbor@ietf.org>
List-Subscribe: <mailto:cbor-join@ietf.org>
List-Unsubscribe: <mailto:cbor-leave@ietf.org>

I’ve responded to everything except where Mikolai calls out subjective claims. I haven’t figured out how to respond to those yet. This has resulted in lots of fixes that are merged in GitHub.

LL


[editor’s draft]: https://cbor-wg.github.io/draft-ietf-cbor-serialization/draft-ietf-cbor-serialization.html
[diff]: https://author-tools.ietf.org/api/iddiff?doc_1=draft-ietf-cbor-serialization&url_2=https://cbor-wg.github.io/draft-ietf-cbor-serialization/draft-ietf-cbor-serialization.txt



> On Aug 30, 2026, at 7:49 AM, Mikolai Gütschow <mikolai.guetschow@tu-dresden.de> wrote:
> 
> Hej all,
> 
> I've now taken the time to read most of the draft -- the entirety of the main document and some of the appendices. In general I like the clarity of the text wrt what protocol designers / implementers should do or not do.
> 
> I've split my comments into questions, editorial notes/suggestions and typos. In general, there were quite some places where the draft makes claims that make it sound (to me) more informational than normative. It is often unclear from which evidence these claims come from. Maybe it is possible to reduce them, or make them sound less bold. I've marked them below in editorial. All comments in document order.
> 
> Name bikeshedding: I don't like the term "preferred-plus" (after all, it is rather "preferred-minus-indefinite-length"), but it is probably not worth discussing further at this point.
> 
> Provided that my comments are addressed (either by a draft update, or by a discussion on the mailing list), I think this document is good to go.
> 
> ## editorial
> - abstract:
>  - Hard to understand without CBOR context. Can we provide some more background?

Made a large improvement 


>  - "largely compatible", "widely implemented" not measurable - rather state as aim?
> - 1:
>  - missing put into context, strange to refer to appendix first -> agree to move A.1 back in here

Moved it.


>  - table 1 feels more like an enumeration


> - 1.1:
>  - "In practice, most CBOR usage occurs outside highly constrained environments." claim?


> - 1.3:
>  - "largely interchangeable with the way the serializations described in STD94 are implemented." -> comparison provided?
>  - "with what is commonly implemented." claim


> - introduction: could we have an overview (table-like) of all defined serialization requirements? similar to what I asked for back in CDE days: https://www.ietf.org/archive/id/draft-ietf-cbor-cde-13.html#tab-constraints

I looked at it, but it in that form it adds another dimension to this document, the one Carsten keeps going for, where we break down prefp and dtrm into concepts and then reassemble them. Maybe in an appendix, but I don’t see it as helpful for the main user of this document. It just adds length.

But maybe you meant something else?


> - end of introduction / 1.4 should provide structure of the document to prepare the reader, otherwise 2 comes a bit surprising before defining what the actual serializations are (but table-like overview could help as well)
> - 2.1.1.
>  - "There is one situation in which a framework protocol MUST require deterministic serialization" how do we know it is the only one?

Adjusted the wording so it doesn’t really make that claim.


> - 3.1
>  - "CBOR Web Token RFC8392, for example ..." reads like motivation for whole document and feels a bit out-of-place here, maybe it fits better in the introduction?

Moved it


> - 3.2.
>  - "is efficient" claim

> - 4.2
>  - "If big numbers (tags 2 and 3) are accepted (...) Big numbers described in Section 3.4.3 of STD94 MUST be accepted" - reads a bit strange. Does this refer to special requirements laid out there? Then I would name them here directly. Otherwise it is just a restatement of the premise.

Reworded.


> - 4.4
>  - "These differences are not of significance in real-world implementations" claim


> ## questions
> - 4.1/2
>  - Decoder may not accept single/double precision float, but encoder MUST encode it (if does not fit half-precision) - Isn't that an interoperability problem? Also clashes with claim in 4.3

Big update to these requirements should address this.


> - 7
>  - Does this additional rule on tag definitions warrant an official UPDATE of 8494?

Yes


> - 8
>  - Shouldn't "prefp" and "dtrm" need to be strings? According to CDDL, right-hand side of a control operator is a CDDL type, and those are not defined here

Fixed


> ## typos
> - 2.2.2 "it is RECOMMENDED that it implement preferred-plus serialization" -> "that a CBOR library implements"
> - 3.2 "See also special serialization" -> "serializations"
> - 4.1 "shortest-form of the CBOR argument" -> "shortest form"
> - 4.4 replacement for preferred serialization -> add reference to STD94
> - C.2 "do no provide APIs" -> “not"'

Fixed

> 
> Best
> Mikolai
> 
> 
> 
> On 7/30/26 16:19, Barry Leiba wrote:
>> With the posting of the -08 version, the Serialization draft is going
>> into working group last call.
>>    https://datatracker.ietf.org/doc/draft-ietf-cbor-serialization/
>> Please review this version and post issues and comments to the CBOR
>> list within the next two weeks: earlier is better.  Working group last
>> call will end on Friday, 14 August.
>> Barry, for the chair team
>> _______________________________________________
>> CBOR mailing list -- cbor@ietf.org
>> To unsubscribe send an email to cbor-leave@ietf.org
> 
> -- 
> Mikolai Gütschow
> TU Dresden, Chair of Distributed and Networked Systems
> https://tu-dresden.de/cs/netd/about/team/guetschow
> 
> _______________________________________________
> CBOR mailing list -- cbor@ietf.org
> To unsubscribe send an email to cbor-leave@ietf.org