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

Joe Hildebrand <hildjj@cursive.net> Thu, 03 September 2026 17:24 UTC

Return-Path: <hildjj@cursive.net>
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 64121134F7962 for <cbor@mail2.ietf.org>; Thu, 3 Sep 2026 10:24:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1788456255; bh=9eSracM7ZqPr1lUGhl05whzltJf8yBgNHz0LGhSiH68=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=KBwL/KtsVXQ9AFyIvfEgGeqfikv0JlLR153boCDZFFLFBh1yjPbmFQ2IiIFocW9ZJ gXa+rgRuG0HIikd1PlLywbW2aKT+GnKnk2D5VgS1qe+EgPh4cSeOFTNaaXq59oqAIB Q1lk2OdtgbTMcPAfKkGtDIzWzgDlqccdmtzVMydw=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=cursive.net
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 Lfcy4UQewASZ for <cbor@mail2.ietf.org>; Thu, 3 Sep 2026 10:24:13 -0700 (PDT)
Received: from mail-qk2-x08.google.com (mail-qk2-x08.google.com [IPv6:2607:f8b0:4864:34::8]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id EC793134F7956 for <cbor@ietf.org>; Thu, 3 Sep 2026 10:24:13 -0700 (PDT)
Received: by mail-qk2-x08.google.com with SMTP id af79cd13be357-9367f27ddcbso3265385a.0 for <cbor@ietf.org>; Thu, 03 Sep 2026 10:24:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cursive.net; s=google; t=1788456253; x=1789061053; darn=ietf.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:content-type:from:to:cc :subject:date:message-id:reply-to:content-type; bh=xZ8rc46nqp8qMVYv6RnQDuWn6+zDOItoM5Q140UmytY=; b=YN4ZuKVcQpjs4Sm1H3ZaGcbzPS+Cj4bXy6Hx/f6wQ1YWwiiAYhZ0mWXc1qBdLpgr1H lpGPaSp8tdUmZxffEIEyfaRBBEjs1ppGKRMszG9+z90eJ8bt7Dg7zlM7YhB+5eyYYgMv 6W18ePfQSxRkPcdY07yGdwW6E6UKfxLMO1F0E=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788456253; x=1789061053; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:content-type:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=xZ8rc46nqp8qMVYv6RnQDuWn6+zDOItoM5Q140UmytY=; b=ps1ezp6An6j8DrVVx+Wq19gVeqpAmImjSuIaDRapwJ/+P5mFXbVWaSmokkj4Vt0pfV xDaNvr9OcqiGDLfNMzhBzgdmUCjUwsS6pEfwLDHQx7p1Y6BG/nX4Y3l81SxOh2Q6El6R Ncw9atLDO+h3p7ZCt1NAwWd93AwEhvPv3a7JbSXNRoCJx0Gds+PlSDDm/d4EPNxLpRKQ s2JR2C4QBKYG0gnTG+lJg55LiiEOM71os+rbr13geq9eGR2VQb1vzoJJFrGRWfL3OdOd triBKBUZN/YxXdA1cOqjP10vjOPE8mxc7IdLoK7/b0yBZNTvruq6H4VfM5nIsWUkZ1bj ipBA==
X-Forwarded-Encrypted: i=1; AKwUvBxAGSw4CS3LjjFEIg9MHoZY3qIEt5EXs9zPm6hhjxFvC+3r8Jf01mAfyLJ/sq07PMkzVimB@ietf.org
X-Gm-Message-State: AFuF++mmhhctCdAyTQEcpJ40GDb2Gsn+mL76THEdRMeKK27cJzx4xhUh AOToO3z1RyvRgqxlbmdQSp6AfALfQjwc13fij4YKYwaMl1wKsPhuY+ASp11ei3lZtg==
X-Gm-Gg: AYBFou3SdbFOoSw/Vg8t9fYbyLrjNCea4OJ1U3UmgYzFkFK+GD5zHsheJ1dvnD3q34h jX23CiB/XGq7036JiycG/uG3iHtNRtgaAtlzkoFZNtXwVeMhmXNgf2QpO8XeR3pJ3C9wZlGsTVE cbRU6tQA3Zvrm0JfOc87h0qQPjKOBz8IzXTfVP+Gzty5jEE6/00qv/uZxURX62b/elXoYvnM1Pb /6vaLiBeOx4+GW711iaoeMqeJZvtG5RTacIm+Pg0MJoCW/Ck09ZMPjYPSBTeTlLrIXzJSHgfGNY drR3xyj01ksN6CR/OhVjhkod5q8vKS7/BvHFDZ5NXGbYhTPURtymGw5jUJwTmXASV+0Iy/TkcSs NunKwySVPHPBpYFfkfu4IeQuOWfRWHqIQQp6Hg8R/jZ7hkMU0EVemIcNj9Yb8vsetQcIhXPwzrD rRhYCTxZK+arBjJrnUKZ+UzPySsE+t+90MLH4DgUOZT8ROTbxKJY+2drNkVr3fyxtFnVT16XTfn sI=
X-Received: by 2002:a05:620a:2892:b0:92e:f3ca:2eaf with SMTP id af79cd13be357-93960dde3femr1570322985a.11.1788456253060; Thu, 03 Sep 2026 10:24:13 -0700 (PDT)
Received: from smtpclient.apple ([104.234.212.72]) by smtp.gmail.com with ESMTPSA id af79cd13be357-9397fb33619sm13086985a.22.2026.09.03.10.24.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Sep 2026 10:24:12 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.700.51.1.1\))
From: Joe Hildebrand <hildjj@cursive.net>
In-Reply-To: <CBA90F61-F1B5-45EB-97F1-9476AB938EE3@island-resort.com>
Date: Thu, 03 Sep 2026 12:24:00 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <9D12847A-66C6-4FBD-A201-9EDC5018EB7E@cursive.net>
References: <CALaySJJa=QjUM5B6d8boiFb8qyRwf6LO32WVVWBGuCWtSmEFCQ@mail.gmail.com> <876653A4-6425-45E1-A77A-F0A6A1315BDD@cursive.net> <CBA90F61-F1B5-45EB-97F1-9476AB938EE3@island-resort.com>
To: Laurence Lundblade <lgl@island-resort.com>
X-Mailer: Apple Mail (2.3864.700.51.1.1)
Message-ID-Hash: OQKQQAPWBZXKLR46QDABGDPK76SWBXWM
X-Message-ID-Hash: OQKQQAPWBZXKLR46QDABGDPK76SWBXWM
X-MailFrom: hildjj@cursive.net
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/ZFsZYgNljqGi0ZGZziJ4kMJeUpQ>
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 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