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/eid9317/ -------------------------------------- Type: Technical Reported by: Bassem Kudsi <[email protected]> Section 5.3.1 says: Original Text ------------- In a signed consistency proof, the newer Merkle Tree root (proven to be consistent with an older Merkle Tree root) is a detached payload and corresponds to the log at size tree-size-2. Corrected Text -------------- In a signed consistency proof, the newer Merkle Tree root (proven to be consistent with an older Merkle Tree root) is a detached payload and corresponds to the log at size tree-size-2. tree-size-1 and tree-size-2 are carried in the unprotected header and are not covered by the signature, and the same consistency path can verify for more than one pair of sizes. A relying party that depends on either size needs to bind it to the corresponding root through signed data, such as signed tree heads. Notes ----- Here's the ยง5.3.1 erratum. Section: `5.3.1`. Type: Technical. Original Text In a signed consistency proof, the newer Merkle Tree root (proven to be consistent with an older Merkle Tree root) is a detached payload and corresponds to the log at size tree-size-2. Corrected Text In a signed consistency proof, the newer Merkle Tree root (proven to be consistent with an older Merkle Tree root) is a detached payload and corresponds to the log at size tree-size-2. tree-size-1 and tree-size-2 are carried in the unprotected header and are not covered by the signature, and the same consistency path can verify for more than one pair of sizes. A relying party that depends on either size needs to bind it to the corresponding root through signed data, such as signed tree heads. Notes Companion to the erratum on Section 5.2.1. tree-size-1 and tree-size-2 (Figure 7) are carried in the vdp of the unprotected header; the signature covers the protected header and the newer root only. Under the algorithm in RFC 9162 Section 2.1.4.2, on synthetic trees covering all 2,016 size pairs 1 <= m < n <= 64, 1,984 proofs still verify with only tree-size-2 changed; the 32 exceptions are the pairs (odd m, m+1). With tree-size-2 held fixed, no other tree-size-1 verified. With both sizes changed, every proof verified under another pair, for example (2m, 2n-1), where the verifier does not independently hold the size of the older root. Found by Tiago Pinto and reproduced by the submitter with an independent implementation. Discussed on [email protected], November 2026. Suggested status: Hold for Document Update. Thanks 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]
