[Cbor] Re: List of all serialization variation (was Re: Working Group Last Call on Serialization draft)

Laurence Lundblade <lgl@island-resort.com> Fri, 04 September 2026 19:48 UTC

Return-Path: <lgl@island-resort.com>
X-Original-To: cbor@mail2.ietf.org
Delivered-To: cbor@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id A294E135BA7FA for <cbor@mail2.ietf.org>; Fri, 4 Sep 2026 12:48:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1788551339; bh=syr0/7M2Z88/PwbF5VZKs0XGkGsBbo3vufXQcujlnss=; h=From:Subject:Date:In-Reply-To:Cc:To:References; b=ViK/pgRhQvTLTBtAMaj5RmuqmkxUoA2hEVMmCrGVBLjIuH4ozz0WYcK8T49Z/If6t iqwvGppsFLFRD4xxuFY5TCzQG78JoF2XXhZh/x6KaqZlARNu93Ywc5zVce0bCpdoxZ LCVr+IRxEswmDAiL9yGIkB+0l0FuP6lNln/Qqvno=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.697
X-Spam-Level:
X-Spam-Status: No, score=-1.697 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, HTML_MESSAGE=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=island-resort.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NEPCXbnmTBhi for <cbor@mail2.ietf.org>; Fri, 4 Sep 2026 12:48:59 -0700 (PDT)
Received: from sender6-pp-f112.zoho.com (sender6-pp-f112.zoho.com [165.173.180.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id DAD67135BA7EF for <cbor@ietf.org>; Fri, 4 Sep 2026 12:48:58 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1788551329; cv=none; d=zohomail.com; s=zohoarc; b=N8qRYQaNTlyzhxAE5bApED/WrwUkheDUG9VcK62ge+W5Y1t68TGMr/0MW8nhw0LsvKh+ZhumtUMi8RhqNRQo5HjQaB4V7A6gjNJlniGPapfBr1ct2k9se8f1XkZR9cYoQJB18pJJ6aw78GYW/3pAKU4Hz25/7NVIdU2DDOmmo2k=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788551329; 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=fUlgGDzUMkCXMd07GF9bAo+I6bW4pCYeN+4sH5+i+m0=; b=QJ2axWfJc0enRrZwqEpASbNvGEHF1C462SntPg/ln+QAigzOAsG2AlOeo9th77nF5UX9LYatPB1C7nMNXPet19Eu2PnaVaKt3NpMVfD/Q+bzvEGCWASeAHkl0OQsYWyrMceXwrJYf0l/TMWzI/4sKdoh3Z3JukXdxpFz/cL0xY4=
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=1788551329; 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=fUlgGDzUMkCXMd07GF9bAo+I6bW4pCYeN+4sH5+i+m0=; b=k6VQsPtW9avZHLqwFI/SyQ47CkucY1OC27PTpFN0gRclxSlAnES8lpwWRshz1ovi pokjTP9qi5QnPWblVFTSsaKo4snvOoNQd5AmkyteN+8ZsZ2Bv6wX+jq1O3hypn86Swk //9j7/+edHHEjnmhIlGrjrRQkKO/1sGp3G2J17UY=
Received: by mx.zohomail.com with SMTPS id 1788551326796678.8868164795305; Fri, 4 Sep 2026 12:48:46 -0700 (PDT)
From: Laurence Lundblade <lgl@island-resort.com>
Message-Id: <D92FE8C2-5C66-4BA8-A422-E9AE6711E5FA@island-resort.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_A06A4040-7894-4BA2-896A-3CF7AFB2E0E6"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81.1.8\))
Date: Fri, 04 Sep 2026 12:48:32 -0700
In-Reply-To: <9D12847A-66C6-4FBD-A201-9EDC5018EB7E@cursive.net>
To: Joe Hildebrand <hildjj@cursive.net>
References: <CALaySJJa=QjUM5B6d8boiFb8qyRwf6LO32WVVWBGuCWtSmEFCQ@mail.gmail.com> <876653A4-6425-45E1-A77A-F0A6A1315BDD@cursive.net> <CBA90F61-F1B5-45EB-97F1-9476AB938EE3@island-resort.com> <9D12847A-66C6-4FBD-A201-9EDC5018EB7E@cursive.net>
X-Mailer: Apple Mail (2.3826.700.81.1.8)
X-Zoho-Virus-Status: 1
X-Zoho-AV-Stamp: zmail-av-0.2.13.1.5.4/288.530.38
X-ZohoMailClient: External
Message-ID-Hash: 6QZ5B65ROC4X42ECGNGYCA2X2C7U4QFC
X-Message-ID-Hash: 6QZ5B65ROC4X42ECGNGYCA2X2C7U4QFC
X-MailFrom: lgl@island-resort.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cbor.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Barry Leiba <barryleiba@gmail.com>, CBOR Working Group <cbor@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Cbor] Re: List of all serialization variation (was 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/QIAaACEtnOZm0R9dkJha3q3if0U>
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>

Ahh yes, Unicode should be mentioned.

This has prompted me to rework Appendix B to be a list of things other than serialization needed for full determinism:
 - Data model
 - Unicode
 - Tags

See 

https://github.com/cbor-wg/draft-ietf-cbor-serialization/pull/85
Rework full protocol determinism appendix by laurencelundblade · Pull Request #85 · cbor-wg/draft-ietf-cbor-serialization
github.com





> On Sep 3, 2026, at 10:24 AM, Joe Hildebrand <hildjj@cursive.net> wrote:
> 
> I was thinking about Unicode normalization forms, but maybe there's something else?
> 
> — 
> Joe Hildebrand
> 
>> On Sep 3, 2026, at 10:57 AM, Laurence Lundblade <lgl@island-resort.com> wrote:
>> 
>> Appreciate the thorough review!
>> 
>>> On Aug 18, 2026, at 12:05 PM, Joe Hildebrand <hildjj@cursive.net> wrote:
>>> 
>>> s2.1.1: I suggest "it may mandate deterministic serialization for all implementations in order to eliminate all serialization variability" -> "it may mandate deterministic serialization for all implementations in order to minimize serialization variability", since there are other sources of serialization variability.
>> 
>> 
>> I can’t think of any other sources of serialization variability. Seems important to be sure we got themm all. They are listed in the description of [General Serialization]. Map sort ordering is missing, but I will add it [PR-unordered]. Am I missing something?
>> 
>> - map sorting
>> - def/indef lengths
>> - CBOR argument length
>> - float length
>> 
>> 
>> There is variability at the data model level that needs to be addressed for full determinism of a protocol, but that is not serialization variation.
>> 
>> LL
>> 
>> 
>> [General Serialization]: https://www.ietf.org/archive/id/draft-ietf-cbor-serialization-08.html#name-general-serialization
>> [PR-unordered: https://github.com/cbor-wg/draft-ietf-cbor-serialization/pull/84/changes
>> _______________________________________________
>> CBOR mailing list -- cbor@ietf.org
>> To unsubscribe send an email to cbor-leave@ietf.org
>