[Cbor] Re: New Videos on dCBOR-based Gordian Envelope
Anders Rundgren <anders.rundgren.net@gmail.com> Thu, 15 August 2024 13:19 UTC
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 32B00C11D366 for <cbor@ietfa.amsl.com>; Thu, 15 Aug 2024 06:19:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NDPYd1CKgSNn for <cbor@ietfa.amsl.com>; Thu, 15 Aug 2024 06:19:44 -0700 (PDT)
Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (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 ietfa.amsl.com (Postfix) with ESMTPS id 83EC9C1CAE6A for <cbor@ietf.org>; Thu, 15 Aug 2024 06:19:39 -0700 (PDT)
Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-428ec6c190eso6120975e9.1 for <cbor@ietf.org>; Thu, 15 Aug 2024 06:19:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723727978; x=1724332778; darn=ietf.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=aNJbwA/cH9c8d9l56YjeNMdknoaTU3abiLuikkj/Tso=; b=Y7BbOKdbtfkBPkkHut+Ssz9JxgcKyZk3meWKZHLAE47eUaZnk1TOvFisQq9RjgE+e3 aX590s1xqIOLC8TPuN9mz2nLztIkf+58orF5Ilu7jLElSo2NkoXUtIGBRHKNdY9IZgcE tEmXb6IU0x2K0EeYXGi6rb5wb8APLDpXtusDH5Udw3iJWk/OwiTSwI3j3x8+UwMH+dVK lbZJiLdfFjxNCz7RpTYOEmT8HhO73Z8x1EWgjrQpNjf6KmYLBUYfGAZX8cL2FcdyOVKX PLQT0Q7HSvK6KUisTHkRV9OluvcQNdIc4yE4/h3m4FW2vW1LjCTLIcB4arj4yPBcelTK ogFQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723727978; x=1724332778; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aNJbwA/cH9c8d9l56YjeNMdknoaTU3abiLuikkj/Tso=; b=TjF5CCCpa++LMVBf6eKHn1wT8WTBFJLaiQm24uJDr2vVcOX4BtjeBNHcvexzRt/t/A SNva1dY9Tczy6OYX+EUXwH8JtkGG96FZ+NcAiUKKWyMOytL+xaK7L+5/mDDPdtdyPmiy 5vmD4cN4wAnZ8ilKyxvujT3fEsX97QKuvrKHspSTc4Ob5MjdXbgd1gAveq0upmcQsEKi vJ0duVX/IdLncAJJ339dZOPtqZ6xl+VZ3usKSeRUJwYUDninyHFrPEbcr2wEcR5r9SX9 I2ttpRoD0aP1NVEDtU5iaxX5SsUsuFqwJ7lwah9Pc4iWs1lX+w+qnEk472EyaWieb5cf JYwQ==
X-Forwarded-Encrypted: i=1; AJvYcCU6jHScQwYo3/F1n2UOZZCdTVsZagLqR3dm3vPfYFFa0NjlJG5OST1PGuA+V1vuqNtF6czEAQN5Y5D11DKi
X-Gm-Message-State: AOJu0Yx0RlDpnYz8tGpAxx7FKtK1q/OoxpJamol5iymkwtKcpFPHmBt+ gLaaUJnikfSXZqD91+An6bmqE6aoRpO5Mz6qckznD4wiS7pFUr/whvjmvg==
X-Google-Smtp-Source: AGHT+IE0mZ3DxXISPmC43xXlmR6f6oNIW39gHWfBmJ/wWC7sZnKQ4aH4YtF3TZBiDhMs74aaU7h4CA==
X-Received: by 2002:a7b:cb17:0:b0:426:6f31:5f5c with SMTP id 5b1f17b1804b1-429e0288e5emr28635185e9.17.1723727977236; Thu, 15 Aug 2024 06:19:37 -0700 (PDT)
Received: from ?IPV6:2a01:e0a:e1b:64b0:9933:a5eb:8c6e:53c2? ([2a01:e0a:e1b:64b0:9933:a5eb:8c6e:53c2]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-371893b75afsm1552221f8f.0.2024.08.15.06.19.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Aug 2024 06:19:36 -0700 (PDT)
Message-ID: <a3b613c5-5145-43bf-a31f-c7f74e008629@gmail.com>
Date: Thu, 15 Aug 2024 15:19:36 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
From: Anders Rundgren <anders.rundgren.net@gmail.com>
To: Wolf McNally <wolf@wolfmcnally.com>
References: <32c2ce8b-ef7b-4ed7-855d-a0694ca70af7@gmail.com> <D26A81A3-33E1-48B6-991B-2DA62FD1602E@wolfmcnally.com>
Content-Language: en-US
In-Reply-To: <D26A81A3-33E1-48B6-991B-2DA62FD1602E@wolfmcnally.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Message-ID-Hash: YY4A5INT3ST7YXHV6BPQ2LWCNPAASAAE
X-Message-ID-Hash: YY4A5INT3ST7YXHV6BPQ2LWCNPAASAAE
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: Christopher Allen <ChristopherA@lifewithalacrity.com>, CBOR <cbor@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Cbor] Re: New Videos on dCBOR-based Gordian Envelope
List-Id: "Concise Binary Object Representation (CBOR)" <cbor.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/R1Hjob0E-SA8GRk29ZgxXLzgW8Y>
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>
Hi Wolf/CBOR WG, TL;DR warning. CDE CONSIDERATIONS Although this wasn't clear during my initial encounter with deterministically encoded CBOR, the core problem was/is that RFC8949 does not fully specify all deterministic encoding rules, with numbers as the most striking example. IMO, clarifying the encoding rules is the *only* thing CDE needs to do. Since CBOR to date appears to have managed quite well without specific standardized "Application Profiles", I consider this feature an unnecessary complication, at least for applications and CBOR implementations that adhere to a *strict subset* of CDE. The handling of non-deterministically encoded CBOR should be left to implementations and applications to deal with. The main reason for leaving out this part is that implementations typically make this a run-time or compile-time option. In a generic, *platform-wide* CBOR implementation, it would be plain stupid not making preferred serialization and map sorting optional: https://cyberphone.github.io/android-cbor/distribution/apidoc/org/webpki/cbor/CBORObject.html#decode(java.io.InputStream,boolean,boolean,java.lang.Integer) There is also a conceptual problem with application profiles: CBOR implementations may support a wider range of CBOR data items than needed by a specific application. Requiring a 1-2-1 match would be pretty impractical. There are multiple ways addressing this problem, including type-checking access methods: https://cyberphone.github.io/android-cbor/distribution/apidoc/org/webpki/cbor/CBORObject.html#getInt64() That is, it does not make sense creating specific *encoding* profiles for applications that for example limit integer support to Int64/Uint64. A simple list or table showing the level of CBOR data item support required by the application should suffice. Now over to the subject line... dCBOR CONSIDERATIONS I certainly do not have an authoritative answer to whether it would impose a problem creating a standard on top of something that effectively has been rejected as a standards proposal. Personally, I would try to eliminate potential obstacles. Regarding "Numeric Reduction" I can only refer to what Carsten wrote in response to my question regarding its superiority compared to the CDE counterpart: "It is a technically sound solution", which nobody disagrees with. IMHO, dying on this particular hill obscures the great job you have done with Rust and Swift support. The other constraints seem to be pretty generic. Well, converting -0.0 to 0.0 is (AFAICT...) redundant using IEEE-754 math rules. Regards, Anders On 2024-08-15 00:19, Wolf McNally wrote: > Anders, > >> On Aug 14, 2024, at 4:40 AM, Anders Rundgren <anders.rundgren.net@gmail.com> wrote: >> >> Thanx Christopher, >> >> It all looks interesting but it also raises a question: can you really build IETF standards on a foundation (dCBOR) which did not got WG adoption? > > GPT-4o: Anders is making a categorical mistake by implying that something not gaining WG adoption in the IETF automatically disqualifies it from becoming a standard or from being used as the basis for one. He seems to believe that only WG-approved technologies can form the foundation of IETF standards, which is simply not true. > > In reality, many technologies that begin on the Independent Stream (ISE) can, and do, influence standards or become de facto standards themselves if they prove useful and gain significant adoption. ISE RFCs often serve specific communities or use cases that may not require WG approval, but this doesn't prevent their adoption in other standards or protocols. Furthermore, the IETF standards process is not the only way a technology becomes a standard—widespread industry adoption can sometimes lead to formal recognition later. > > Additionally, dCBOR’s role as a deterministic profile of CBOR, even on the ISE track, doesn't preclude Gordian Envelope from being standardized. dCBOR addresses a very specific problem—deterministic serialization—which is crucial for cryptographic operations, and if it proves useful in practice (e.g., in blockchain applications, digital signatures, secure messaging), it can become a foundational technology regardless of its WG status. > > In summary, Anders’ argument that dCBOR's ISE status somehow disqualifies it from becoming a standard or forming the basis of future standards is flawed. Practical utility, widespread adoption, and real-world application often drive the success of a technology far more than whether it passed through the formal WG process. > > ~ Wolf
- [Cbor] New Videos on dCBOR-based Gordian Envelope Christopher Allen
- [Cbor] Re: New Videos on dCBOR-based Gordian Enve… Wolf McNally
- [Cbor] Re: New Videos on dCBOR-based Gordian Enve… Anders Rundgren
- [Cbor] Re: New Videos on dCBOR-based Gordian Enve… Anders Rundgren