The following errata report has been submitted for RFC9942,
"CBOR Object Signing and Encryption (COSE) Receipts"

--------------------------------------
You may review the report below and at:
https://errata.rfc-editor.org/eid9316/

--------------------------------------
Type: Technical
Reported by: Bassem Kudsi <[email protected]>

Section 5.2.1 says:

Original Text
-------------
In a signed proof, the payload is the Merkle Tree root that
corresponds to the log at size tree-size.

Corrected Text
--------------
In a signed proof, the payload is the Merkle Tree root that
corresponds to the log at size tree-size. tree-size and leaf-index
are carried in the unprotected header and are not covered by the
signature. Because the same inclusion path can yield the same root
under more than one (tree-size, leaf-index) pair, a verified receipt
authenticates the entry's inclusion under the signed root, but not
its leaf-index or the tree size. A relying party that depends on
either value needs to obtain it from signed data, such as a signed
tree head for the same root and size.

Notes
-----
The signature covers the protected header and the Merkle Tree root;
step 2 of the verification procedure in this section confirms
inclusion. tree-size and leaf-index (Figure 3) are carried in the
vdp of the unprotected header (Figure 5), outside the signature.
Under the algorithm in RFC 9162 Section 2.1.3.2, most receipts still
verify, with the same signature, after only tree-size is changed, and
some after leaf-index is changed along with it. With tree-size held
fixed, no other leaf-index verifies, and the entry cannot be
substituted, so inclusion is unaffected.

Reproduction: https://github.com/AugmentEV/rfc9942-receipt-position
Independently reproduced by Colin Winter (production log,
log.markovianprotocol.com), Laurent Lemonnier (production log,
ts.isoluce.net) and Konrad Gruszka (b7n0de; RFC 9162 trees of up to
64 leaves). An independent implementation, scitt-cose 0.5.0, accepts
both an original and a size-edited receipt. Thanks to Jon Geater for
suggesting errata and to Chris Hopley for implementation experience.
Related text for the CCF receipt profile:
https://github.com/ietf-wg-scitt/draft-ietf-scitt-receipts-ccf-profile/pull/36
Discussed on [email protected], November 2026.
Suggested status: Hold for Document Update.

Instructions:
-------------
This erratum is currently posted as "Reported". Please
use "Reply All" to discuss whether it should be verified or
rejected. When a decision is reached, the verifying party  
will log in to change the status and edit the report, if necessary.

--------------------------------------
RFC9942 (draft-ietf-cose-merkle-tree-proofs)
--------------------------------------
Title               : CBOR Object Signing and Encryption (COSE) Receipts
Publication Date    : June 2026
Author(s)           : O. Steele, H. Birkholz, A. Delignat-Lavaud, C. Fournet
Category            : Proposed Standard
Source              : cose (sec)
Stream              : IETF
Verifying Party     : IESG
_______________________________________________
COSE mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to