Return-Path: <e.dogru@conarium.dev>
X-Original-To: scitt@mail2.ietf.org
Delivered-To: scitt@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1])
	by mail2.ietf.org (Postfix) with ESMTP id 1B03F1363BA39;
	Sun,  6 Sep 2026 04:42:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1;
	t=1788694950; bh=CTd4ZaI4uEIb9MxJmWZpe/hGgFXEkbfYIe9kD0gpYwg=;
	h=Cc:From:In-Reply-To:References:Subject:To:Date;
	b=D/XL/gbsD3dkw/ViVwjryfS644j5JiLziJ+M1qb/M0SMUGCdAQpI1jpa1k37Qtdko
	 kXv4LrQbmw4W2ZE54WrLhgVVCARwT37p+aZEufevH6NSnO4s0zt7vk+7axqMSapIvA
	 JHRXOJe2gnd6khiTKwfIcr0nvdxO+krN+K0pTbns=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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,
	RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
	RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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=conarium.dev
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 zPbe8c05dqnQ; Sun,  6 Sep 2026 04:42:29 -0700 (PDT)
Received: from insect.birch.relay.mailchannels.net
 (insect.birch.relay.mailchannels.net [23.83.209.93])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256)
	(No client certificate requested)
	by mail2.ietf.org (Postfix) with ESMTPS id 364091363BA31;
	Sun,  6 Sep 2026 04:42:28 -0700 (PDT)
X-Sender-Id: hostingeremail|x-authuser|e.dogru@conarium.dev
Received: from relay.mailchannels.net (localhost [127.0.0.1])
	by relay.mailchannels.net (Postfix) with ESMTP id C10B540227E;
	Sun, 06 Sep 2026 11:42:21 +0000 (UTC)
Received: from fr-int-smtpout20.hostinger.io
 (100-98-23-243.trex-nlb.outbound.svc.cluster.local [100.98.23.243])
	(Authenticated sender: hostingeremail)
	by relay.mailchannels.net (Postfix) with ESMTPA id EC2B440223D;
	Sun, 06 Sep 2026 11:42:19 +0000 (UTC)
X-Sender-Id: hostingeremail|x-authuser|e.dogru@conarium.dev
X-MC-Relay: Neutral
X-MailChannels-SenderId: hostingeremail|x-authuser|e.dogru@conarium.dev
X-MailChannels-Auth-Id: hostingeremail
X-Well-Made-Interest: 640317964f903640_1788694941408_2841564848
X-MC-Loop-Signature: 1788694941408:602695389
X-MC-Ingress-Time: 1788694941408
Received: from fr-int-smtpout20.hostinger.io (fr-int-smtpout20.hostinger.io
 [148.222.54.36])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384)
	by 100.98.23.243 (trex/8.0.2);
	Sun, 06 Sep 2026 11:42:21 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conarium.dev;
	s=hostingermail-a; t=1788694938;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=CTd4ZaI4uEIb9MxJmWZpe/hGgFXEkbfYIe9kD0gpYwg=;
	b=jRqjgSldomoFt00/8zZTLvhTCr+bNsipm6cNAU9RBkMenYF/MYNw9ES3O8bzaCyn1b5ed3
	VSAJRDDsbqTfa8MsrynC73RkkpXrDeFtkYxvsuPcxysSVPCJpSpJTHOOtft/8lM803FhAe
	eOlSDfx0Ox6dX0dSA6n9dGax2J0Y1Ft0JZKg0JQy5fg/t3HfzRsgEpWzJhWaCHqxr8dsj4
	fKyGOoJFukZwEXTXgO5kkw25ulUM8g+pFzmS2T/L8UDDWI4tRRL4RUzrNBJzaOtbclE3WL
	f9X63QmXMlopypfqQbD9DdfsuPIX4L1L6BeM8m3IS4HQlym8NX6Xmt/KNu4oDA==
Received: from localhost (117.138.230.35.bc.googleusercontent.com
 [IPv6:2a00:1d35:17a4:d900:db94:b318:c002:5984])
	(Authenticated sender: e.dogru@conarium.dev)
	by smtp.hostinger.com (smtp.hostinger.com) with ESMTPSA id 4hd7bY3kvRz1xqk;
	Sun,  6 Sep 2026 11:42:17 +0000 (UTC)
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8
From: "Emek Can Dogru" <e.dogru@conarium.dev>
In-Reply-To: 
 <2JUHvi5yKlM6eew-jlJdy5FjrjDV8igRuIm0OIPZkjl9rEgnMbyf6fLx0AOi_F_X2gRpVtTl9Yka_FPh11842XCXOMNQtruqMN5CwSEbNV0=@vaara.io>
Message-Id: <1788694937221219054.1788694937@conarium.dev>
Mime-Version: 1.0
References: 
 <Y6yqZIoHnmxUHakB-MQWgEM5hvK5JZMv4ycu04O1zh4I3hdI276Wm3Qi-XZrFAjz0bR_BvB2zDSKNEumECSFTRtA2UVcd-h8Lp5VKPuvVoU=@b7n0de.com>
 <e41f6328-fc26-4a5f-998a-d121d4e22db9@csoai.org>
 <2JUHvi5yKlM6eew-jlJdy5FjrjDV8igRuIm0OIPZkjl9rEgnMbyf6fLx0AOi_F_X2gRpVtTl9Yka_FPh11842XCXOMNQtruqMN5CwSEbNV0=@vaara.io>
To: <hello@vaara.io>, <nicholas@csoai.org>
Date: Sun,  6 Sep 2026 11:42:17 +0000 (UTC)
X-CM-Analysis: v=2.4 cv=BvrPwpX5 c=1 sm=1 tr=0 ts=6a9d519a
 a=du3po+kNRD4rWtm3ac1fNQ==:617 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10
 a=NEAV23lmAAAA:8 a=JvRuqIHKJ0K8H0sdOlgA:9 a=QEXdDO2ut3YA:10
X-CM-Envelope: 
 MS4xfO8sna9vDfZ1uwcI4FtdNIs5TWZidx9gjv7DN0OPogLZIdpXexLS8dtJGIIcslT/+iWAxpHp6fd/+czo2kFjnkRS6pqTKrNSkT90R7oGs7MpPDG+lXuf
 jB38FYpi+s8xNZwuY9NP44rVqcPTw2EwYJ25X8ZDqLSL/5TG12IiLD/iq3H4x5r/UjbFBx6jixx38RQ2UIN3KDPsUs6uKqAluJU9ODcx1BEpdDiXeAJ1VyzI
 aSlpf26eJsJ3gBRmKy4bfoFLtmatgAEk/UB9xqHG2l6P7H/fX/vCLmf6hIQFjc/7iFmieWBF2iqJQqJzV75YyxhuV5aRcvLIHB4VAG2CQyQ1fndChEC9c0Gq
 2QRlKGM5UNoE67+gTF34YLjLhpSLfqJ2ekhih6WWM9lMKO413jlTD3CurGRZIWvsP7/pnSjm
X-AuthUser: e.dogru@conarium.dev
Message-ID-Hash: UL5DIMVC7EJDZ7UYTM7QEOAXV3V6ZFJN
X-Message-ID-Hash: UL5DIMVC7EJDZ7UYTM7QEOAXV3V6ZFJN
X-MailFrom: e.dogru@conarium.dev
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency;
 loop; banned-address; member-moderation; header-match-scitt.ietf.org-0;
 header-match-scitt.ietf.org-1; header-match-scitt.ietf.org-2;
 nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size;
 news-moderation; no-subject; digests; suspicious-header
CC: last-call@ietf.org, scitt@ietf.org, kontakt@b7n0de.com,
 vernon@sigilcore.com, pki@varwof.com
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: =?utf-8?q?=5BSCITT=5D_Re=3A_Last_Call=3A_=3Cdraft-ietf-scitt-receipts-ccf-pr?=
 =?utf-8?q?ofile-04=2Etxt=3E_=28CCF_Profile_for_COSE_Receipts=29_to_Proposed?=
 =?utf-8?q?_Standard?=
List-Id: "Supply Chain Integrity, Transparency, and Trust" <scitt.ietf.org>
Archived-At: 
 <https://mailarchive.ietf.org/arch/msg/scitt/zaL2ZFwplWiV1tKcSMmbIYet3Vo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/scitt>
List-Help: <mailto:scitt-request@ietf.org?subject=help>
List-Owner: <mailto:scitt-owner@ietf.org>
List-Post: <mailto:scitt@ietf.org>
List-Subscribe: <mailto:scitt-join@ietf.org>
List-Unsubscribe: <mailto:scitt-leave@ietf.org>

Henri,

Finding 1 reproduces from the text of -04 alone: sizes 2 to 11 exactly
as you corrected them, and over sizes 2 to 1024 only the ten powers of
two decode every leaf.

One measurement bears on the remedy. The (bits, length) pair identifies
a leaf only when the verifier knows n: the one-element path "1" is
index 1 in a tree of 2, index 2 in a tree of 3, index 4 in a tree of 5
and index 8 in a tree of 9. The proof carries neither n nor the index,
and the payload is the root. So the path-length rule needs the tree
size to travel with the proof; carrying the index needs nothing added.

Script, eleven lines, pinned at
https://gist.github.com/dogrucanemek-alt/a48eb01ae668314fbad889ff69e1e84c

Nothing here blocks -04.

Emek Can Dogru

On Sun, Sep 6, 2026 at 2:14 PM Henri Sirkkavaara <hello@vaara.io> wrote:
> All,
>
> A correction to my own review of 4 September first. In finding 1 I listed=
 n =3D 3, 5, 6, 7 and 11 as the sizes where the path bits decode to the wro=
ng index. That enumeration is incomplete: 9 and 10 fail as well. Rechecking=
 2 through 11 against the definitions as written, every non-power-of-two si=
ze has at least one leaf that decodes wrong, and 2, 4 and 8 decode exactly.=
 So the condition is that index recovery holds when the number of transacti=
ons is a power of two, and not otherwise.
>
> Then one ask, and it sits where the thread already is rather than off to =
the side. This week has settled that the document's defect class is unnamed=
 preimages: Nicholas on internal-evidence, Konrad's sentence binding the oc=
tets of the Signed Statement as registered, Anton's as-transmitted register=
ing the same rule.
>
> Finding 4 in my review is that defect one layer further out, and it is th=
e largest instance in the document. Section 2.1 defines MTH over "a list of=
 serialized transactions (as byte strings)" and gives MTH({d[0]}) =3D HASH(=
d[0]). Section 3.2 computes the leaf as HASH(internal-transaction-hash || H=
ASH(internal-evidence) || data-hash). Nothing in the document says that d[i=
] is that concatenation. A builder working from 2.1 and a verifier working =
from 3.2 can produce different roots, and 2.1 is the definition that looks =
authoritative, because it is the one labelled Merkle Tree Hash.
>
> If the group is naming preimages before this document leaves, that is the=
 one to name.
>
> On finding 1, I left the choice of remedy to the authors and will now say=
 which I would take. Make the path length part of the decoding rule, or car=
ry the index in the proof. Attaching the power-of-two condition to the sent=
ence documents the hazard and leaves it in place, and an application whose =
author does not read that sentence still gets a wrong index and no error.
>
> Still non-blocking, and my support for -04 as Proposed Standard stands.

