[COSE] Re: Example EDN in draft-ietf-cose-merkle-tree-proofs-17
Orie <orie@or13.io> Sat, 15 November 2025 21:45 UTC
Return-Path: <orie@or13.io>
X-Original-To: cose@mail2.ietf.org
Delivered-To: cose@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 040818A32151 for <cose@mail2.ietf.org>; Sat, 15 Nov 2025 13:45:40 -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, HTML_MESSAGE=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=or13.io
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 DUv5q38vkMzU for <cose@mail2.ietf.org>; Sat, 15 Nov 2025 13:45:39 -0800 (PST)
Received: from mail-vs1-xe2a.google.com (mail-vs1-xe2a.google.com [IPv6:2607:f8b0:4864:20::e2a]) (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 7A8AD8A3214A for <cose@ietf.org>; Sat, 15 Nov 2025 13:45:39 -0800 (PST)
Received: by mail-vs1-xe2a.google.com with SMTP id ada2fe7eead31-5dfaceec8deso2033978137.0 for <cose@ietf.org>; Sat, 15 Nov 2025 13:45:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=or13.io; s=google; t=1763243139; x=1763847939; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=jIVNOHusBoa1gKmUEhMfUJypMSAE3FI1pJa9F8yJLW4=; b=cOAQt+t2Q3tg0JOR9NfmgCkc4jkeYEhJJ4YFoVBg3Ykb1U0pI2Pfh7wulMZlFbERr7 Iu6CCJ6YGxyKsL92UFzCgkWiuQkp/1m83VDr+7r8VuYAetKgLc6pAWrXafUa6VD8WDrb VVM2kzyDHgI79V6l8Q7ORXckdlEbaT5+zATLfZ0RqybVL/cwkbO9hmnoXP+9T95nau5y ypBdVlEpDaaZ+ekzxz6w+6j5kP84XvB6NkL101CGrlLKDYsLrBeKRdBixl8AfpoOxPr7 vViv/lFEB5bpUAxqUmGHGNoR8H/fbgYe/syS1tYj8Ew3xYkmTiIwWgdXi26/Ofg4gk3w 5MdA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763243139; x=1763847939; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jIVNOHusBoa1gKmUEhMfUJypMSAE3FI1pJa9F8yJLW4=; b=UFP1rHcAGoRs/F4HPdG2lD8jVos/FMsSCgfJa3WHGzdz5B5r7+KQRKqtgHFiJnWfnW T68riQ1ct5WqHxIANqDHJ3EVghQgehXf1Fs9Rr+6FtiXe1m3ws34a1bdeyMB2n4IltaE V02rNcJPughGDUthhN9NFT3hLVz7GYQS7LD0qqn7xYG7S4WFHuA7ULOJlZngzerdfvl6 ITkSEMhk1cZFV2pkGqvYzcFGUFmLkfksdeG7uaV2iheSUr2AdhE1jJ1n6g++spnlDKv9 afL1WHPpPNd0Zwo5v+9mNri4EHj4gNNkmjmBZ96kRuDyzt+/1+rWPdhOp7dvW224gh7w duEg==
X-Gm-Message-State: AOJu0YxGrH7KLCj5eNIt85Y2aNPqLwChOpTPo3jcGaHteaxRkht/R5Tw uvjk0gdHEF+2V3bOpc+X53CYJwJqNHl6RUR6iv9MQPae3e2R08szgqxk9nyGkF+L3ZWCAiQaEzv eIyagQCEpyaCGk6d+BEkJ1048+xrGWt923cyft82vow==
X-Gm-Gg: ASbGncv1KyCqHD8opuy2NEZbazynKVv3pnURLfvGcheRcEKz2ks75BsZwuklSlm5Ufq aOhYUwkXtEAof7+c3cZbChsRjGJrhtxd+tfXRUBVEaUVQ4BTzS+/3m0IEa1+tagD1wxXd5UMtG+ I9ZtiALJ73KcxO8zZVyVp1AV6YWbc4HrVqB/lmzLEH0/r5XxBCPxlELCZfHkx5O/pW/lYbHFDK1 mR3OpxY8jiHzDmYIRSxB/tiBH7xOg7Mv04wP1AGQVrG2h9WDkQ1BwWUcyDuRYTAcS9d5xVM
X-Google-Smtp-Source: AGHT+IERVbwzvvTSYHbV/ZRBulB/KtKpHqgbRThRw38KHqnSRguf63I7ttN2xFoukj4k1lWZP9R4LaqmpbIG85ow36I=
X-Received: by 2002:a05:6102:cd1:b0:5d7:dddd:5709 with SMTP id ada2fe7eead31-5dfc5365800mr2791535137.0.1763243138862; Sat, 15 Nov 2025 13:45:38 -0800 (PST)
MIME-Version: 1.0
References: <CAMzqgoxJgtG=C4A7_cO-BdY9vi9dO7O2sS4MRmRAKWcuZ1vjUw@mail.gmail.com> <858CBDB0-AB67-4A5A-8669-EDDC9AEE42E8@tzi.org>
In-Reply-To: <858CBDB0-AB67-4A5A-8669-EDDC9AEE42E8@tzi.org>
From: Orie <orie@or13.io>
Date: Sat, 15 Nov 2025 15:45:28 -0600
X-Gm-Features: AWmQ_bkomT7ZnQp5kYPRxE5ZO_YOoWexOiulDnnNUukKqL5IsTMVP7VG_gWNck8
Message-ID: <CAMzqgoxJXjcBj0_z=41=oSMQyrd9m2G2_-EyMZfjK4rg+ywJHA@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>, Henk Birkholz <henk.birkholz@ietf.contact>
Content-Type: multipart/alternative; boundary="000000000000f1de070643a908e0"
Message-ID-Hash: VDLA6J4BSX6UQNFOPVLONXYQUOLHPSGM
X-Message-ID-Hash: VDLA6J4BSX6UQNFOPVLONXYQUOLHPSGM
X-MailFrom: orie@or13.io
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cose.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: cose <cose@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [COSE] Re: Example EDN in draft-ietf-cose-merkle-tree-proofs-17
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/N3sogrVlM8pfZLpkTc6lwAzK34M>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Owner: <mailto:cose-owner@ietf.org>
List-Post: <mailto:cose@ietf.org>
List-Subscribe: <mailto:cose-join@ietf.org>
List-Unsubscribe: <mailto:cose-leave@ietf.org>
Hi, I have addressed the kid issue: https://github.com/cose-wg/draft-ietf-cose-merkle-tree-proofs/pull/99 I think I fixed the CDDL issues, by interpreting the wizardry present in https://datatracker.ietf.org/doc/draft-ietf-rats-msg-wrap/ @Henk Birkholz <henk.birkholz@ietf.contact> please check PR : ) Regards, OS On Mon, Oct 20, 2025 at 11:33 AM Carsten Bormann <cabo@tzi.org> wrote: > On 2025-10-19, at 16:49, Orie <orie@or13.io> wrote: > > > > I was looking at > https://www.ietf.org/archive/id/draft-ietf-cose-merkle-tree-proofs-17.txt > > > > And I notice that kid is shown here as a base64url encoded string. > > > > This seems like an unfortunate choice, and it would be better if it was > just h'abcd...ef' instead. > > > > Should we make an adjustment to the EDN to address this? > > > > I filled > https://github.com/cose-wg/draft-ietf-cose-merkle-tree-proofs/issues/98 > to track this. > > I was hoping to do a quick validation of the EDN and the CDDL. > That appears to be a bit more work than I thought, so I won’t complete it > today. > > The CDDL for Receipt has a mandatory endless recursion (fix this). > > verifiable-proofs has two different rules, so you can’t simply use all the > CDDL at once (nobody promises you can do that, but it is good practice); > this also leads to a bit of redundant CDDL. > > The key identifiers in the usage figure are labeled “key” in the comments, > while they are “kid” parameters as per RFC 9052 (it’s a comment, but please > fix this). > The key identifiers given are text strings, while the CDDL definition in > Section 3.1 says they need to be byte strings (must be fixed). > Replacing > > / key / 4 : "vCl7UcS0ZZY99VpRthDc-0iUjLdfLtnmFqLJ2-Tt8N4", > > by > > / kid / 4 : b64'vCl7UcS0ZZY99VpRthDc-0iUjLdfLtnmFqLJ2-Tt8N4', > > would already work, but maybe > > $ edn-abnf -e "b64'vCl7UcS0ZZY99VpRthDc-0iUjLdfLtnmFqLJ2-Tt8N4'" > h'BC297B51C4B465963DF55A51B610DCFB48948CB75F2ED9E616A2C9DBE4EDF0DE' > > / kid / 4 : h'BC297B51...E4EDF0DE', > > …would indeed work best. > > Grüße, Carsten > > >
- [COSE] Example EDN in draft-ietf-cose-merkle-tree… Orie
- [COSE] Re: Example EDN in draft-ietf-cose-merkle-… Carsten Bormann
- [COSE] Re: Example EDN in draft-ietf-cose-merkle-… Orie
- [COSE] Re: Example EDN in draft-ietf-cose-merkle-… Rohan Mahy
- [COSE] Re: Example EDN in draft-ietf-cose-merkle-… Orie
- [COSE] Re: [EXTERNAL] Re: Example EDN in draft-ie… Amaury Chamayou
- [COSE] Re: [EXTERNAL] Re: Example EDN in draft-ie… Carsten Bormann
- [COSE] Re: [EXTERNAL] Re: Example EDN in draft-ie… Amaury Chamayou
- [COSE] Re: [EXTERNAL] Re: Example EDN in draft-ie… Amaury Chamayou