[Cbor] Re: Working Group Last Call on Serialization draft
Joe Hildebrand <hildjj@cursive.net> Wed, 02 September 2026 19:11 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 7188D13420EDA for <cbor@mail2.ietf.org>; Wed, 2 Sep 2026 12:11:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1788376287; bh=tZSrwjEmFrIakermdK9iU+Hp1GEkRpqGHIp9mQ59Tic=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=ur68OVS9OT4+49pyYWvW1F8myy3teHD0Ds6jF3FEaCWtn78RwpCtrGvPXIORu0jIr XYhpo8mgHs1cZJaI9j2e1sNRRxF2MA5T1FZZe9JSgBmO4IhJwcPoVpC4grjmGeEeV2 me+fttY/CgV5uyAVQeaCnNMYytNoUyltY3/omhl0=
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 4PvthVQynKV0 for <cbor@mail2.ietf.org>; Wed, 2 Sep 2026 12:11:25 -0700 (PDT)
Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) (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 8856F13420ED5 for <cbor@ietf.org>; Wed, 2 Sep 2026 12:11:25 -0700 (PDT)
Received: by mail-oi1-x235.google.com with SMTP id 5614622812f47-4a4cb36ae00so976150b6e.0 for <cbor@ietf.org>; Wed, 02 Sep 2026 12:11:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cursive.net; s=google; t=1788376279; x=1788981079; 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=CBdt3iWqNjIV5DziVshCKQD8SPkQMgiih/VdejGJ4dA=; b=kNatySGk7QQ4ACooFZm07rLJyQ8rmF6llJOsItmE3AhLk4awIiIRLV1/SO08U0OH5d FTp1a6rhosq+Qg8oDcLp3eq7bNSA43FqTUd8tEe1EBvcxMUE4XjBviSNy1jOV08bUfZa oaUIYcoofh76kGXIAywKPGW9QRGUhyhmV4NSg=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788376279; x=1788981079; 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=CBdt3iWqNjIV5DziVshCKQD8SPkQMgiih/VdejGJ4dA=; b=miZp1Zmp+qJYU4Wc9EmiqgzmUR9nvHyZ6GO+1lqijLT2z0oj/uwxH/3JZcI5e3ifIL bsBog+AZKO4Rfk+cE22iqyR1WQETOsH2Jl4NSEBj7UGtbgcd+HLXWl3anrPvdmiUwVSm K08rUyt6ZpdcHHm+2lhHglV1kpGhCG+EHSO1/9oaX1np3aX/vw2nmAubHOQPjOHuprYr JQm8JN2M1vCYwHrNKNOogNxM8SSNlNZwkEt/OxKr20ty/rmw8GQJbgAvM1ax0mjSPHTX Sda1SfVg2KJkgpM3tlDLnl1EFw2YS8Y3KSO7LE4FNNgkw1sR9fmna0mjqupCWTWoSOTi /v8Q==
X-Forwarded-Encrypted: i=1; AHgh+Rp4fOC9OE12ptTxIP8Jo/BaFwHTShpzL0UYqRzry1evGSWIRPNycLP1NxAMDFpjEC4Lmgaq@ietf.org
X-Gm-Message-State: AFuF++ldT9RCAGkRH2Q1s7pXx5Glj1NC25LhBkTiOYRZIc44GmLVhhnK H8QdyNBLlOqyXKS3q8uQyee8AfUTspZQjq6lrDmy6l+sbQ4lQBacjQa0MTUGs8votg==
X-Gm-Gg: AR+sD12i5GgX4AYBLeaoKEC5eVMTLSF0NBHjOQ9gYj3j0/L8Xwt7sqDwYDgG4YKFE4w Fa9GOvsDF7kdnC0jJlD6/vGH7blAIgLcfeYnFf+paGoeVpVZ5uI2CiipIheQHxK5hXE5NHxOoE0 n7tJsw/nkdzqWCg8ruh3Qx1bKSp/9zjQ6xGq005e7prJcK0ob6+KC7+o6dKpI4CubKAiUy6Uap9 EtxNiKCqhLTKoOWX1iAfmOrrnsP3nsXe9C8bN61JqRmJ4KgiHD5qwuH+R0klu2VR9XgaOZ6a5aB sFwbcKERS5IEK6vEWNpHuUu9RsvHMcXwSbChGoilrN6hXpG4XxQCe4zkgqxD0+tK0+//2cCwnjs ODYV34R35kUgaW7PTq7Q2xShyKn/Iovxp2nq+SjQtCUjcJLcJEqYHSvr+IQ6h5GS0tdFC1LvOz3 yqa+smn39YZfJtGp5R4We8N6dk4PEAVzMkI85N4SRhtmLKqTfsCAGkvuVG+jPASjSJFpe21q95o N86uHee
X-Received: by 2002:a05:6808:1982:b0:4b3:8afb:ee27 with SMTP id 5614622812f47-4b6bc4457eemr5134525b6e.3.1788376278785; Wed, 02 Sep 2026 12:11:18 -0700 (PDT)
Received: from smtpclient.apple ([50.172.192.236]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-46f30c9fed6sm4830770fac.7.2026.09.02.12.11.17 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2026 12:11:17 -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: <488C9C74-7DD4-4D46-836D-D88FE29198B0@cursive.net>
Date: Wed, 02 Sep 2026 14:11:04 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <933AACE2-C959-4832-B78E-D0FCA3BBF457@cursive.net>
References: <CALaySJJa=QjUM5B6d8boiFb8qyRwf6LO32WVVWBGuCWtSmEFCQ@mail.gmail.com> <876653A4-6425-45E1-A77A-F0A6A1315BDD@cursive.net> <7D242660-39F1-4CC0-A0F3-45A37DD3B448@island-resort.com> <488C9C74-7DD4-4D46-836D-D88FE29198B0@cursive.net>
To: Laurence Lundblade <lgl@island-resort.com>
X-Mailer: Apple Mail (2.3864.700.51.1.1)
Message-ID-Hash: CVQKV47PZD7PLC6K5HEQEMHMC3JRRBVX
X-Message-ID-Hash: CVQKV47PZD7PLC6K5HEQEMHMC3JRRBVX
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: 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/0Z8qJ0riXxoRcQkfZajyOM3KVAU>
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>
Oh, and a little bit of guidance for protocol designers on when they should mandate this. *Very* rarely, and only if it is particularly security-relevant. — Joe Hildebrand > On Sep 2, 2026, at 2:09 PM, Joe Hildebrand <hildjj@cursive.net> wrote: > > This is close for me. I'd like one more bit, which is that protocol designers can decide whether their protocol *requires* a checking decoder. I agree that checking should not be the default. > > — > Joe Hildebrand > >> On Aug 31, 2026, at 3:19 PM, Laurence Lundblade <lgl@island-resort.com> wrote: >> >> Joe, I don’t quite get what you are after here yet. Which sections are inadequate? >> >> I am thinking of adding this text to the decoder requirements for both preferred-plus and deterministic: >> >> The above requirements are what the decoder MUST accept. A decoder complying to these requirements can also accept other well-formed serializations if it is being liberal in what it accepts. If a decoder chooses to accept only these requirements, then it is a “checking decoder” as described in appendix H. >> >> I don’t think any CBOR library should default to a checking decoder. It should be a mode that is selectable when and end-end protocol specifies it, or a particular deployment wants it. >> >> It’s never an input validation security issue. Non-checking decoders must do bullet-proof input validation. >> >> LL >> >>> On Aug 18, 2026, at 12:05 PM, Joe Hildebrand <hildjj@cursive.net> wrote: >>> >>> - (most important) Make it clear in each section whether the rules apply to encoders or decoders. >>> - Make it clear that it is up to the protocol designer what to do when decoding inputs that are not in the expected encoding. This is good for protocols where encoding errors (attacks?) might have security consequences. A couple of examples or criteria could help protocol designers decide. There is some text in appendix H but it isn't directive enough. >>> - Make a note that even if the protocol designer did not specify that checking should be done, it may make sense to check on inputs on non-constrained devices to increase the likelihood of finding encoding errors before crashing constrained devices. >> >> >
- [Cbor] Working Group Last Call on Serialization d… Barry Leiba
- [Cbor] Re: Working Group Last Call on Serializati… Anders Rundgren
- [Cbor] Re: Working Group Last Call on Serializati… Laurence Lundblade
- [Cbor] Re: Working Group Last Call on Serializati… Brian Sipos
- [Cbor] Re: Working Group Last Call on Serializati… Rohan Mahy
- [Cbor] Re: Working Group Last Call on Serializati… Brian Sipos
- [Cbor] Re: Working Group Last Call on Serializati… Laurence Lundblade
- [Cbor] What is the data model used in draft-ietf-… Christian Amsüss
- [Cbor] [off-list] What is the data model used in … Christian Amsüss
- [Cbor] Re: Working Group Last Call on Serializati… Vadim Goncharov
- [Cbor] Re: Working Group Last Call on Serializati… Carsten Bormann
- [Cbor] Re: Working Group Last Call on Serializati… Vadim Goncharov
- [Cbor] Re: [Ext] Working Group Last Call on Seria… Paul Hoffman
- [Cbor] Re: [Ext] Working Group Last Call on Seria… Laurence Lundblade
- [Cbor] Re: Working Group Last Call on Serializati… Joe Hildebrand
- [Cbor] Re: Working Group Last Call on Serializati… Laurence Lundblade
- [Cbor] Re: Working Group Last Call on Serializati… Anders Rundgren
- [Cbor] Re: Working Group Last Call on Serializati… Laurence Lundblade
- [Cbor] Re: Working Group Last Call on Serializati… Carsten Bormann
- [Cbor] Re: Working Group Last Call on Serializati… Vadim Goncharov
- [Cbor] Re: Working Group Last Call on Serializati… Laurence Lundblade
- [Cbor] Re: Working Group Last Call on Serializati… Vadim Goncharov
- [Cbor] Re: Working Group Last Call on Serializati… Joe Hildebrand
- [Cbor] Re: Working Group Last Call on Serializati… Joe Hildebrand
- [Cbor] List of all serialization variation (was R… Laurence Lundblade
- [Cbor] Re: List of all serialization variation (w… Joe Hildebrand
- [Cbor] Re: List of all serialization variation (w… Laurence Lundblade
- [Cbor] Re: List of all serialization variation (w… Laurence Lundblade
- [Cbor] Serialization checking and big numbers (wa… Laurence Lundblade
- [Cbor] Re: Serialization checking and big numbers… Laurence Lundblade
- [Cbor] Re: Working Group Last Call on Serializati… Laurence Lundblade
- [Cbor] Re: Working Group Last Call on Serializati… Martine Sophie Lenders
- [Cbor] Promote Appdendix A (was Re: Working Group… Laurence Lundblade
- [Cbor] Re: Working Group Last Call on Serializati… Mikolai Gütschow
- [Cbor] Re: Working Group Last Call on Serializati… Anders Rundgren
- [Cbor] Tag rule -> update to 8949 (was Re: Workin… Laurence Lundblade
- [Cbor] Re: Working Group Last Call on Serializati… Laurence Lundblade
- [Cbor] Re: Working Group Last Call on Serializati… Carsten Bormann
- [Cbor] Re: Working Group Last Call on Serializati… Laurence Lundblade
- [Cbor] Re: Working Group Last Call on Serializati… Laurence Lundblade