[Cbor] Re: π WGLC on draft-ietf-cbor-cde-08
Anders Rundgren <anders.rundgren.net@gmail.com> Fri, 07 March 2025 05:10 UTC
Return-Path: <anders.rundgren.net@gmail.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 AB7508AD792; Thu, 6 Mar 2025 21:10:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, FREEMAIL_FROM=0.001, 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 (2048-bit key) header.d=gmail.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 iz7n2x6x-Rks; Thu, 6 Mar 2025 21:10:15 -0800 (PST)
Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (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 202738AD784; Thu, 6 Mar 2025 21:10:15 -0800 (PST)
Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-43bc31227ecso8002115e9.1; Thu, 06 Mar 2025 21:10:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741324214; x=1741929014; darn=ietf.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=z8YSxIWBNaKRRUKLb198bHNzaeTswFhfY5uz0Dkopjo=; b=ajt776vafnuBwfXJU+UyHJ1Nta0NOaHE9bcOQjYoju4DrPl7hWcuvqY7A415DSeyWb JwF7WeIjD8AmhhrGw2nPLjmpwkKZsarzpFn+MKnouOZgKbZEWB/A44mCEb5LiaPMwOGy vWmW73bM16LkKKkQXdjlJOjO2WMhMtdPkegX+JWQwb3M1mCytsbCEnaNcsALVUsnEj6c 8lZeIkYQvEL+L6GT4GkXcXxnm9wJK0wtACnk7lSMzYpC2mRN4rDRqeEOmOuGEfUuC8In N9awiFYhGGf9DUzUXyen2oORctutluzr2p2RkzJgbBYMSx4vud35oSeL94xs7fM6GKSX 8ZtA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741324214; x=1741929014; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=z8YSxIWBNaKRRUKLb198bHNzaeTswFhfY5uz0Dkopjo=; b=lxu9T+U+JspJ9xIGrDOG6VIE5jfbezEQca8ZxfCCU4w2lgEwNyrVqUd3P2+0Tj4PsW O27ReNr88yJijv9Rr2jIYgpDr4iNt6F2I4+JnMBx2v9azs+rPj7eHT/S5JHjMkLabXIu cRBLgM7Kh+MU6+drpRZxBpdn1lyaF+kKEh63EQdHzaie12qqaB/NzeY1i5qphzoDoz/4 d4460lS6Tdc3l4yyDItCsTNq2+rMcawUA5U+kNWxTGVy10rgMpadim1SX0RJt1nTOL6w 8v41Pzy5/azHOY4TWTxPBGYcSr0abilPDiqBdpfH2LmzXtmoUYdi5wg4kE3Ulin0gU9A kedQ==
X-Forwarded-Encrypted: i=1; AJvYcCVg28JYLUAXfr+NM4hnMUvhC0LX4OYIr4nfOENLhOw2QCp4D8SDR4uwZA82JpC+vgEwaYDI@ietf.org
X-Gm-Message-State: AOJu0YzQ+Sn9KzH7sbK+ptJbZLuBWwt9cnFqNWpRpA2C6LevR7z3qAz9 pHXnFnrHFc1VyE86nl7dsmK9iXF2KDGRt7MLTv6LchftR5gMexGZ8eGYxg==
X-Gm-Gg: ASbGncuKqXQn4ZRNs8/K8ff+E51Beoo4t+p7c8rgHoNaljMCVW0geuzlcrixmv2O6TW jTD5CeM5CVa4Hebnt1VGOhMJdXdH7nN7Q7e8/rCuXf8owUzNLgagXky/fqVd6+Qvfvc4/EXn651 cS52Q7zzkrRBTsGCoz1AHRpTDIj9ZcN/3akMbCNMkhW5HtXTmi/WN5wENEbRjNfzK4ZCsTRzKIw t5eQlM6jEEQOB227wGH45NOD+ozEZ7CyotBdrwXoRh1SC1Xk7YIEkfrOfd9kcUfIQCZDtWt6i91 5dx4e6L4RlrJ+qWw59v4H6VTAfC3MlTfhYxstuB5awqYBMR7v06oFrjs9IbfiRbWemd7OF4gMoB CXEjXszY2R26UYcf583D/KsDdEvD6gRGFMM3/CwqsK0IcFmATbQ==
X-Google-Smtp-Source: AGHT+IFFOyCoSboA7ncTh0CdjRQdwknqltrbxTXExYt7fT3SNI54vR2zBSdhRw9FbI3Nnlnha2u+8g==
X-Received: by 2002:a05:6000:1867:b0:391:253b:405d with SMTP id ffacd0b85a97d-39132d98a1emr1045266f8f.41.1741324213778; Thu, 06 Mar 2025 21:10:13 -0800 (PST)
Received: from ?IPV6:2a01:e0a:e1b:64b0:988e:9633:505a:2add? ([2a01:e0a:e1b:64b0:988e:9633:505a:2add]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-43bd4352eccsm69016975e9.27.2025.03.06.21.10.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Mar 2025 21:10:13 -0800 (PST)
Message-ID: <5ef05153-d127-4bd4-9679-b521c7d5135c@gmail.com>
Date: Fri, 07 Mar 2025 06:10:12 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Christian AmsΓΌss <christian@amsuess.com>, cbor@ietf.org
References: <Z8oi3HMTum5eriSw@hephaistos.amsuess.com>
Content-Language: en-US
From: Anders Rundgren <anders.rundgren.net@gmail.com>
In-Reply-To: <Z8oi3HMTum5eriSw@hephaistos.amsuess.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Message-ID-Hash: ZCZ6DPDIS3HLGKTZ5GCQRXH5F3VBKAI6
X-Message-ID-Hash: ZCZ6DPDIS3HLGKTZ5GCQRXH5F3VBKAI6
X-MailFrom: anders.rundgren.net@gmail.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: draft-ietf-cbor-cde@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Cbor] Re: π WGLC on draft-ietf-cbor-cde-08
List-Id: "Concise Binary Object Representation (CBOR)" <cbor.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/2tgHTlheVhaOMpecfeZ-ORFm1hE>
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>
On 2025-03-06 23:34, Christian AmsΓΌss wrote: > Hello CBOR group, > > as discussed in the last interim[1], it's time to run a Working Group > Last Call on CBOR Common Deterministic Encoding (CDE) [2]. +1 Although I am not in favor of the CDE draft, *I do support* its publication as an RFC because the only other credible alternative I can come up with, is abandoning this work-item in its entirety. Just "for the record", here is a condensed list of why I don't consider this work particularity useful: UNCLEAR RATIONALE: There is nothing to find regarding the need and use of deterministic encoding. That some of the list participants use deterministic encoding to avoid COSE-style "bstr" wrapping of CBOR to be hashed, apparently does not fit the CBOR WG agenda. In spite of being informed, nobody representing COSE have bothered looking into this issue, although it could have pretty far-reaching consequences. UNFINISHED RESEARCH: That we after two years of work, do not know why the target applications for dCBOR (a CDE profile), need non-standard handling of numbers seems a bit odd to me. COMPATIBILITY ISSUES: CDE is some kind of "framework" for people creating RFC 8949 profiles, that as far as I can tell, typically are mutually incompatible, at least if using the more common definition of compatibility which is at system-level: talking to a system using the dCBOR flavor of CBOR from another system using another CBOR "dialect", not abiding to "numeric reduction", doesn't seem like a very useful task. Making map-sorting potentially optional is another step in the wrong direction. MIXING LEVELS: The CDE draft spans everything from encoding numbers to how you deal with objects having multiple representations (like some CBOR date objects). It is hard to see any (valid) connection between these topics, including the fact that they should have pretty different audiences. VERBOSITY: CDE is (obviously) a follow-up document to RFC 8949. As such it inherited a style of writing which I as a "normal engineer" have issues with. Both documents feels more like "PhD dissertations", than specifications targeting implementers. Personally, I used https://cbor.me as the "truth", when navigating RFC 8949. I could certainly go on, but this is the gist of it. ++UPSIDE++ A good thing (really?!) about the CDE activity, is that it forced me to come up with an alternative take on the matter: a concrete, cross-platform specification, directed towards tool- builders supporting the developer segment designing applications for browsers, mobile phones, Web severs, etc. For this lot, CBOR is just a set of data types, there is not even a "CBOR data model"! Deterministic encoding is mandatory; no need to confuse the intended user base with (technically) redundant questions like: Do I need deterministic encoding? These users are not supposed to dig into RFC 8949 either. Based on the limited response, I do the assumption that the IETF have no interests in taking CBOR to places where JSON currently reigns, not to mention, challenging COSE. Regards, Anders Rundgren > > This document has seen controversial discussion. I hope that most > concerns have been addressed, and ask both those who have long since > been happy with the document and those whose concerns were addressed to > state that on the list. Likewise, for those who do not agree with the > document, this thread is a good spot to state their concerns here in a > concise way (referencing archived threads for details can help keep > things short while preserving context). > > As a special note, there is a text proposal with protocol from Laurence > on design considerations around ALDRs on [3]; Carsten is taking that up > into an appendix and will provide a PR link / updated document. This is > a sufficiently isolated concern that we don't need to wait for an > integrated document (to be available when submissions reopen). If > guidance on ALDR is something where you think the current document is > lacking, please have a look at [3] or the upcoming PR. > > > The call will run until Marh 26th to accommodate for lack of > availability during IETF122. > > Best regards, > Christian > > PS. We don't have a shepherd assigned for this document, any volunteers? > > [1]: https://datatracker.ietf.org/meeting/interim-2025-cbor-05/session/cbor > [2]: https://datatracker.ietf.org/doc/draft-ietf-cbor-cde/ > [3]: https://mailarchive.ietf.org/arch/msg/cbor/G6w0Rz0eW9GJNd1et8I899Ua9MQ/ > > > _______________________________________________ > CBOR mailing list -- cbor@ietf.org > To unsubscribe send an email to cbor-leave@ietf.org
- [Cbor] π WGLC on draft-ietf-cbor-cde-08 Christian AmsΓΌss
- [Cbor] Re: π WGLC on draft-ietf-cbor-cde-08 Anders Rundgren
- [Cbor] Re: π WGLC on draft-ietf-cbor-cde-08 Wolf McNally
- [Cbor] Re: π WGLC on draft-ietf-cbor-cde-08 Anders Rundgren
- [Cbor] Re: π WGLC on draft-ietf-cbor-cde-08 Carsten Bormann
- [Cbor] Re: π WGLC on draft-ietf-cbor-cde-08 Anders Rundgren
- [Cbor] WGLC redux (Re: π WGLC on draft-ietf-cbor-β¦ Carsten Bormann
- [Cbor] Re: WGLC redux (Re: π WGLC on draft-ietf-cβ¦ Carsten Bormann
- [Cbor] Re: WGLC redux (Re: π WGLC on draft-ietf-cβ¦ Anders Rundgren
- [Cbor] Re: WGLC redux (Re: π WGLC on draft-ietf-cβ¦ Carsten Bormann
- [Cbor] Re: WGLC redux (Re: π WGLC on draft-ietf-cβ¦ Anders Rundgren
- [Cbor] Re: WGLC redux (Re: π WGLC on draft-ietf-cβ¦ Carsten Bormann
- [Cbor] Re: WGLC redux (Re: π WGLC on draft-ietf-cβ¦ Laurence Lundblade