Internet-Draft SCITT Pain-Point Resolutions November 2026
Jones Expires 29 May 2027 [Page]
Workgroup:
Network Working Group
Internet-Draft:
draft-jones-scitt-pain-point-resolutions-00
Published:
Intended Status:
Informational
Expires:
Author:
V. Jones
Entercation Info Inc.

Resolution of SCITT and W3C Verification Ambiguities via Detached Evidence Profiles

Abstract

RFC 9942 (COSE Receipts), RFC 9943 (the SCITT architecture), and the W3C Verifiable Credentials Data Model v2.0 provide the foundational architecture for transparent, verifiable statements. Operational ambiguities remain in receipt verification, statement identity, status freshness, and the boundary between what a receipt proves and what a relying party must establish separately. This document maps fifteen documented pain points to constructions in four individual Internet-Drafts (a dual-receipt profile, a detached evidence handoffs model, a reproducible-review method, and a handshake profile). Where none of those drafts applies, it either proposes a construction or names the existing external mechanism, and for every pain point it states which case applies and what gap remains. Delivery is detached: no API integration, standing connection, or middleware is required. This document does not amend RFC 9942, RFC 9943, or any W3C Recommendation. All test vectors are synthetic.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 29 May 2027.

▲

Table of Contents

1. Introduction

A claim about a receipt, a statement, or a decision is only as strong as the exact bytes a verifier can recompute, the exact signature it can check, and the exact boundary the evidence crossed. Where a specification leaves a choice open (which bytes a leaf covers, which numbers a signature binds, which encoding a digest names), this document either cites a companion profile that pins the choice, proposes a pin, or states that it has none. The author calls this byte-level discipline "bottomology"; the term carries no meaning beyond this sentence.

Each pain point is analysed through four views:

Ontological:
Distinct acts are kept distinct. An Acknowledgment records that a package was received and its bytes verified; an Approval records a decision under authority. Registration records that a Signed Statement entered a log; it does not record that the statement is true. A Receipt proves inclusion under a signed root; it does not prove truth, completeness, or freshness.
Topological:
Evidence crosses an institutional boundary only as a detached, self-contained package (a "Delivery Doc"). The recipient verifies it offline and records its own disposition as a separate statement. No API, standing connection, or middleware is introduced.
Cryptographic:
The exact canonicalization, digest, tree, and signature construction, with a test vector where one exists.
Navigational:
The ordered recomputation path a verifier follows: for example, from a Receipt to the signed tree head, from the root to the leaf, from the leaf to the statement, and from a decision to the independent policy evaluation. Earlier material by the author calls this path "algorithmic intellectual telemetry"; in this document the term means only that ordered recomputation path.

1.1. Requirements Language

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

1.2. Terminology and Conventions

JCS(v):
The JSON Canonicalization Scheme encoding [RFC8785] of v, as UTF-8 octets. Inputs to JCS in this document MUST NOT contain duplicate member names.
SHA-256(x):
SHA-256 over the octet string x, producing 32 octets.
Hd(label, x):
SHA-256 over the ASCII octets "outerprise-resolutions/v1/", the ASCII label, one zero octet, and x, in that order. Hd is used only for constructions this document proposes. It is distinct from the plain H() of [JONES-DUAL-02]; where this document reproduces a construction of [JONES-DUAL-02], it uses that draft's plain SHA-256, unchanged.
||:
Octet concatenation. A digest is carried as exactly 64 lowercase hexadecimal characters representing 32 octets; every concatenation of digests in this document is over the 32-octet values, never over their hexadecimal text.

The Coverage values used in Section 2 are:

PROFILE:
the construction is defined in a cited companion draft.
PROPOSED:
the construction is defined here for the first time and has no independent implementation.
EXTERNAL:
an existing mechanism outside the companion drafts is named; this document adds no construction beyond what is stated.
NONE:
no construction is offered.

1.3. Relationship to Companion Drafts

[JONES-DUAL-02] is a JSON profile. It states that it does not use COSE, that its Receipt is not a COSE Receipt as defined in [RFC9942], and that it claims no conformance to [RFC9943] or [RFC9942]. Constructions in this document that use COSE_Sign1 (Section 2.1 and vector V4 in Appendix A) are therefore new proposals, not restatements of [JONES-DUAL-02].

[JONES-HANDOFFS-03] defines terminology and an architectural model and specifies no wire protocol. [JONES-MIMS-01] is a review method. [JONES-HANDSHAKE-01] encodes numeric quantities as JSON strings, while [JONES-DUAL-02] and this document use JSON integers for tree size. Appendix B lists the resulting alignment work.

2. The Fifteen Resolutions

The pain points are taken from an independent research register dated 24 November 2026, which draws on the public record of the SCITT working group, [INTEROP], and the cited specifications. "Spec status" gives the status of the underlying specification problem. "Coverage" (Section 1.2) gives what this document and its companions actually contribute. Nothing in this section claims that an OPEN problem has been closed in the specifications where it was found.

Table 1: Pain Points, Status, and Coverage
ID Pain point Spec status Coverage
E01 RFC 9942 tree-size and leaf-index are carried in the unprotected header, outside the signature. OPEN PROFILE (JSON STH, DUAL-02); PROPOSED (COSE STH)
E02 No serialization is named for a log leaf; two services derived different leaves for the same statements. OPEN (CCF-only fix) PROPOSED
E03 No portable identifier for a Signed Statement; digests change under re-encoding. OPEN PROPOSED (JSON statements only)
E04 Registration proves that an issuer signed something, not that it is true, complete, or current. PARTLY ADDRESSED; truth out of scope PROFILE (DUAL-02)
E05 Registration policy and trust anchors are operator-defined and may change. OPEN PROPOSED
E06 A service may hold only a digest; the preimage may be unobtainable. PARTLY ADDRESSED PROFILE (HANDOFFS-03); PROPOSED
E07 An HTTP 202 response with an entry identifier is mistaken for a Receipt. PARTLY ADDRESSED PROFILE (HANDSHAKE-01); PROPOSED
E08 The CCF data-hash input bytes were ambiguous. PARTLY ADDRESSED (CCF); OPEN generically EXTERNAL
E09 Joint statements need COSE_Sign; signatures can be reordered or dropped. OPEN NONE
E10 Independent verifiers disagree where text leaves a choice, each passing its own tests. OPEN PROFILE (MIMS-01)
E11 A valid signature says nothing about current status; freshness is a deployment choice. PARTLY ADDRESSED EXTERNAL; PROPOSED (recording)
E12 Per-credential status queries let an issuer correlate holder, time, and verifier. PARTLY ADDRESSED EXTERNAL
E13 A bare presentation can be replayed to another verifier. PARTLY ADDRESSED EXTERNAL; PROPOSED (binding value only)
E14 Verifiability does not imply truth; authority, binding, and policy fit are separate checks. OUT OF SCOPE (data model); OPEN (ecosystem) PROPOSED
E15 RATS freshness and multi-evidence composition are per-verifier policy. PARTLY ADDRESSED EXTERNAL

2.1. E01: Receipt Position and Size

In [RFC9942] signed inclusion proofs, the signature covers the Merkle root, while tree-size and leaf-index are carried in the unprotected header. Errata 9316 and 9317 against [RFC9942] were reported on 18 November 2026; their status has not been re-verified for this document. A hackathon report at IETF 127 observed that one receipt was accepted for the issued (tree-size, leaf-index) pair and for 31 other pairs among 8,255 edited pairs. The errata note that, with tree-size held fixed, no other leaf-index verifies; the gap concerns position and size, not membership.

[JONES-DUAL-02] Section 4.5 defines a JSON signed tree head (STH) signed directly with Ed25519. This document proposes the same remedy carried in COSE: payload = JCS({"root": R, "tree_size": N}), where R is 64 lowercase hexadecimal characters and N is a JSON integer, signed as a COSE_Sign1 [RFC9052] with protected header {1: -19} (Ed25519 [RFC8032] as registered by [RFC9864]) and an empty unprotected header. The Sig_structure is ["Signature1", protected, h'', payload] per Section 4.4 of [RFC9052], in which "Signature1" is a CBOR text string. A verifier relying on tree size MUST verify the STH first and MUST accept only if the recomputed root and the presented tree size both equal the signed values.

The STH authenticates the root and the tree size. It does not carry or authenticate the leaf index. The leaf index is constrained only by recomputing the inclusion path under the signed tree size and rejecting any index not less than that size (Section 5.2 of [RFC9942]); this document relies on the errata observation above only as reported and does not claim that recomputation fixes the index in every case. Neither [RFC9942] nor the V4 payload carries a normative log identifier, so a verified STH proves only that the holder of the verifying key signed that root and size. The verifier MUST bind that key to the intended Transparency Service by means outside this document.

Route:
Receipt, then STH, then root, then leaf.
Vector:
V4 (Appendix A), including a negative control in which an edited tree_size fails verification.
Boundary:
An unsigned tree size is never relied on; the leaf index is relied on only as constrained by recomputation under the signed size.

Residual gap: this does not amend [RFC9942]. A stock [RFC9942] verifier that does not check an STH is unaffected by this document.

2.2. E02: Leaf Serialization

Neither [RFC9943] nor [RFC9942] names the serialization of a log leaf. This document proposes: SID = Hd("statement", JCS(stmt)); LEAF = Hd("leaf", SID); leaf hash = SHA-256(0x00 || LEAF); interior node = SHA-256(0x01 || left || right), following Section 2.1.1 of [RFC9162].

Route:
Statement, then SID, then LEAF, under one rule.
Vector:
V3 (Appendix A).
Boundary:
Two verifiers applying this rule derive the same leaf; services that do not apply it are unaffected.

Residual gap: this is a profile rule. [JONES-DUAL-02] Section 5.4 defines a different leaf (over the canonical form of the payload and its signature), so the companion drafts do not yet share one leaf rule (Appendix B, Issue 1).

2.3. E03: Statement Identity

The iss and sub claims group statements, and a SCRAPI locator is local to one service. This document proposes SID = Hd("statement", JCS(stmt)) for JSON statements. JCS removes member-order and whitespace freedom (vector V2).

Route:
Any JSON spelling, then JCS, then SID.
Vector:
V1 and V2 (Appendix A).
Boundary:
References cite a SID rather than a service-local locator.

Residual gap: JCS applies only to JSON. It does not address CBOR re-encoding of COSE Signed Statements. Reference format, matching rule, and relation vocabulary remain open; see [I-D.gruszka-scitt-statement-identification].

2.4. E04: Registration Is Not Truth

Section 9.2 of [RFC9943] states that registering a statement only proves it was produced by an Issuer and that Issuers can make false statements, and Section 9.3 of [RFC9943] notes that Issuers may register selectively. An Issuer can supersede an earlier statement by registering a later Signed Statement (Section 9.2 of [RFC9943]), but no standard field links a later statement to the one it supersedes. [VCDM2] Section 1.1 states: "Verifiability of a credential does not imply the truth of claims encoded therein."

This document reuses [JONES-DUAL-02] Sections 5.2 and 5.6 unchanged: D1 = SHA-256(canon(payload_A)), D2 = SHA-256(canon(payload_B)), and CID = SHA-256(D1 || D2) over 64 input octets, D1 first.

Route:
Decision, then the independent policy evaluation.
Vector:
V5 (Appendix A) recomputes the composite identifier published in [JONES-DUAL-02].
Boundary:
Decision and evaluation are signed by different keys; neither is read as truth.

Residual gap: separating who decided from who evaluated against a policy does not make either statement true, does not show that no conflicting evaluation exists, does not prove completeness, and does not identify which later statement supersedes an earlier one; that link depends on the relation vocabulary left open under E03.

2.5. E05: Operator-Defined Policy

This document proposes that each decision cite the SID of the policy and trust-anchor set under which it was made, so that a historical check can be reproduced from the logged policy. Residual gap: no interoperable policy format exists, and the construction helps only if the policy itself was logged.

2.6. E06: Hash-Only Statements

The payload_location header (260) of [RFC9995] is an optional hint. Terminology follows [JONES-HANDOFFS-03]. This document proposes payload digest = Hd("payload", bytes) (vector V6) and a third verdict: if the preimage cannot be obtained, the result is UNAVAILABLE, neither pass nor fail. Content the verifier has not hashed is never accepted as seen. Residual gap: no mandatory retrieval mechanism exists.

2.7. E07: Asynchronous Registration

[JONES-HANDSHAKE-01] halts its positive trace on a decline or on missing evidence. This document adds that an entry identifier is not a Receipt and that the export gate (Section 3) records no milestone without a signed Receipt and a verified STH. Residual gap: no standard machine-readable "not yet witnessed" state exists.

2.8. E08: CCF Data-Hash

For COSE-carried statements, this document adopts the rule of [I-D.ietf-scitt-receipts-ccf-profile]: the digest covers the COSE_Sign1 bytes as registered, with tag 18 retained and an empty unprotected header. No construction is added.

2.9. E09: Joint Statements

No construction is offered. The entry definition for joint statements remains unsettled.

2.10. E10: Implementer Disagreement

[INTEROP] records verifiers that each passed their own tests yet disagreed with one another. [JONES-MIMS-01] pins the revision, the digest of the acquired bytes, the extraction rule, dependency versions, one proposition, and the expected comparison, and records the observed result. Vector V4 includes a negative control in which "Signature1" is encoded as a CBOR byte string: an implementation that verifies raw bytes without rebuilding the Sig_structure would not detect that error, which is itself an instance of E10. Residual gap: the method detects disagreement; it does not repair specification text.

2.11. E11: Status Freshness

Status mechanisms exist in [BSL] and [I-D.ietf-oauth-status-list]. This document proposes only that a verifier record the status-list fetch time and the maximum staleness it accepted, so that a result is never presented as current on the strength of a signature alone.

2.12. E12: Status Correlation

[BSL] requires an uncompressed bitstring of at least 16 KB (131,072 entries) to provide group privacy, which is probabilistic. No construction is added.

2.13. E13: Replay

External mechanisms include the Data Integrity challenge and domain properties, the key binding of [RFC9901] over nonce and audience, and [I-D.ietf-oauth-sd-jwt-vc]. This document proposes a binding value, binding = Hd("presentation", challenge || 0x00 || domain || 0x00 || SID) (vector V7); the challenge and domain MUST NOT contain a zero octet.

The binding value by itself proves nothing about who presented it and does not prevent replay. It MUST be covered by a signature made with a key bound to the credential, for example the key binding of [RFC9901] or a Data Integrity proof, and the verifier MUST verify that signature and that the signing key is the key bound to the credential. Replay resistance comes from the verifier: the challenge MUST be issued by the verifier, fresh, single-use, and time-limited, and the verifier MUST record each challenge it accepts and refuse its reuse. Vector V7 tests only the binding value.

2.14. E14: Verifiability Is Not Truth

This document proposes that a decision record list five verdicts separately: (1) signature validity, (2) issuer authority, (3) subject binding, (4) status, and (5) claim evidence. A missing verdict is a refusal, and no verdict is inferred from another.

2.15. E15: RATS Freshness

This is outside the scope of the companion drafts. The nonce, timestamp, and counter mechanisms of [RFC9334] apply; this document adds nothing.

3. The Fail-Closed Architecture

The export gate is the single enforcement point for evidence integrity. A package leaves the sender only when every applicable check has passed against pinned bytes: the STH verifies under a key bound to the intended Transparency Service; the leaf recomputes to the signed root; the SID matches the statement; the decision and the policy evaluation are both present, signed by different keys, and verified against keys bound to their roles; any claimed payload preimage has been obtained and hashed; and any presentation binding is signed and matches its challenge and domain. Any failure, missing input, or unsigned number is a refusal to export, and a refused package produces no Decided, Disbursed, or Confirmed record.

Passing the gate establishes only that the evidence is intact and correctly bound. It is not authorization to act. A package that passes may carry a verified decline: that is verified evidence of a negative decision and MUST NOT be treated as authorization. An action record such as Disbursed additionally requires that the verified decision outcome is approve, that the policy evaluation result is pass, and that the signer of the decision holds authority for that action under the cited policy (Section 2.5). Establishing that authority is outside this document.

The gate is an architectural sketch. This document does not define a gate input format, a key-to-role binding mechanism, or an outcome vocabulary, and no implementation is claimed.

On the recipient side, a package that cannot be verified is not accepted. The recipient's disposition (Acknowledgment or Approval) is a separate statement with its own SID and is never merged into the sender's evidence. A local chain cannot rule out withheld records or conflicting views.

With respect to E04, the gate never reads a receipt or a dual receipt as truth. With respect to E10, every vector in Appendix A can be recomputed from this text alone, and a recomputation that disagrees is a finding against the text.

4. Security Considerations

Hash substitution:
The constructions rely on the collision and second-preimage resistance of SHA-256. Domain separation through the Hd labels prevents a digest computed in one context (statement, leaf, payload, presentation) from verifying in another. The 0x00 and 0x01 prefixes of [RFC9162] separate leaf hashes from interior hashes.
Detached payload loss:
A hash-only statement whose preimage is lost yields UNAVAILABLE, never a pass. A party registering hash-only statements SHOULD retain or designate a retrieval path for as long as the statement is meant to be verifiable.
Replay:
A Receipt is bearer-like. A replayed Receipt proves registration only and says nothing about the presenter. Presentations are bound as described in Section 2.13.
Key compromise:
Revocation strategies are out of scope in [RFC9943] and here. The test key in Appendix A is public and MUST NOT be used outside testing.
Privacy:
Deterministic digests of low-entropy identifiers are enumerable and linkable. SIDs are correlation values, not identity verification or access control. Real identifiers, testimony, and sensitive records MUST NOT be placed in statements registered on a public log. No salted commitment is defined.
Time:
Every timestamp is its signer's claim; registration time is the Transparency Service's claim. [RFC3161] may supply independently evidenced time, which is assessed separately.

5. IANA Considerations

This document has no IANA actions.

6. References

6.1. Normative References

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC8032]
Josefsson, S. and I. Liusvaara, "Edwards-Curve Digital Signature Algorithm (EdDSA)", RFC 8032, DOI 10.17487/RFC8032, , <https://www.rfc-editor.org/info/rfc8032>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/info/rfc8174>.
[RFC8785]
Rundgren, A., Jordan, B., and S. Erdtman, "JSON Canonicalization Scheme (JCS)", RFC 8785, DOI 10.17487/RFC8785, , <https://www.rfc-editor.org/info/rfc8785>.
[RFC9052]
Schaad, J., "CBOR Object Signing and Encryption (COSE): Structures and Process", STD 96, RFC 9052, DOI 10.17487/RFC9052, , <https://www.rfc-editor.org/info/rfc9052>.
[RFC9864]
Jones, M.B. and O. Steele, "Fully-Specified Algorithms for JSON Object Signing and Encryption (JOSE) and CBOR Object Signing and Encryption (COSE)", RFC 9864, DOI 10.17487/RFC9864, , <https://www.rfc-editor.org/info/rfc9864>.
[RFC9942]
Steele, O., Birkholz, H., Delignat-Lavaud, A., and C. Fournet, "CBOR Object Signing and Encryption (COSE) Receipts", RFC 9942, DOI 10.17487/RFC9942, , <https://www.rfc-editor.org/info/rfc9942>.
[RFC9943]
Birkholz, H., Delignat-Lavaud, A., Fournet, C., Deshpande, Y., and S. Lasker, "An Architecture for Trustworthy and Transparent Digital Supply Chains", RFC 9943, DOI 10.17487/RFC9943, , <https://www.rfc-editor.org/info/rfc9943>.

6.2. Informative References

[BSL]
W3C, "Bitstring Status List v1.0", W3C Recommendation, , <https://www.w3.org/TR/vc-bitstring-status-list/>.
[I-D.gruszka-scitt-statement-identification]
Gruszka, K., "Requirements and Test Cases for Identifying SCITT Signed Statements", Work in Progress, Internet-Draft, draft-gruszka-scitt-statement-identification-04, , <https://datatracker.ietf.org/doc/html/draft-gruszka-scitt-statement-identification-04>.
[I-D.ietf-oauth-sd-jwt-vc]
IETF OAuth Working Group, "SD-JWT-based Verifiable Digital Credentials (SD-JWT VC)", Work in Progress, Internet-Draft, draft-ietf-oauth-sd-jwt-vc-27, , <https://datatracker.ietf.org/doc/html/draft-ietf-oauth-sd-jwt-vc-27>.
[I-D.ietf-oauth-status-list]
IETF OAuth Working Group, "Token Status List (TSL)", Work in Progress, Internet-Draft, draft-ietf-oauth-status-list-21, , <https://datatracker.ietf.org/doc/html/draft-ietf-oauth-status-list-21>.
[I-D.ietf-scitt-receipts-ccf-profile]
IETF SCITT Working Group, "COSE Receipts with CCF Profile", Work in Progress, Internet-Draft, draft-ietf-scitt-receipts-ccf-profile-06, , <https://datatracker.ietf.org/doc/html/draft-ietf-scitt-receipts-ccf-profile-06>.
[INTEROP]
SCITT Working Group participants, "Joint Interoperability Report: Independent Runs, Findings and Disagreements Recorded by SCITT Working Group Participants, 14 August to 26 September 2026", Version 1.1, DOI 10.5281/zenodo.23333369, , <https://doi.org/10.5281/zenodo.23333369>.
[JONES-DUAL-02]
Jones, V., "A Dual-Receipt Profile for Binding a Decision Statement to an Independent Policy Evaluation Statement", Work in Progress, Internet-Draft, draft-jones-scitt-dual-receipt-02, , <https://datatracker.ietf.org/doc/html/draft-jones-scitt-dual-receipt-02>.
[JONES-HANDOFFS-03]
Jones, V., "Terminology and Architectural Patterns for Detached Evidence Delivery", Work in Progress, Internet-Draft, draft-jones-detached-evidence-handoffs-03, , <https://datatracker.ietf.org/doc/html/draft-jones-detached-evidence-handoffs-03>.
[JONES-HANDSHAKE-01]
Jones, V., "Cryptographic Handshake Profile for Fiscal-Sponsorship Onboarding and Outer Pilot Execution", Work in Progress, Internet-Draft, draft-jones-outerprise-handshake-01, , <https://datatracker.ietf.org/doc/html/draft-jones-outerprise-handshake-01>.
[JONES-MIMS-01]
Jones, V., "A Method for Reproducible Review of Internet-Draft Test Cases", Work in Progress, Internet-Draft, draft-jones-mims-reproducible-draft-review-01, , <https://datatracker.ietf.org/doc/html/draft-jones-mims-reproducible-draft-review-01>.
[RFC3161]
Adams, C., Cain, P., Pinkas, D., and R. Zuccherato, "Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)", RFC 3161, DOI 10.17487/RFC3161, , <https://www.rfc-editor.org/info/rfc3161>.
[RFC9162]
Laurie, B., Messeri, E., and R. Stradling, "Certificate Transparency Version 2.0", RFC 9162, DOI 10.17487/RFC9162, , <https://www.rfc-editor.org/info/rfc9162>.
[RFC9334]
Birkholz, H., Thaler, D., Richardson, M., Smith, N., and W. Pan, "Remote ATtestation procedureS (RATS) Architecture", RFC 9334, DOI 10.17487/RFC9334, , <https://www.rfc-editor.org/info/rfc9334>.
[RFC9901]
Fett, D., Yasuda, K., and B. Campbell, "Selective Disclosure for JSON Web Tokens", RFC 9901, DOI 10.17487/RFC9901, , <https://www.rfc-editor.org/info/rfc9901>.
[RFC9995]
Steele, O., Lasker, S., and H. Birkholz, "CBOR Object Signing and Encryption (COSE) Hash Envelope", RFC 9995, DOI 10.17487/RFC9995, , <https://www.rfc-editor.org/info/rfc9995>.
[VCDM2]
W3C, "Verifiable Credentials Data Model v2.0", W3C Recommendation, , <https://www.w3.org/TR/vc-data-model-2.0/>.

Appendix A. Test Vectors

All vectors are synthetic. They were generated by one reference script and regenerated three times with byte-identical output; the V4 signature was also checked with a second Ed25519 implementation. That is one implementation by the author, not an independent verification. Hexadecimal is lowercase. The Ed25519 key below is published for testing only and MUST NOT be used for any other purpose.

V1 (E03): statements i = 1 to 4 are the JSON objects below with "seq" set to i. JCS(statement 1) is 99 octets: the members in the order shown, with no whitespace.

  { "iss": "demo-issuer-1", "seq": i,
    "statement": "demo-supply-chain-event",
    "sub": "demo-artifact-1", "v": 1 }

  SID[1] =
    d013c1539582b548b9a4488e7982bba73ee173ebfe49acab25c43a60fc6ff721
  SID[2] =
    0ef4b19432f8d5d26a5a3c3ee7544491c3863b8bca69be16feaef12bdaa9f620
  SID[3] =
    1f9f6458b72ddd84c0f4816a468674712a8cd56fe6224bbf437c337cf8a8ba25
  SID[4] =
    5a767c39168bd6dca4230b1316219b0ef1fe4e947f2452f8177f7887f22c2b23

V2 (E03): statement 1 with its members in reverse order canonicalizes to the same JCS octets and therefore the same SID.

  SID =
    d013c1539582b548b9a4488e7982bba73ee173ebfe49acab25c43a60fc6ff721

V3 (E02): leaves, leaf hashes, interior nodes, and root.

  LEAF[1] =
    b371de8075d477151eebd7764985459eeae3cdaf9e5708c62c57a67b944444ee
  LEAF[2] =
    ead4db28f0dd6b39a26168783481945701c2a38a7fe73582e1ba1bf5e008c195
  LEAF[3] =
    c0b8989c8781365e76fe755ecdee8c0ec21752f2772d8c80f1efe8b8858cce19
  LEAF[4] =
    aecbb31b50d164f069401bbd8763c7ccf3d92c8d444f2db8b00fe00c8dccc995
  leaf hash[1] =
    242e4ab291dbd0792b603ab243dbf7f0656c19efd036a4a2e891799c4f5dec74
  leaf hash[2] =
    55d6cdb9fa5a75f5e199ba75b02db2eb9312b84557ee81e24cf651f387eef6d6
  leaf hash[3] =
    afe00fa75f6c73948fec3d0f3e1b1376c359d5eba23402d9159d4df64751e5c5
  leaf hash[4] =
    3fa54f83f8c148bb87f3e0e6526e9c056424a3b80a413531b6ff480878a808e8
  node[1..2] =
    f7d1f88eec701014d81a1d3383ead2da6a4ed7dd5e669d30a9eac29137a830b1
  node[3..4] =
    303f60cd99054259d0e2236fa64edf75099518a0098d2eab74c270e07885db56
  root =
    23ed6ac2ac8e3a5020758cfe1f27165d5457e4230e30b659b83a0cb100444823

V4 (E01): signed tree head as COSE_Sign1. The payload is JCS({"root": root, "tree_size": 4}), 89 octets, with root taken from V3.

  protected header: a10132    ; {1: -19}
  Sig_structure (108 octets):
    846a5369676e61747572653143a101324058597b22726f6f74223a2232336564
    3661633261633865336135303230373538636665316632373136356435343537
    65343233306533306236353962383361306362313030343434383233222c2274
    7265655f73697a65223a347d
  SHA-256(Sig_structure) =
    2ff4d221c0d1245d7085d8a592472aaf002234c1fcaf4bb99f32b3ae87f677fb
  test seed (Ed25519 private key) =
    c45e7036779435f0995cc2917e5cb882ec322e09aa84db964afa4fc7f2d24d3d
  public key =
    04c773f3cbc69cbf4e83b4cb26fbc81d6394f938d3d2cae80a26e10b20b36b05
  signature =
    16137b4621e452d82303ae4013c15f422f9552de96a0582c7c19ad67033e891a
    db78119dde77ac8c509ac0ecaa15187dfe0d40e8ff8353bb7a7100a6fa198009
  COSE_Sign1, tag 18 (164 octets):
    d28443a10132a058597b22726f6f74223a223233656436616332616338653361
    3530323037353863666531663237313635643534353765343233306533306236
    353962383361306362313030343434383233222c22747265655f73697a65223a
    347d584016137b4621e452d82303ae4013c15f422f9552de96a0582c7c19ad67
    033e891adb78119dde77ac8c509ac0ecaa15187dfe0d40e8ff8353bb7a7100a6
    fa198009

  Negative controls, each REJECTED:
    one-octet change to the payload;
    "Signature1" encoded as a byte string (0x4a);
    tree_size changed from 4 to 5.

V5 (E04): the composite identifier of [JONES-DUAL-02] Section 5.6. The result equals the value published in that draft.

  D1 =
    dfeb582c87775fbcc7fcc948d85fd6dda8a516329a7f40b3ecc8a97349c9a1fd
  D2 =
    c0f094c8ef3f6004ff50e96a0be39f15366496f62e009398d1537fe4cbb80316
  CID = SHA-256(D1 || D2) =
    364383c7d24a9f1902243cd206cfb35fe77b637ee38ffc5290861e3d4bbe38b8

  Negative, SHA-256(D2 || D1) =
    1003df94fb7e7dcc4908de56f9d957d79d35230b7bc836e9a2b7d7f24a27e0ac
  Negative, SHA-256 over the 128-character hex text =
    f590a04993bbc2d009b2baec7c642b3f81abdcfd04c3e91eb474fe753d8a21f0

V6 (E06): detached payload digest over the ASCII octets "demo-payload-bytes-for-detached-evidence".

  Hd("payload", payload) =
    478b9d48d64c7b44b40302e912e986c68f77cc091151daac7119e889b692149c

V7 (E13): presentation binding value, unsigned, with challenge "demo-challenge-7f3a", domain "demo-verifier.example", and SID[1].

  binding =
    53ba2479fadb025bf0b987b5e6f2e4010b659bd9f05801ce44f1cd5c0cdb54a9
  Negative, domain "other-verifier.example" =
    935617bd660da33af323697c94391d1c31b3e33825ca9c309ab794faa930775b

Appendix B. Open Issues

  1. Leaf rule alignment: [JONES-DUAL-02] Section 5.4 and Section 2.2 define different leaves. A later revision should adopt one rule for both or state which objects each rule applies to.
  2. Number encoding: [JONES-HANDSHAKE-01] encodes numeric quantities as JSON strings, while [JONES-DUAL-02] and this document use JSON integers for tree size.
  3. STH member set: the STH of [JONES-DUAL-02] Section 4.5 has the members typ, ts_key_id, tree_size, root, and registration_policy_sha256; V4 uses only root and tree_size.
  4. CBOR identity: E03 remains open for COSE-encoded statements.

Appendix C. What This Document Does Not Claim

This is an individual Internet-Draft and a work in progress. It has not been adopted by any working group and is not a standard. It does not amend [RFC9942], [RFC9943], [RFC9162], or any W3C Recommendation, and it does not claim that any organization has implemented or endorsed it. No independent verification of this document has been recorded; the 89-run threshold proposed in [JONES-HANDSHAKE-01] has not been met for this document.

Acknowledgments

Thanks to the SCITT working group participants and the authors of [INTEROP], whose public record is the source of the pain points in Section 2. This acknowledgment implies no review or endorsement of this document.

Author's Address

Vince Jones
Entercation Info Inc.
Cincinnati, OH
United States of America