[Cbor] draft-edn-for-tls (was: Rebooting the naming discussion)
Vadim Goncharov <vadimnuclight@gmail.com> Fri, 08 May 2026 23:12 UTC
Return-Path: <vadimnuclight@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 2CE60EB7E5DC for <cbor@mail2.ietf.org>; Fri, 8 May 2026 16:12:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1778281958; bh=8qrIYpmRPjAoG1MMGzmfSg3XUxGuVV91o6Oaa4n0RS4=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=b2YU3s9sXi93tTWeB+b+A7u898LOOCBmWIaK5v32QFekUTk+cBkuqPwQPcFjnmQyP Ec+mdHmz/FHhRmLrqmOupllZqgd70yahv7v58Jk/ttUcFFFtdnx4NAAM43LQ8zMsC7 wLTUW57kSZxYNlAtfhI3OmFISAmI19vaedj7P+J4=
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 g1gX3gcerX5Z for <cbor@mail2.ietf.org>; Fri, 8 May 2026 16:12:37 -0700 (PDT)
Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (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 1A7E7EB7E5D5 for <cbor@ietf.org>; Fri, 8 May 2026 16:12:37 -0700 (PDT)
Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-5a865d1547aso3346921e87.1 for <cbor@ietf.org>; Fri, 08 May 2026 16:12:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778281956; x=1778886756; darn=ietf.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=IUsUwW2M1uu81Uw/aZbSUxzuPg4T1FC+lrbsfZNmE7g=; b=dUJs0bHiasLO3vnWNcUr8G3RRXO23Qu1QHCCm5QzjfdewjKmH0luiSymNg6wSBm/tO fFZKftt4LUROZbTsdo1Du9SGM3y4xZG/yjk0xfxr5DKtw+N2ISVCAmgDgBEmAAD8vsb8 ROyXA53ACtUdzED9aKkyEaux+vBshV5rjLobr0inwoN8fGYg0IOJXWXHNaBZLP6Oyq6a qOZu6opIm4GUlYpaddnSobKcf1vCNCE0P6fzOnE+EoBcz9hncpf4yW6Wswx3ihjx2V++ sqVAFm87w3NMB0VGQ/U3Gl67NR1EqnstQ7qOK/YKo1lPv1p/TK9BnsaZDhGvHnNqnC3h tXHA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778281956; x=1778886756; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=IUsUwW2M1uu81Uw/aZbSUxzuPg4T1FC+lrbsfZNmE7g=; b=AW1Y7fxCtLxy7tRSMbzQThRWFVY9eKWEkd2Yb2DpA7GWGnUvqox/JXRB18fq7il76T F0YTK/izI78jkkM3pH+Tn2hfjbWcLKp1LhDKSdVq8X7NJB2cJVbewbK4PwSxjhP2OOLi LYZUvQ4B6ffSvA8Klmevi2Zus6xaQlhWRY7yZrt9nrRBx0E5mM5dwDh9lDZ7ee795NDO flqPYrNO5YiSGdMylmg9vyaMZAT5wVaa0fZnCzXA3i7XSSmPTWKb8oexlsJf9YVqoke+ +0ljCGWRs90ZF5F78D8wgD52jA1eQpoq0oT2WiJftQ5qofdl1NWw33YHMyJdNqMp95XU yriQ==
X-Forwarded-Encrypted: i=1; AFNElJ+yleBkwzbUSfogaEFL7u6iE3PevGavwjdWc3Fob39S9Q7NIgnttz9wciXsCIYpSqvs7KHw@ietf.org
X-Gm-Message-State: AOJu0YxgVmtiKtn50McNcfpY5f70O75Brx4JCIDoxW9WiyAA6HpZL/JZ 4O6XxiDLJvf6/OObXC7zLVcGKyXJAHWSGFgnr0z8EIu1y9++eFhggrzn
X-Gm-Gg: Acq92OGLR3A6tBhElB0m1BdgO+9PtMNee8wpODUmGv5wWLZAdDAQaOjCQFmPn0LMvB0 tL+3e03mHHiGnxKzoLExWFgKp7SYJWQRm6294a3MKOnPiWalXo06naKbrhmhZPFfenqB+aJmN55 XGShG5s/FknQNXTBAe2GBRN10WjreSgVO0mGWya1mRLUyqOvbOt3lXzWo/EhKhUse9yBXBTOPWj 6BQp6e7ZEQbp2jWWaQoNuFGqzR+9Hniq9Iqr0x5wZZ+jQGXkot8UmxgO8JCW1LPX+rvng3zIioV hsRRQTHhK0mRaasdr0QVvkHw+aEeUrI62uaDmd6PlehzUA0aQil5J5hVC0YOn358LN8m/J8oMpE x+Cm+kXjnYx5SzLFOfOYWIYdtPDvveTWGfTGXSQgydZgeC1DLG54tPfqbVowozm3mfKWhks8+Az 9iK4tKxRWX5A/H8rEAT/EsaAgBxDzT+rSt8WshVd2nh1EDbSAyxIZKO1X2GYaXz9mRg3bx+3tkU hQ6
X-Received: by 2002:a05:6512:1091:b0:5a3:e7f1:5946 with SMTP id 2adb3069b0e04-5a899b980b2mr2711721e87.9.1778281955577; Fri, 08 May 2026 16:12:35 -0700 (PDT)
Received: from nuclight.lan (broadband-77-37-180-76.ip.moscow.rt.ru. [77.37.180.76]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5a8a95660absm873051e87.65.2026.05.08.16.12.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 May 2026 16:12:35 -0700 (PDT)
Date: Sat, 09 May 2026 02:12:31 +0300
From: Vadim Goncharov <vadimnuclight@gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Message-ID: <20260509021059.3eb68a0a@nuclight.lan>
In-Reply-To: <4F8D3784-95D6-4168-8A71-267E43A27314@tzi.org>
References: <177746864313.330731.1323092014299188811@dt-datatracker-b45949c58-t72jx> <20260429192059.7e7ade5b@nuclight.lan> <DDA81B0B-0E8E-4312-9AEE-897B91477395@tzi.org> <29349.1777845854@obiwan.sandelman.ca> <20E50EDD-7D4A-4789-8764-823565066B34@tzi.org> <CAKoiRuZK_YEwW-79vGzF_tDNYX-ydfTKFZL6rO4gkCoWKyM87w@mail.gmail.com> <4F8D3784-95D6-4168-8A71-267E43A27314@tzi.org>
X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; amd64-portbld-freebsd13.5)
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: 5JQ2QQGNXHJY2EOTCI3ZSBG5CVDRHPXP
X-Message-ID-Hash: 5JQ2QQGNXHJY2EOTCI3ZSBG5CVDRHPXP
X-MailFrom: vadimnuclight@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: Rohan Mahy <rohan.mahy@gmail.com>, CBOR <cbor@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Cbor] draft-edn-for-tls (was: Rebooting the naming discussion)
List-Id: "Concise Binary Object Representation (CBOR)" <cbor.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/8nnJ0G1kqFjvvS90SMthpGWijU8>
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 Tue, 5 May 2026 19:54:28 +0200 Carsten Bormann <cabo@tzi.org> wrote: > On May 5, 2026, at 19:20, Rohan Mahy <rohan.mahy@gmail.com> wrote: > > > > Another reason to not restrict EDN to CBOR: > > https://www.ietf.org/archive/id/draft-mahy-cbor-edn-for-tls-00.html I don't understand the whole goal of this draft. How this is supposed to be used? Examples in EDN describe something in CBOR, not TLS' binary format (which isn't explainable why it is used at all in 2020's for new RFCs instead of CBOR, but that's another topic). Is this a EDN-to-TLS converter, or vice versa? Please explain how it is to be used in tooling - what accepts it, what produces, etc. Why EDN at all for the alien format, let the dead bury their dead... > Nice! > > The document’s text does position our diagnostic notation as a CBOR format, > which it indeed is. Maybe having CBOR in the docname (file name) and in the > introductory text doesn’t actually hurt that much? (If you do a > s/extended/CBOR/g the text still makes a lot of sense!) > > (Of course, TLS should never have been called TLS because that abbreviation > meant thread-local storage for anyone active in making platforms exploit > multicore CPUs at the time. That separate meaning doesn’t seem to have hurt > either, even if it *still* is called “SSL” in a lot of places.) In fact TLS should just die, together with all ASN.1 and X.509, but the latter will live longer, even in CBOR-based alternative... Still to be considered as legacy, hope we will be still alive when it's phased out.. > Grüße, Carsten > > PS.: The convention > # ~~~ tls followed by the struct name > is quite related to (if less formal than) the mapkey proposal; great food > for thought! BTW, tls<<“structname”, …>> would work without the need to > extract information from comments. +100500: comments syntax looks as quite ugly crutch given that we app-literals. The first example actually should like like: tls-pl<< tls-definition` enum { false(0), true(1), (255) } Bool; enum { red(1), yellow(2), green(3) (255) } Color; struct { uint16 id; uint8[16] nonce; Bool active; Color traffic_light_color; uint32 divisible_by<V>; opaque reason; } FooBar; `, { "id": 16798, "nonce": h'f6bafb33a535d1fd05bef225d2ac8f35', "active": true, "traffic_light_color": 3, # Color green "divisible_by": [3, 5, 11], "reason": 'server down' }>> for inline definition, and your suggested tls-pl<<“structname”, …>> when definition was seen earlier. This then would correspond to CBOR binary string which has h'that serialized instance' The only thing we should care here at the comment/pragma level is an "include" for file with struct definitions or something other type of reference here (CDDL?). May be also an "unwrap" from h'' to raw binary string, but this is just a guess which may be wrong depending to answers in first part of message. -- WBR, @nuclight
- [Cbor] registrations before WGLC Re: I-D Action: … Vadim Goncharov
- [Cbor] I-D Action: draft-ietf-cbor-edn-literals-2… internet-drafts
- [Cbor] Re: registrations before WGLC Re: I-D Acti… Rohan Mahy
- [Cbor] Re: registrations before WGLC Re: I-D Acti… Carsten Bormann
- [Cbor] Re: registrations before WGLC Re: I-D Acti… Rohan Mahy
- [Cbor] Re: registrations before WGLC Re: I-D Acti… Carsten Bormann
- [Cbor] Re: EDN file extension (Re: registrations … Rohan Mahy
- [Cbor] Re: EDN file extension (Re: registrations … Carsten Bormann
- [Cbor] Re: EDN file extension (Re: registrations … Vadim Goncharov
- [Cbor] Re: EDN file extension (Re: registrations … Carsten Bormann
- [Cbor] Re: EDN file extension (Re: registrations … Vadim Goncharov
- [Cbor] Re: registrations before WGLC Re: I-D Acti… Vadim Goncharov
- [Cbor] EDN file extension (Re: registrations befo… Carsten Bormann
- [Cbor] Re: EDN file extension (Re: registrations … Vadim Goncharov
- [Cbor] Re: EDN file extension (Re: registrations … Michael Richardson
- [Cbor] Re: EDN file extension (Re: registrations … Vadim Goncharov
- [Cbor] Rebooting the naming discussion (Re: EDN f… Carsten Bormann
- [Cbor] Re: Rebooting the naming discussion (Re: E… Vadim Goncharov
- [Cbor] Re: Rebooting the naming discussion (Re: E… Rohan Mahy
- [Cbor] Re: Rebooting the naming discussion (Re: E… Carsten Bormann
- [Cbor] Re: Rebooting the naming discussion (Re: E… Michael Richardson
- [Cbor] Re: Rebooting the naming discussion (Re: E… Carsten Bormann
- [Cbor] Re: Rebooting the naming discussion (Re: E… Laurence Lundblade
- [Cbor] Re: Rebooting the naming discussion (Re: E… Vadim Goncharov
- [Cbor] Re: Rebooting the naming discussion (Re: E… Carsten Bormann
- [Cbor] Re: Rebooting the naming discussion (Re: E… Vadim Goncharov
- [Cbor] Re: Rebooting the naming discussion (Re: E… Carsten Bormann
- [Cbor] EDN (fileext) naming and compatibility (Wa… Vadim Goncharov
- [Cbor] Re: Rebooting the naming discussion (Re: E… Rohan Mahy
- [Cbor] Re: Rebooting the naming discussion (Re: E… Carsten Bormann
- [Cbor] Re: Rebooting the naming discussion (Re: E… Rohan Mahy
- [Cbor] draft-edn-for-tls (was: Rebooting the nami… Vadim Goncharov
- [Cbor] Re: draft-edn-for-tls (was: Rebooting the … Rohan Mahy
- [Cbor] Re: draft-edn-for-tls (was: Rebooting the … Vadim Goncharov
- [Cbor] "<other-binary-format> should just die" (w… Rohan Mahy
- [Cbor] Re: draft-edn-for-tls (was: Rebooting the … Rohan Mahy
- [Cbor] Re: why TLS is bad | Was: "<other-binary-f… Rohan Mahy
- [Cbor] Re: draft-edn-for-tls (was: Rebooting the … Vadim Goncharov
- [Cbor] Re: why TLS is bad | Was: "<other-binary-f… Vadim Goncharov
- [Cbor] Re: why TLS is bad | Was: "<other-binary-f… Christopher Allen
- [Cbor] Re: why TLS is bad | Was: "<other-binary-f… Vadim Goncharov