| Internet-Draft | AUDIT Decision Receipts | December 2026 |
| Gruszka | Expires 7 June 2027 | [Page] |
The architecture for auditing agent delegation and interactions proposed for the AUDIT effort names Interaction Records, Action Records and Authorization Transition Records and leaves their encoding open. This document maps a pair of signed records, the decision receipt and the outcome receipt, onto those record types for three cases, a human approval, a declined action and an executed action with its result. It states what each record requires independently of its encoding: exact bytes, a signature over them, digest bindings, required members and a content root, with verification steps that a third party can run offline. It gives a binding to the Dead Simple Signing Envelope (DSSE) and in-toto, updating the receipt type identifiers used by existing receipts, and a second binding to COSE_Sign1, in which a receipt is itself a Signed Statement for a Transparency Service. Each receipt is created when the decision or the outcome occurs and is checked by an Auditor post hoc, and a declined or refused action is a record of its own. For each case the document states what the receipt adds and what it does not show, and it gives a verification procedure that runs offline. It requires that an approval be honoured at most once, even after the record of consumed approvals is rotated. Test vectors for all three cases, each with a counterexample, are included. The document also describes, informatively, how a receipt can be registered with a Transparency Service under RFC 9943, the architecture of Supply Chain Integrity, Transparency, and Trust (SCITT), and what a SCITT Receipt then shows and does not show. It defines no new predicate or registry; the COSE_Sign1 binding names its two receipt types by new identifiers. How the issuer of a receipt enforces its decision is out of scope.¶
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 7 June 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
The architecture of [AUDIT-ARCH] asks that auditing link user intent, delegation, authorization and execution, and treats authorization as a state that changes over time. Three of its four record types (its Section 5) matter here. Interaction Records capture user-facing events such as approvals and refusals, Action Records capture events at the boundary where an action took effect, and Authorization Transition Records capture changes in permission state. Its field names are placeholders (its Section 7), and a canonical data model is a work item (WI-1).¶
An Auditor in that architecture does not trust the Agent (its Section 8), so a record helps only when a third party can check it. That needs exact bytes, a signature over them and bindings to inputs and evidence by digest. This document states these needs as requirements on a decision receipt and its companion outcome receipt that do not depend on their encoding (Section 3.9): a payload in the serialization of [RFC8785], signed with Ed25519 [RFC8032], with bindings by digest, required members and a content root. A binding says how a receipt carries them. Section 3.10 gives a binding using an in-toto Statement [INTOTO-STATEMENT] in a Dead Simple Signing Envelope (DSSE) [DSSE], with the receipt type identifiers specified for this revision, and Appendix B gives a second binding beside it, a COSE_Sign1 message [RFC9052]. Section 5 names implementations. The document covers three cases:¶
The document maps and verifies. It does not propose the decision receipt as the data model of the architecture. Revision -11 changed the receipt type identifiers of the DSSE binding as described in Section 3.10 and the test package of Appendix A.5. The mapping of Section 2 follows revision -01 of [AUDIT-ARCH]; a later revision of the architecture can change it.¶
A decision receipt is an audit record (Section 3.1 of [AUDIT-ARCH]) that is created when the decision is taken, before the action it decides takes effect, and an outcome receipt is created after the action. An Auditor (Section 4.3 of [AUDIT-ARCH]) checks both post hoc, as records, with the procedure of Section 3, which is the post‑hoc use of records that Section 1 of [AUDIT-ARCH] describes. A declined or refused action is a record of its own, a decision receipt with the verdict DENY or REFUSE (Case 2 of Section 3.3). How the issuer of a receipt enforces its decision is not a subject of this document. Section 4 applies to a relying party when it honours an approval, not to an Auditor.¶
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.¶
In this document, these key words apply to a verifier in Section 2.6 and in the procedure of Section 3, to an Auditor that performs the checks of Section 3.5, to a relying party that lets an action run because of an approval in Section 4, to whoever issues approval records there, and to the use of the test keys of Appendix A. They also apply to a verifier in Section 3.11, to whoever issues approval records with approverSignature or approverAssertion and to whoever holds an approver key, and to a verifier in Appendix B.¶
All decision receipts here use the decisionType preActionAuthorization and carry validity with audience, nonce and expiresAt. A decision receipt is the gate's signed view of an event; the human act itself is the approval record, bound by digest. In the tables, IR stands for Interaction Record, ATR for Authorization Transition Record and AR for Action Record, followed by a placeholder field of the architecture. The fields common to all cases map as follows for a decision receipt. The members of an outcome receipt for event_id and timestamp are named in parentheses, and Table 3 gives the mapping of an Action Record from an outcome receipt and the decision it references.¶
Every decision receipt thus names, in principal.id, the user or other party on whose behalf the agent acted, which step 7 of Section 3.2 requires to be a non-empty string; a delegation through further agents is not recorded here (delegationRefs is not used).¶
A gate asks a person before an action and records the answer. An earlier receipt for the same request, such as one with the verdict ESCALATE, is a separate record; this receipt does not reference it. After the answer the gate decides ALLOW for exactly the approved action. The approval record carries approvalId, approver, session, actionDigest (SHA-256 of the approved action bytes), approvedAt and validUntil. The decision receipt names it in inputSnapshot under the name "approval record".¶
| Record, field | Decision receipt |
|---|---|
| IR, approval | approval record, by its digest in inputSnapshot |
| IR, actor | approver in the approval record, equal to principal.id |
| ATR, previous_state | not recorded in this receipt; preceding state must be established separately |
| ATR, new_state | verdict ALLOW for parametersDigest |
| ATR, trigger | reasonCodes contains user_approval |
| ATR, actor | approver in the approval record |
The scope of the new state is one action, identified by its bytes. A second action, even one with the same name and target, needs a new approval.¶
A gate declines an action because a rule or a person says no, or refuses it because it reached no judgement on whether the action is permitted. The receipt records the verdict DENY or REFUSE with its reasons. It may say in actionOutcome that the call was blocked, which is the decision maker's own statement. This document treats DENY and REFUSE alike and does not define a difference between them, except that a receipt that records no judgement has the verdict REFUSE and the reason code not_assessable, as the paragraph after Table 2 says.¶
| Record, field | Decision receipt |
|---|---|
| IR, refusal | verdict DENY or REFUSE |
| reason | reasonCodes |
| action | proposedAction with parametersDigest, where present |
| no effect | actionOutcome.status blocked (self-asserted); no outcome with status executed names this decision in the supplied set |
| ATR | none; the state is unchanged |
A gate reaches no judgement on whether an action is permitted when, for example, an input that it needs is missing, a policy source cannot be read, the evaluation of its policy fails or the action lies outside the scope of its policy. A gate that records such a case records the verdict REFUSE with an element not_assessable in decision.reasonCodes, names in notChecked what it could not assess and why, and names in decisionChangeConditions what would let it decide; Section 3.8 requires these entries. Such a receipt records neither an ALLOW nor a DENY. A later decision on the same action, for example an ALLOW once the missing input is available, is a decision of its own with its own receipt, and an outcome receipt of Case 3 names that later decision, not the refusal (second check of Section 3.5). policyBoundary keeps its rules and names the policy that the gate was to apply; this document gives no form for a refusal by a gate that cannot name that policy. The reason code is the decision maker's own statement. A verifier checks its form, not that the gate could in fact not decide, and a DENY or an ALLOW without it can still have been reached by a default (Section 2.5).¶
A receipt cannot prove that something did not happen. An observer at the boundary can separately report that it observed no effect. The check in Section 3.5 detects a conflicting executed outcome in the supplied set; it does not establish absence of an effect.¶
A gate allows an action, the action runs, and an executor or an observer at the boundary records what happened in an outcome receipt signed with its own key. The outcome receipt names the decision by its content root in decisionRef.¶
| Record, field | Outcome and decision receipt |
|---|---|
| AR, event_id | outcomeId |
| AR, trace_id | traceContext.traceId of the referenced decision |
| AR, parent_id | traceContext.parentId of the referenced decision |
| decision binding | decisionRef, the content root of the decision |
| AR, timestamp | performedAt |
| AR, actor | executor.id |
| AR, action | requestedActionDigest, equal to parametersDigest |
| result | status executed, effectDigest |
| authorization | the decision (ALLOW, validity.expiresAt) |
| evidence | evidenceRefs of the decision |
The architecture asks that Action Records be produced at the boundary where the action took effect. Its WI-1-3 distinguishes the Recorder's signing identity from the recorded Agent's identity where they are operationally separate. Section 3.4 checks that the outcome and decision use different keys and that executor.id differs from decisionMaker.id. Those checks alone do not establish operational separation or that the outcome signer observed the boundary.¶
This document does not say over which bytes policyBoundary.policyDigest is computed. Where a policy consists of several files, a SHA-256 over their concatenation does not show where one file ends and the next begins. A deployment can publish the rule by which it builds policyDigest so that third parties can recompute it.¶
A record made after the interaction, such as an outcome receipt, a later countersignature or a settlement, can name the decision by its content root. The content root is the same for every copy of the payload and does not change for as long as the payload bytes are kept; a receipt that supersedes it has its own content root and names it in relationships (Section 3.8). decisionId and validity.nonce serve the exchange in which the decision is made, and this document does not require them to be unique beyond it.¶
A decision may rest on an evaluation result, such as a test suite that passed. A Signed Evaluation Receipt [SER] records such a result. It appears in a decision receipt only as an entry of evidenceRefs whose digest is the receipt digest, SHA-256 over its payload bytes, as in [SER-MAPPINGS]. A verifier MUST NOT treat a valid Signed Evaluation Receipt, or its presence in evidenceRefs, as permission for an action. In the records of this document only a decision receipt with the verdict ALLOW, from a key the relying party trusts for decisions, records a permission. Section 3.12 defines an optional check, offline, that an entry of evidenceRefs names the payload bytes of a supplied evaluation receipt.¶
This section is informative. At the places below, the mapping of this section needed a reading of revision -01 of [AUDIT-ARCH]. They are offered as observations and questions, not as requirements.¶
The procedure below needs no network access. Each step either passes or ends the procedure with a failure named by the step. A later step never repairs an earlier failure. Where several checks of one step fail, the failure is that of the step; which or how many of the failing members a verifier reports is not part of the result. A requirement that more than one step checks fails at the first of those steps. Wherever this section compares two times, it compares their full value, as if each fraction of a second were padded with zeros to six digits.¶
Steps 1, 2, 3 and 6 of Section 3.2, and with them steps 1 and 2 of Section 3.4, are those of the binding of the receipt. Section 3.9 states what each of them establishes in every binding, and Section 3.10 gives them for the DSSE binding and Appendix B for the COSE_Sign1 binding. All other steps and checks of this section and of Section 4 take from a receipt only its payload bytes, its content root, its predicate and its predicate digest, and are the same in every binding; their other inputs are those that they name. The verifier supplies the binding of each receipt, including each held receipt, as an input and does not infer it from the receipt bytes. Receipt bytes that the selected binding does not accept fail step 1.¶
The verifier needs the receipt bytes of each receipt and the Ed25519 public keys selected by its trust policy for the decision signer and, for Case 3, the outcome signer. It also needs the expected decisionMaker.id and, for Case 3, the expected executor.id whose assertion that policy permits under the outcome-signing key. An outcome signer may be an observer rather than the executor.¶
The verifier supplies an evaluation time T in UTC, in the form of the timestamps of Section 3.8; it does not take T from a receipt. It also chooses which case of Section 3.3 it checks; it does not take the case from the receipt. Expected audience and nonce and the effect bytes are optional inputs. Action bytes are optional except where the check of Section 3.11.3 or of Section 3.11.6.3 is requested; in that case they are required. Case 1 requires the approval record bytes. Case 3 requires the outcome receipt. A request for Case 3 that supplies no outcome receipt is incomplete; the verifier gives no result for it, and no result is neither a pass nor a failure of a step. Such a request is incomplete as a whole: the verifier refuses it before any step of Section 3.2. Required approval record bytes that are not supplied fail Case 1, and required action bytes that are not supplied fail check 1 of Section 3.11.3 or of Section 3.11.6.3. A further optional input is the request to check the approver signature and, for it, the approver key of Section 3.11.2, or the request to check the approver assertion and, for it, the inputs of Section 3.11.6.2, and the request to check a cited evaluation receipt and, for it, the receipt bytes of Section 3.12. Inputs or evidence whose bytes are not checked remain digest references, not verified contents. The members inputSnapshot and evidenceRefs name digests and relations, not the issuer or operator of the evidence they name, so a verifier cannot tell from them who issued each item; separate keys do not show independent operators either (step 5 of Section 3.4).¶
For JSON values parsed from receipt bytes, payload bytes, approval record bytes or the client data of Section 3.11.6.3, the outermost value has depth zero. Each object member value or array element increases depth by one. A value with depth greater than 64 fails the step that parses it. For identity extraction in the first check of Section 3.5, such a citation gives no identity and is reported as not counted. Where a verifier, relying party or Auditor parses another input of this document as JSON, such as a consumption state, the same limit applies. A value that holds, in a string or a member name, an escape sequence for an unpaired surrogate does not parse in this sense. For identity extraction in the first check of Section 3.5, such a citation gives no identity and is reported as not counted; elsewhere it fails the step that parses it.¶
An Auditor that checks a receipt post hoc sets T to the time that its audit asks about and takes that time from its audit context, for example from a record made at the boundary where the action took effect. With a later T, such as the current time of the Auditor, step 9 of Section 3.2 fails for every receipt whose validity has ended. That failure says that the receipt is not usable at T. It does not say that the receipt was invalid when it was issued. A relying party that lets an action run uses its own current time as T (Section 4).¶
The procedure of Section 3 takes no consumption state and no state of key revocation as of T. A consumption state read after T that records an approval as consumed does not show that it was consumed before T, and, since item 6 of Section 4 lets a relying party drop entries, a state read after T that lacks an entry does not show that the approval was unconsumed at T.¶
The checks of a case follow step 10 of Section 3.2.¶
decision.verdict MUST be ALLOW and decision.reasonCodes MUST have an element equal to user_approval. inputSnapshot MUST contain exactly one entry whose name is "approval record"; it may contain other entries. The approval record bytes A MUST be supplied, MUST hash to that entry's digest, and MUST be their own [RFC8785] serialization.¶
A MUST be a JSON object containing approvalId, approver, session, actionDigest, approvedAt and validUntil. Other members of A are not checked. The bound of step 4 of Section 3.2 on integer literals applies to P and not to A. approvalId, approver and session MUST be non-empty strings. actionDigest MUST have the digest form of Section 3.8 and MUST equal proposedAction.parametersDigest. approver MUST equal principal.id. approvedAt and validUntil MUST be [RFC3339] UTC timestamps with a trailing "Z" in the form given in Section 3.8. The bounds approvedAt <= decidedAt <= T < validity.expiresAt <= validUntil MUST hold.¶
A decision receipt names no executor. validity.audience names the parties for which the decision is meant, and step 9 of Section 3.2 compares it only with an expected audience that the verifier supplies. No step compares executor.id of an outcome receipt with validity.audience; step 5 of Section 3.4 requires executor.id to differ from decisionMaker.id. Whether the party that runs the action is one that the decision was meant for is a matter for the relying party when it lets the action run; this document does not define that check, and the receipts do not record it.¶
An Auditor that holds the receipts and approval records of a run can check three properties that no single receipt shows. These checks are only as complete as the set of receipts the Auditor holds. Their results are reported apart from the result of a receipt under Sections 3.2 to 3.4; a failure or a missing result here does not turn a pass of that receipt into a failure, and a pass here does not turn its failure into a pass.¶
The Auditor supplies the expected signing key for each held receipt under its trust policy and checks every supplied held receipt, in its binding, before the three checks below. The Auditor knows the binding of a held receipt as it knows its expected signing key. It need not know whether the receipt is a decision receipt or an outcome receipt; a held receipt passes these preliminary checks where it passes them as one of the two, and step 6 of its binding lets it pass as one of them at most. A held decision receipt fails these preliminary checks where it does not pass steps 1 to 6 of Section 3.2 under its expected signing key. A held outcome receipt fails them where it does not pass steps 1 to 5 of Section 3.2 under its expected signing key, or where it does not pass step 2 of Section 3.4. In addition, a supplied held receipt fails them where its predicate is not a JSON object, or where relationships is present in that predicate and the member or one of its entries does not satisfy the field rules of Section 3.8 for relationships, including the definitions of the types and the notes that those rules reference. These additional requirements are part of the preliminary checks, and failure of either makes the input invalid.¶
The first and second checks count the receipts that pass these preliminary checks under their expected signing keys; a receipt that has expired at the evaluation time T is not left out of either check for that reason. Where a supplied held receipt fails the preliminary checks, the input is invalid, as for the third check, and neither the first nor the second check gives a result.¶
The Auditor MUST obtain the relying party's consumption scope from its audit context, or where that names none, from its trust policy; that scope is not inferred from an approvalId alone. First, within that scope, the first check fails where two distinct released ALLOW decision payloads, identified by different content roots, cite approval records with the same identity (approvalId, actionDigest and session). Such a pair violates item 1 of Section 4, for an approval identified as in item 2; additional copies or signatures of one payload do not. An ALLOW is released as Section 4 defines it; one that the Auditor can show never left the control of the relying party does not count. The audit context or trust policy that names the scope also says which decisions belong to it, and the audit context says which held ALLOW decisions the Auditor can show were never released; this document does not define their form. A scope or an audit context in a form that the Auditor does not read is one that it cannot read; the test package of Appendix A.5 describes the form that its verifier reads. Where the Auditor can obtain no consumption scope, or cannot read its audit context or the scope it obtains, the first check gives no result; it does not then take a scope from the trust policy instead. The first check counts the held receipts; the receipt being verified counts only where it is also held. The identity of a cited approval is read from the approval record bytes whose SHA-256 is the digest of an inputSnapshot entry named "approval record", and two identities are the same where their approvalId values are equal strings, their session values are equal strings and their actionDigest values are equal. A held ALLOW that cites more than one approval record is counted for each of them. For identity extraction in this first check, the approval record bytes must be valid UTF-8 and parse as one JSON object with no duplicate member names. Bytes that hold a value with depth greater than 64, counted as in Section 3.1, do not parse in this sense. approvalId and session must be non-empty strings, and actionDigest must have the digest form of Section 3.8. No other Case 1 checks are applied when extracting this identity. This does not waive Case 1 for a receipt being verified in its own right. If the cited bytes are unavailable or do not meet these requirements, that citation gives no identity for this check; it is not counted and is reported as not counted. What the first check can and cannot detect is stated at the end of Section 4.¶
Second, the second check fails where an outcome receipt with status executed names, in decisionRef, the content root of a receipt whose verdict is not ALLOW. Case 3 of Section 3.3 requires ALLOW for an executed action, so an execution that names a decision with DENY, REFUSE, ESCALATE, DEFER or OBSERVE is the same conflict.¶
Third, an entry of relationships of a decision or outcome receipt whose relation is supersedes names the predecessor of its receipt, the receipt that the Auditor holds whose content root is the digest of targetReceiptDigest of that entry. A payload is its own [RFC8785] serialization (step 4 of Section 3.2), so that content root is the jcs-sha256-v1 digest of the parsed payload of the predecessor, in the DSSE binding its Statement. The Auditor takes the predecessor as the state before the receipt that its issuer declared, not as a statement that this state is correct (Section 3.8), and derives earlier states from the predecessor of each predecessor in turn. An entry fails this check where the Auditor holds no receipt with that content root, or where the entry has targetSubjectDigest and its digest is not the predicate digest of the predecessor, in the DSSE binding the digest.sha256 of its subject entry; no earlier state is derived from such an entry. Entries with another relation are not part of this check, and no earlier state is derived from them. Where a receipt has more than one entry with relation supersedes, each entry is checked on its own and names one predecessor, and the Auditor derives earlier states from each of them.¶
For this third check, the lookup of predecessors follows only the entries with relation supersedes of the receipt being verified and, in turn, of each predecessor found; a held receipt that this chain does not reach is subject only to the preliminary checks, and its own entries are not looked up. Either kind of held receipt may be a predecessor of either kind of receipt.¶
Apart from these preliminary checks, a held receipt used as a predecessor need not pass the remaining checks of Sections 3.2 to 3.4. Failure of one of those remaining checks is not, by itself, a failure of this third check. In particular, a historical predecessor is not rejected by this check merely because it has expired at the evaluation time T or does not pass a case of Section 3.3. This does not waive any check required for a receipt that is also being verified in its own right. An entry of a predecessor, at any depth of the chain, is checked like an entry of the receipt, and where it fails, this third check fails for the receipt.¶
If any supplied held receipt fails the preliminary checks above, the input is invalid and the Auditor reports no result for this third check. This applies also to supplied held receipts that no supersedes entry references. An invalid input is distinct from a supersedes entry that fails because its predecessor is absent from a valid set of held receipts. Passing the preliminary checks does not establish that a predecessor's declared state is correct. The third check does not require that a predecessor concerns the same action as its receipt; it matches digests only.¶
A receipt that supersedes, retracts or otherwise relates to a decision receipt does not change what an outcome receipt that names that decision in decisionRef shows; step 4 of Section 3.4 compares decisionRef with the content root R and reads no entry of relationships. Nor does such a receipt show that it reached the executor, the relying party or any other party. A decision maker that replaces an ALLOW cannot show with the receipts of this document that no action ran under the earlier ALLOW (compare Section 2.5).¶
A pass shows that the holder of the decision maker's key signed exactly these payload bytes. Where action bytes are supplied under Section 3.1, their SHA-256 matches proposedAction.parametersDigest.sha256. In Case 1, the SHA-256 of the required approval record bytes matches the digest.sha256 value of the unique inputSnapshot entry whose name is "approval record". For Case 3, a pass also shows that the holder of a different key, which the trust policy permits to attest the expected executor.id, signed an outcome with status executed bound to that decision. It does not show that the signer's statements are true, that the approval came from the named person, that the outcome signer observed the boundary, that no other receipt exists, or that the keys were not misused. Nor does it show that the decision maker held its authority, or a delegation that delegationRefs names, at the time of the action; a pass binds only what the steps of Section 3 check. A decision maker that did not check its own authority or a delegation at the time of the action can say so in notChecked (Section 3.2, step 7); such an entry is its own statement and not a result of the steps of Section 3. Those questions belong to the trust policy, to signed approvals, to observers and to transparency registration (Section 3.7). Where Section 3.11.3 passed, see Section 3.11.4, and where Section 3.11.6.3 passed, see Section 3.11.6.4. Where the check of Section 3.12 passed, that section says what the pass shows.¶
The members of a receipt differ in what a pass shows about them. The checks compare decisionMaker.id with the expected identifier and trust policy, and, for an outcome receipt, executor.id with its expected identifier and trust policy. In Case 1 they compare the "approval record" entry and principal.id with the supplied approval record. For an outcome receipt they compare decisionRef and requestedActionDigest with the decision receipt. They compare parametersDigest, effectDigest, audience and nonce with the corresponding inputs where those inputs are supplied, compare decidedAt, validity.expiresAt and performedAt with T or with each other, and check decision.verdict, reasonCodes, status and, in Case 2, actionOutcome as the applicable case requires. Where reasonCodes has an element not_assessable, they check that notChecked and decisionChangeConditions have the entries that Section 3.8 requires. Other members, including policyBoundary, evidenceRefs, notChecked and recordedAt, are statements of their signer whose form is checked.¶
This section is informative. It describes how the receipts of this document can be registered with a Transparency Service under [RFC9943]. It defines no format, predicate type, media type or registry and adds no requirement to those of [RFC9943].¶
Registration. In SCITT a Signed Statement is a COSE_Sign1 message whose protected header carries CBOR Web Token (CWT) Claims with an Issuer Claim and a Subject Claim (Section 6 of [RFC9943]). A decision receipt or an outcome receipt can be registered in two ways. Its receipt bytes can be the payload of a Signed Statement. Or, as Section 6.2 of [RFC9943] allows for Statements too large or too sensitive to send to a Transparency Service, the Signed Statement can be made over a hash, here the content root of the receipt. This document does not define how a Signed Statement indicates the hash, its algorithm or its content type; that belongs to a deployment's profile and to the Registration Policy of the Transparency Service (Section 5.1.1 of [RFC9943]).¶
The test package of Appendix A.5 gives one example Signed Statement for each of the two ways, with a SCITT Receipt for each.¶
A receipt in the COSE_Sign1 binding of Appendix B is itself a Signed Statement and can be registered without either of these two ways (Appendix B.4).¶
Issuer. The Issuer of the Signed Statement is the entity identified by its iss Claim, whose key signs the COSE_Sign1 (Sections 3 and 6 of [RFC9943]). It can be the decision maker or the outcome signer, or another party such as the Auditing Service of Section 4.2 of [AUDIT-ARCH]. The Client that registers a Signed Statement need not be its Issuer (Section 7 of [RFC9943]). For the two wrapping forms described above, the Issuer's COSE signature is separate from the signature of the receipt. For direct registration under Appendix B.4, they are the same signature. The COSE signature authenticates the Signed Statement's protected header and payload. The signature of the receipt covers the signature input of its binding, in the DSSE binding the pre-authentication encoding of the receipt's payloadType and decoded payload bytes, not the DSSE envelope as a whole. Section 3.2 or Section 3.4 checks the signature of the receipt and its signer.¶
What a SCITT Receipt shows. During Registration the Transparency Service verifies the Issuer's signature and applies its Registration Policy (Sections 5.1.1.1 and 6.3 of [RFC9943]). It registers the Signed Statement before it releases a Receipt (Section 6.3 of [RFC9943]), and the Receipt demonstrates inclusion of the Signed Statement in the Verifiable Data Structure of the Transparency Service and can be verified without online access to it (Section 4 of [RFC9943]). The Transparency Service records the Registration time when it adds the Signed Statement (Section 7 of [RFC9943]).¶
What it does not show. Registering a Statement proves only that it was produced by an Issuer, not that it is accurate (Section 9.2 of [RFC9943]). Issuers can register some Statements and not others (Section 9.3 of [RFC9943]), so a Receipt for one receipt says nothing about a receipt that was never registered. The Subject Claim lets Relying Parties identify the Transparent Statements registered for a Subject (Section 3 of [RFC9943]), not receipts that were never registered. Unless the Registration Policy says otherwise, the order of the Verifiable Data Structure need not be the order of issuance (Section 9.1 of [RFC9943]). A Receipt does not change what the checks of Section 3 show, and it does not make an ALLOW an authorization.¶
Verification. A verifier checks the SCITT Receipt for the particular Signed Statement, including its inclusion proof, using the verification key of a Receipt Issuer it trusts and the verification rules for the applicable Verifiable Data Structure (Sections 7 and 7.1 of [RFC9943]). It establishes the binding from the registered Signed Statement to the receipt bytes or content root used in the following checks. If the Signed Statement's COSE payload is detached and this binding depends on the Issuer's signature, it verifies that signature. It then applies Section 3 of this document to the receipt. Where the receipt bytes are the Signed Statement's payload, it checks those bytes; where the Signed Statement is made over the content root, it checks a receipt whose computed content root equals the registered value. This latter comparison binds the payload bytes, not the receipt bytes or the signature of the receipt, and does not establish that the signature of the receipt existed when the content root was registered. Section 7.1 of [RFC9943] permits verification of a Receipt without rechecking the Issuer's signature on the Signed Statement; this does not dispense with the binding just described. The signatures of the decision maker and of the outcome signer are checked by Section 3 in either case.¶
Step 7 of Section 3.2 and step 3 of Section 3.4 apply the rules of this section. Figure 1 lists every member of the predicate of a decision receipt that this document admits, and Figure 2 every member of the predicate of an outcome receipt, each with its full path in predicate, where [] stands for each entry of an array. This section states these rules itself, and they are the same in every binding. The rules and figures in this section define the admitted predicate members for every binding.¶
In the column Type, a digest is an object with exactly one member, sha256, whose value is 64 lowercase hexadecimal digits; a timestamp is an [RFC3339] UTC timestamp with a trailing "Z", with an upper-case "T" and "Z", a year from 0001 to 9999, a date that exists in the calendar, a second from 00 to 59 and, where present, a fraction of a second with one to six digits after the point; a typedDigest is an object whose only members are type, digestAlgorithm, digest and, optionally, purpose, where type is a non-empty string, purpose, where present, a non-empty string, digestAlgorithm jcs-sha256-v1 and digest 64 lowercase hexadecimal digits; a relationDigest is an object whose only members are digestAlgorithm, which is jcs-sha256-v1, and digest, which is 64 lowercase hexadecimal digits; an array of 1 to 64 objects holds at least one and at most 64 entries, each an object; a string is any JSON string, and a non-empty string has at least one character; a boolean is one of the JSON values true or false; any value is any JSON value. The digest algorithm jcs-sha256-v1 is SHA-256 over the [RFC8785] serialization of a parsed JSON value, given as 64 lowercase hexadecimal digits. The type integer, 0 or more, is a JSON number written without the frac and exp parts of the grammar in Section 6 of [RFC8259], from 0 to 9007199254740991; a number written with frac or exp is not such an integer, even where its value is whole. In an array of objects or strings, each entry is an object or a string, and one array may hold both. The type object admits only the members listed for it, and the type open object admits any members. The type names preActionAuthorization and outcome allow only the JSON strings "preActionAuthorization" and "outcome", respectively. The type "0.1." and one or more digits means a string consisting of "0.1." followed by one or more ASCII decimal digits. The notes (1) to (6) follow the figures.¶
Required yes means that the member MUST be present whenever the object or array entry that contains it is present. Only decisionMaker.version, actionOutcome.performedAt and actionOutcome.outcomeRef may be null. Everywhere else a null is not allowed, including inside an open object, in an array of any values and inside a non-null member of type any value. A member that the figures do not list for an object that is not open is not allowed, including at the top level of predicate. An object or array at any depth inside an open object, inside a member of type any value or inside an entry of an array of any values belongs to that open object, member or entry: the figures do not list its members, and of the rules of this section only the exclusion of null applies to it.¶
An entry of relationships that verifies shows a relation that the issuer of the receipt declared to the receipt or subject that its relationDigests name; it is not a statement that the target is correct.¶
Member Type Required schemaVersion "0.1." and one or more digits yes decisionId non-empty string yes decisionType preActionAuthorization yes decidedAt timestamp yes recordedAt timestamp no decisionMaker object yes decisionMaker.id non-empty string yes decisionMaker.version any value no agent object yes agent.id non-empty string yes agent.version string no agent.configurationDigest digest no principal object yes principal.id non-empty string yes principal.authnContextRef object no principal.authnContextRef.uri string no principal.authnContextRef.digest digest no delegationRefs array of any values no proposedAction object yes proposedAction.actionType string yes proposedAction.target object no proposedAction.target.name string no proposedAction.target.uri string no proposedAction.target.digest digest no proposedAction.method string no proposedAction.parametersDigest digest (1) proposedAction.parametersRef open object (1) proposedAction.parametersSchemaRef object no proposedAction.parametersSchemaRef.uri string no proposedAction.parametersSchemaRef.digest digest no inputSnapshot array of objects yes inputSnapshot[].name string no inputSnapshot[].uri string no inputSnapshot[].digest digest yes inputSnapshot[].mediaType string no policyBoundary object yes policyBoundary.policyEngine non-empty string yes policyBoundary.policyId non-empty string yes policyBoundary.decisionPath non-empty string yes policyBoundary.policyDigest digest yes policyBoundary.bundleRevision string no policyBoundary.validFrom timestamp no policyBoundary.validUntil timestamp no evidenceRefs array of objects yes evidenceRefs[].relation string yes evidenceRefs[].digest digest yes evidenceRefs[].artifactDigest digest no evidenceRefs[].uri string no evidenceRefs[].predicateType string no evidenceRefs[].typedDigest typedDigest no decision object yes decision.verdict (2) yes decision.reasonCodes non-empty array of non-empty strings yes decision.humanReadableSummary string no decision.obligations array of any values no decision.allowedScope array of any values no notChecked array of objects or strings yes notChecked[].field string no notChecked[].reason string no notChecked[].impact string no decisionChangeConditions array of objects yes decisionChangeConditions[].conditionType string no decisionChangeConditions[].description string no decisionChangeConditions[].requiredEvidenceType string no actionOutcome object no actionOutcome.status (3) no actionOutcome.performedAt timestamp no actionOutcome.outcomeRef object no actionOutcome.outcomeRef.uri string no actionOutcome.outcomeRef.digest digest no traceContext open object no privacy object yes privacy.rawInputsIncluded boolean yes privacy.redactionProfile string no privacy.erased array of any values no privacy.masked array of any values no validity object yes validity.audience non-empty array of non-empty strings yes validity.nonce non-empty string yes validity.expiresAt timestamp yes sequence object no sequence.runId non-empty string yes sequence.seq integer, 0 or more yes relationships array of 1 to 64 objects no relationships[].relation (5) yes relationships[].targetReceiptDigest relationDigest yes relationships[].targetSubjectDigest relationDigest no relationships[].reason string no relationships[].reasonCode (6) no relationships[].declaredAt timestamp no
Member Type Required schemaVersion "0.1." and one or more digits yes outcomeId non-empty string yes decisionRef digest yes executor object yes executor.id non-empty string yes executor.keyId string no requestedActionDigest digest yes status (4) yes performedAt timestamp yes effectDigest digest no actualActionDigest digest no responseDigest digest no policyPurpose outcome no receiverRefs array of objects no receiverRefs[].relation non-empty string yes receiverRefs[].digest digest yes receiverRefs[].receiverId string no receiverRefs[].receiverKeyId string no receiverRefs[].artifactDigest digest no sequence object no sequence.runId non-empty string yes sequence.seq integer, 0 or more yes recordedAt timestamp no limitations array of strings no traceContext object no traceContext.traceparent string no validity object no validity.audience array of any values no validity.nonce string no relationships array of 1 to 64 objects no relationships[].relation (5) yes relationships[].targetReceiptDigest relationDigest yes relationships[].targetSubjectDigest relationDigest no relationships[].reason string no relationships[].reasonCode (6) no relationships[].declaredAt timestamp no
The notes of the figures are as follows. (1) proposedAction MUST carry parametersDigest, parametersRef or both. This document takes no digest from parametersRef, so with parametersRef alone step 10 of Section 3.2 fails where action bytes are given, and Case 1 of Section 3.3 and step 4 of Section 3.4 fail. (2) decision.verdict is ALLOW, DENY, REFUSE, ESCALATE, DEFER or OBSERVE. (3) actionOutcome.status is notAttempted, blocked, refused, attempted, executed, failed or unknown. (4) status is executed, refused, failed or partial. (5) relationships[].relation is supersedes, revises, corrects, retracts, renews, derivedFrom or amends. (6) relationships[].reasonCode is correction, rerun, data-update, methodology-update, policy-change, withdrawal or other. Where decision.reasonCodes has an element equal to not_assessable, decision.verdict MUST be REFUSE, notChecked MUST have at least one entry that is an object whose members field and reason are non-empty strings, and decisionChangeConditions MUST have at least one entry that is an object whose member description is a non-empty string (Section 2.2). Section 3.3 adds rules per case, and steps 8 to 10 of Section 3.2 and steps 4 to 7 of Section 3.4 add rules across members.¶
A decision receipt and an outcome receipt meet the requirements below in every binding. Each item names the steps that check it. The key words of those steps apply; this section adds no requirement of its own.¶
In this binding a receipt is a DSSE envelope [DSSE] whose payload is an in-toto Statement v1 [INTOTO-STATEMENT], and the receipt bytes are the envelope bytes. Existing receipts use this DSSE and in-toto structure with the receipt type identifiers of revision -10; revision -11 replaced those identifiers with the ones below. The decision receipt type is https://signed-evidence.org/receipts/decision/v0.1 and the outcome receipt type is https://signed-evidence.org/receipts/outcome/v0.1, the type names that the COSE_Sign1 binding of Appendix B uses. For a receipt in this binding, steps 1, 2, 3 and 6 of Section 3.2 are as follows. For an outcome receipt, step 6 uses the outcome receipt type and is step 2 of Section 3.4.¶
This section is optional. It defines a member of the approval record of Case 1 of Section 3.3 through which the holder of a key that the trust policy binds to the approver signs the approval record, and a check of that signature. An approval record without that member is an approval record of Case 1 and is checked as before; nothing in this section makes it invalid.¶
An approval record A MAY contain the member approverSignature. Its value is a JSON object whose only member is sig. The value of sig is a string that holds an Ed25519 signature [RFC8032] in base64 in the form of step 2 of Section 3.10.¶
The signed bytes are formed from A in three steps.¶
The approver signs M. B holds approvalId, approver, session, actionDigest, approvedAt and validUntil, so the signature covers each of them. It covers the action bytes through actionDigest, their SHA-256. The canonical serialization in step 2 derives the signed bytes; as for P in item 1 of Section 3.9, it never repairs or replaces the bytes of A, which Case 1 requires to be their own [RFC8785] serialization.¶
Whoever issues an approval record with approverSignature MUST NOT change a member of U after the approver has signed M. A changed record needs a new signature of the approver, and a later validity needs a new approval act, as Section 4 says.¶
The approver key SHOULD be held so that neither the decision maker nor the agent can sign with it.¶
A verifier checks the approver signature only where it is asked to; it does not take that choice from the approval record, just as it does not take the case from the receipt (Section 3.1). For that check it needs, in addition to the inputs of Case 1, the action bytes and the Ed25519 public key that its trust policy selects for the approver named in A. This key is called the approver key. The check belongs to Case 1 and is not asked for under another case.¶
The check of the approver signature runs after the checks of Case 1 of Section 3.3 have passed and before any check of Section 4. Each of the checks below either passes or ends the procedure with the failure named "approver signature". They run in this order.¶
No check of this section compares a time with T. The time bounds of Case 1 apply unchanged. After a pass, the values of approvedAt and validUntil that they compare are values that the holder of the approver key signed.¶
Where a verifier is not asked to check the approver signature, approverSignature is one of the members of A that Case 1 does not check. A verifier that has not run the checks of this section on an approval record, or for which they failed, MUST NOT report that the approver signed that approval. It can report that A carries approverSignature if it says that the signature was not checked or did not pass.¶
A pass of Section 3.11.3 shows, in addition to Section 3.6, that the holder of a key that the trust policy binds to the approver signed approvalId, approver, session, actionDigest, approvedAt, validUntil and every other member of A except approverSignature, and that the supplied action bytes have that actionDigest as their SHA-256. Changing session or a validity value changes M. A record that retains the original approver signature then fails check 5 if it reaches that check. Supplied action bytes whose SHA-256 differs from actionDigest fail step 10 of Section 3.2 or Case 1 of Section 3.3, before Section 3.11.3.¶
A pass does not show the following.¶
An approval record without approverSignature passes Case 1 where it meets Case 1. An unsigned approval record that reaches check 2 of Section 3.11.3 fails that check. Whether signed approvals are required is a choice of the relying party and of its trust policy; this document does not require them.¶
An approval record with approverSignature passes Case 1 if it meets all of Case 1's requirements. A verifier that is not asked to check the approver signature does not check that member and does not report it as signed (Section 3.11.3).¶
The identity of an approval under item 2 of Section 4 stays (approvalId, actionDigest and session). A signed record and a copy of it without approverSignature are the same approval, and the rules of Section 4 apply to them as to any copies. A copy with another session has another identity, so consumption state alone does not detect that substitution. If it retains the original approver signature and reaches check 5, it fails that check.¶
This subsection is optional. It defines a second member of the approval record of Case 1, approverAssertion, through which the approver confirms the approval record on an authenticator with a passkey, a public key credential of [WEBAUTHN], and a check of that confirmation. The challenge of the assertion is a digest over the approval record, so the signature of the authenticator covers the record, and with it actionDigest, through that challenge. An approval record without approverAssertion is an approval record of Case 1 and is checked as before; nothing in this subsection makes it invalid.¶
An approval record A MAY contain the member approverAssertion. Its value is a JSON object whose only members are authenticatorData, clientDataJSON and signature. Each is a string that holds, in base64 in the form of step 2 of Section 3.10, the byte string of the same name of an assertion (Section 5.2.2 of [WEBAUTHN]); signature holds the ECDSA signature in the ASN.1 DER form that Section 6.5.5 of [WEBAUTHN] gives for the algorithm ES256 of Section 2.1 of [RFC9053]. Whoever issues an approval record with approverAssertion MUST NOT also give it approverSignature.¶
The challenge is formed from A in four steps.¶
The relying party that asks the approver to confirm uses this challenge as the challenge of its request for an assertion (Section 5.1.4 of [WEBAUTHN]); the client carries it in clientDataJSON in base64url without padding, and the authenticator signs authenticatorData followed by the SHA-256 of clientDataJSON (Section 6.3.3 of [WEBAUTHN]). Through the challenge, the signature covers B, which holds approvalId, approver, session, actionDigest, approvedAt and validUntil. Section 13.4.3 of [WEBAUTHN] asks for random challenges, so that an assertion cannot be replayed. This challenge is not random. It is bound to one approval record, whose identity Section 4 keys, so a replayed assertion confirms only that record, and a relying party refuses its reuse as it refuses any copy of the record.¶
Whoever issues an approval record with approverAssertion MUST NOT change a member of U after the approver confirmed it. A changed record needs a new confirmation, and a later validity needs a new approval act, as Section 4 says.¶
The identity of an approval under item 2 of Section 4 stays (approvalId, actionDigest and session). A record with approverAssertion and a copy of it without that member are the same approval. A copy with another session has another identity; if it retains the original assertion and reaches check 4 of Section 3.11.6.3, it fails that check, because its challenge differs.¶
A verifier checks the approver assertion only where it is asked to; it does not take that choice from the approval record. For that check it needs, in addition to the inputs of Case 1, the action bytes, the public key that its trust policy binds, as the key of a passkey, to the approver named in A, a point on the curve P-256, called the passkey key, and the RP ID and the origin of the relying party that asked for the confirmation, called the expected RP ID and the expected origin. The check belongs to Case 1 and is not asked for under another case. It is asked for apart from the check of Section 3.11.3. This document does not fix how a trust policy encodes the passkey key; the test package and its verifier take it in the uncompressed form of 65 bytes, the byte 0x04 followed by the x and y coordinates of 32 bytes each.¶
The check of the approver assertion runs after the checks of Case 1 of Section 3.3 have passed and before any check of Section 4. Each of the checks below either passes or ends the procedure with the failure named "approver assertion". They run in this order.¶
No check of this section compares a time with T or reads the signature counter. A verifier that has not run these checks on an approval record, or for which they failed, MUST NOT report that the approver confirmed that approval with a passkey. It can report that A carries approverAssertion if it says that the assertion was not checked or did not pass. Where a verifier is not asked to check the approver assertion, approverAssertion is one of the members of A that Case 1 does not check.¶
A pass of Section 3.11.6.3 shows, in addition to Section 3.6, that the holder of a P-256 key that the trust policy binds to the approver as the key of a passkey produced, for the expected RP ID and origin, an assertion whose challenge is the challenge formed from A as in Section 3.11.6.1. It thereby confirmed approvalId, approver, session, actionDigest, approvedAt, validUntil and every other member of A except approverAssertion, and the authenticator data of that assertion states that the user was present and verified.¶
A pass does not show the following.¶
[YOSSIF] has a host assemble a claim set with the hash of the action payload and sign it with a key, gated by user verification, that signs a raw digest; it holds that a standard WebAuthn authenticator does not conform to its profile, because such an authenticator signs only its fixed assertion structure (Section 1 of [YOSSIF]). [HAPS] has a Presence Provider sign a credential that binds an action intent and the hash of a Signing View derived from that intent, and names a WebAuthn assertion as evidence that a deployment has to bind to the action itself (Section 2.1 of [HAPS]). The profile of this subsection is such a binding for the approval record of Case 1: a standard assertion, bound to one approval record through its challenge. It carries no presentation hash of a Signing View; the presentation hash in [HAPS] binds view data and does not establish what the person actually saw (Section 7.2 of [HAPS]).¶
This section is optional. Section 2.6 lets a decision receipt name a Signed Evaluation Receipt [SER] in evidenceRefs by its receipt digest, SHA-256 over its payload bytes. This section defines a check, offline and without a service, that an entry of evidenceRefs names the payload bytes of a supplied evaluation receipt. It adds no member and changes no field rule; a decision receipt that names no evaluation receipt is checked as before.¶
Inputs. A verifier checks a cited evaluation receipt only where it is asked to; it does not take that choice from the decision receipt, just as it does not take the case from the receipt (Section 3.1). For that check it needs the receipt bytes E of the evaluation receipt, the receipt object of Section 3.1 of [SER]. The check can be asked for under any case of Section 3.3. A request for this check that supplies no E is incomplete; the verifier gives no result for this check, and no result is neither a pass nor a failure of a check. Such a request is incomplete as a whole: the verifier refuses it before any step of Section 3.2 and reports no result for the requested case either.¶
Verification. The check runs after step 10 of Section 3.2 and the checks of the requested case have passed. Each of the checks below either passes or ends the procedure with the failure named "evaluation receipt". They run in this order.¶
This check does not run steps 6 to 11 of Section 5 of [SER]: it does not check the members of the evaluation payload, does not verify the signature of the evaluation receipt and compares no time with T. A verifier that relies on what the evaluation receipt states verifies it by Section 5 of [SER] under a key that its trust policy fixes for the Issuer of that receipt and reports that result apart. Since the digest is taken over B and not over E, an evaluation receipt whose receipt object differs, for example by a key hint or by whitespace, but whose B is the same passes this check in the same way (Section 6 of [SER]).¶
A pass shows, in addition to Section 3.6, that the holder of the decision maker's key signed a decision receipt that names, by its receipt digest, exactly the payload bytes B of the supplied evaluation receipt. It does not show that the evaluation receipt verifies or who issued it, that its result is true, that the decision maker read it or based the decision on it, or that the decision was correct. A pass never turns the evaluation receipt into a permission (Section 2.6). A failure of the citation check shows only that no entry of evidenceRefs names this B; it does not show that the decision maker cited no evaluation, and a receipt that names some other evaluation fails it as well.¶
An approval in Case 1 covers one action and can be used once. Another copy or another signature of the payload of a signed ALLOW that a relying party has released is part of the same honouring and not a second one, as the first check of Section 3.5 counts it. For live use, the relying party MUST apply the time bounds of Section 3.3 with its own current time as T. A historical audit time MUST NOT make an expired approval usable. A relying party that lets an action run because of an approval:¶
A relying party that releases a signed ALLOW citing an approval honours that approval in the sense of item 1, as one that lets the action run does. Releasing a signed ALLOW for an approval and then letting exactly the action it names run are one honouring. A relying party releases a signed ALLOW when the signed decision receipt leaves its control, to the executor, to the agent or to any store that another party can read. A signed ALLOW that never leaves its control, for example one discarded after the durable marking of item 3 failed, is not released and honours no approval. A relying party that is shown again the approval record bytes it has honoured refuses them under item 1. One that is shown a copy with other bytes refuses it under item 1 as well, because item 2 makes the copy the same approval. Releasing the same signed ALLOW again is part of the same honouring and not a second one.¶
Whoever issues approval records MUST NOT give a copy or reissue of an approval a validUntil later than that of the approval act it records; a later validity needs a new approval act and a new approvalId. A relying party cannot check this duty on the records it receives, which is why item 2 has it use the earliest instant given by the validUntil values it has received.¶
Rotation is the step where this requirement is most easily lost. A record that is full is moved aside so that new approvals can be written; if the relying party then reads only the new generation, approvals of the old one may become usable again. Items 4 and 5 preserve the consumed state without requiring a particular storage format.¶
What the receipts show about single use. A decision receipt for Case 1 binds its approval record by digest. An Auditor that holds the receipts and the approval records can therefore detect, with the first check of Section 3.5, a pair of distinct released ALLOW payloads, with different content roots, that cite approval records with the same identity within one consumption scope; such a pair shows that item 1 was not met. Copies of one payload and further signatures over it form no such pair. The first check of Section 3.5 does not detect two executions that reuse one released ALLOW without producing another decision receipt. Outcome receipts may record both executions, but no check in this document compares them for reuse. The first check cannot find a pair if the Auditor lacks either decision receipt or the approval record bytes needed to identify either cited approval. Receipts citing different approval identities form no such pair, including receipts signed with a compromised decision maker key. A pair whose two decisions lie in different consumption scopes is not counted. The receipts enforce nothing. Preventing reuse of an approval or of an already issued ALLOW remains the duty of the relying party under this section, and a pass of Section 3 or of Section 3.5 does not show that the relying party met it.¶
This section is given per [RFC7942] and is to be removed by the RFC Editor before publication. This information does not constitute endorsement. Each entry below says what an implementation is and which part of this document it implements.¶
Key binding. A receipt is only as trustworthy as the verifier's choice of keys and its policy for the identities those keys may attest. Section 3.2 checks decisionMaker.id; Section 3.4 checks the expected executor.id under the outcome-signing key. An observer's signature over an executor identifier is not the executor's own signature. A key held in the recorded Agent's process gives an Auditor that does not trust that Agent little assurance. One inspected design uses separate service accounts (the test package of Appendix A.5).¶
Key compromise. Whoever holds the signing key of a decision maker or of an outcome signer can produce receipts with any decidedAt or performedAt, since these times come from the signer's clock, as the paragraph on clocks below says. A check under Section 3 does not tell such a receipt from one signed before the key was compromised or replaced. Which keys are accepted for which identity and for which period is set by the verifier's trust policy, not by this document; [RFC9943] likewise leaves revocation strategies for compromised keys out of its scope (Section 9.4.2 of [RFC9943]). A trusted external anchor that binds the receipt bytes provides evidence that those bytes existed no later than the time bound supported by the anchor. Ordering that anchor before a revocation record, for example in the same log, establishes that the receipt bytes existed before that record was added, but does not by itself establish that the receipt predates the key compromise. Where the receipt bytes are the payload of a registered Signed Statement (Section 3.7), a Receipt for it shows that the signature of the receipt existed when that Signed Statement was registered, and the Transparency Service records the Registration time (Section 7 of [RFC9943]). Where the Signed Statement is made over the content root, the comparison binds the payload bytes, not the receipt bytes or the signature of the receipt, and does not establish that this signature existed when the content root was registered (Section 3.7). The holder of a compromised decision maker key can also sign ALLOW receipts that cite approvals with new identities. Section 4 does not prevent such signing; what the first check of Section 3.5 can detect is stated at the end of Section 4.¶
Approver key. An approver key that the decision maker or the agent can use gives no assurance beyond their own statements; check 4 of Section 3.11.3 detects only the case where it is the decision maker's key. Compromise of an approver key lets its holder sign approvals with any times, as for the keys of the paragraph Key compromise. M of Section 3.11.1 has the form of the pre-authentication encoding of step 3 of Section 3.10 with the type approval-record-signature-v1, so a signature over M is also a DSSE signature over B with that payload type. Only that type, which differs from the payloadType of a receipt, keeps such a signature apart from the signature of a receipt. A passkey that the decision maker or the agent can use, or a key that they have registered as the approver's passkey, likewise gives no assurance beyond their own statements; no check of Section 3.11.6.3 tells such a key from a passkey of the person.¶
Exact bytes. A verifier that re-serializes a payload before checking it can be led to accept bytes that were never signed, or to compute another content root. Step 4 refuses such payloads, and vector V2-bad tests one of them.¶
Algorithms. Section 3 fixes Ed25519 for the signatures of receipts and of approverSignature, ECDSA with P-256 and SHA-256, ES256 of [RFC9053], for the assertion of Section 3.11.6, and SHA-256 for digests. A digest object names its algorithm by its only member, sha256, and a typedDigest or a relationDigest by its digestAlgorithm, which is jcs-sha256-v1. In the COSE_Sign1 binding the protected header names EdDSA, and a receipt that names another algorithm fails step 1 (Appendix B). The DSSE envelope names no signature algorithm; the verifier uses the Ed25519 public key that its trust policy selects (Section 3.1). A verifier that follows Section 3 accepts no other algorithm, so a change of algorithm needs a revision of this procedure.¶
Replay. An ALLOW for one action must not be usable for another, and an outcome that names another decision must not count as the result of this one. parametersDigest, where present, binds the action bytes, validity binds audience, nonce and expiry, decisionRef binds the outcome, and Section 4 requires the relying party to prevent reuse of an approval; what the receipts show about such reuse is stated at the end of that section. V1-bad tests rejection of changed payload bytes under an unchanged signature. V3-bad tests rejection of an outcome bound to a different decision. The seven vectors do not test consumption-state retention or rotation; F13 in the test package of Appendix A.5 tests refusal of an approval that is recorded as consumed only in an already rotated generation, not the rotation itself. E1 to E21 test how the first check of Section 3.5 counts released ALLOW payloads over the receipts and approval records held; they do not test that a relying party prevents reuse, and no vector tests two executions under one ALLOW, which the first check does not detect (end of Section 4).¶
Self-assertion. actionOutcome in a decision receipt and an outcome receipt whose effect cannot be resolved are statements of their signers. A digest that is present but cannot be resolved to bytes was chosen by the signer.¶
Suppression. A decision maker can fail to write a receipt for a decision it does not want seen. Independent observers at the boundary reduce this risk. Registration with a Transparency Service helps address selective registration when Relying Parties accept a Signed Statement only if they can discover and verify a Receipt for that Signed Statement from a Transparency Service they trust (Sections 7.1 and 9.3 of [RFC9943]). This document does not ensure that a receipt is produced for every decision. A SCITT Receipt shows inclusion of the registered Signed Statement, not that every receipt was registered (Section 3.7). Completeness presupposes an expectation of which receipts ought to exist, and this document does not define that expectation.¶
Gaps. Decision receipts and outcome receipts may carry the optional sequence member, with a run identifier and a counter, as specified in Section 3.8. A verifier that holds numbered receipts of a run can report a gap in the numbers it has. Such a gap can reflect withholding or delivery delay; the numbers alone do not establish its cause. Those sequence numbers alone do not show whether receipts above the highest observed number have been withheld, and a run without the member leaves no such trace (compare Section 6.3 of [GILDA]). Apart from checking its field rules, no step of Section 3 uses sequence to compare or order receipts, and this document does not say whether the decision receipts and the outcome receipts of a run share a run identifier or a counter. A verifier of revision -12 or earlier of this document does not admit sequence in a decision receipt and fails such a receipt at step 7 of Section 3.2. Section 3.2 requires no chain of decision receipts; a predecessor named in relationships (Section 3.5) is optional and does not show a receipt that was withheld. Records that a Service or Tool emits at the boundary where an action took effect (Section 4.1 of [AUDIT-ARCH]) can expose an effect for which the Auditor has no matching decision receipt.¶
Clocks. decidedAt and performedAt come from the signers' clocks. Ordering against outside events needs a timestamp or a transparency registration. The procedure of Section 3 requires neither, so that it runs offline and without a service. A deployment that needs the order of its receipts against outside events has to require such an anchor for each receipt that it relies on for that order; a receipt without one shows no such order. A verified time-stamp token under [RFC3161] for a hash of the receipt bytes is, like a registration (Section 3.7), an anchor outside the signer for a verifier that trusts the time-stamping authority (TSA). It supports the assertion that those bytes existed no later than genTime plus the applicable accuracy (Section 2.4.2 of [RFC3161]). If the accuracy field is absent, the accuracy may be available through other means, such as the TSA policy; its absence does not establish zero uncertainty. validity.expiresAt, recordedAt and the times of an approval record are statements of their signer as well; the times of an approval record are statements of the gate. Where Section 3.11.3 passes, they are also signed statements of the holder of the approver key. Neither signature establishes when the person approved (Section 3.11.4). The checks of step 9 of Section 3.2 and of Case 1 in Section 3.3 compare decidedAt, validity.expiresAt and the times of an approval record with each other and with the verifier's time T; none of them compares recordedAt. They do not show when a decision was made or when a person approved.¶
The example receipts in Appendix A carry digests of action bytes, approval records and effects rather than those bytes, and the example decision receipts set privacy.rawInputsIncluded to false. The field rules of Section 3.8 allow that member to be true and permit raw content in other admitted members, such as a decision receipt's open traceContext object. A successful check under Section 3 does not establish that raw inputs are absent. A digest of a short or predictable input, such as a command line, can be found by trying candidate inputs; a deployment that must hide such inputs keeps the receipts as private as the inputs, or adds a secret salt to the digested bytes. Identifiers such as principal.id, agent.id and traceContext link a person's actions across services, as Section 9 of [AUDIT-ARCH] describes; pairwise or opaque identifiers reduce that linkage. The approver of an approval record and principal.id can be pseudonymous identifiers or references to a role, and the mapping from them to a person is then kept by the deploying organization. An approval record that names a person identifies that person to everyone who holds it; how long it is held is set by the deployment. Registration shows that the registered Signed Statement existed by the time of registration, not when the decision was taken. Where that Statement is made over the content root, it does not establish that the signature of the receipt existed at that time (Section 3.7). Where the receipt bytes are the payload of a registered Signed Statement (Section 3.7), readers of that payload can read the receipt with its identifiers and digests. Registering a Statement over the content root avoids including the receipt bytes in that Statement, but the Signed Statement still carries its Issuer and Subject Claims and the Transparency Service records the Registration time (Sections 6 and 7 of [RFC9943]). Access to the registered data and any detached payload depends on the Transparency Service and any Adjacent Services; Issuers and Clients assess their privacy and security posture before registration (Section 8 of [RFC9943]).¶
Key reuse can link records and pseudonyms for verifiers that know the keys and their bindings. The profile of Section 3.11 includes neither the approver key nor its identity mapping in approverSignature. Deployments can reduce such linkage by using a separate key per pseudonym. An approverAssertion of Section 3.11.6 carries the origin in its client data and, in its authenticator data, a hash of the RP ID and a signature counter; an increasing counter can aid correlation between approvals, especially where an authenticator uses a global counter.¶
This document has no IANA actions.¶
If a working group adopts this document, the receipt type identifiers of Section 3.10 and Appendix B.1 move to a namespace that IANA manages, and until then they remain stable as given here.¶
The seven DSSE vectors described in Appendix A.3 were generated with proofbundle 6.4.0 from PyPI, rewritten for revision -11 with the receipt types of Section 3.10, and rebuilt for revision -12. V1-good, V2-good, V2-bad, V3-decision, V3-good and V3-bad are signed again by the same keys; V1-bad keeps the signature of V1-good. All vectors and keys in this appendix are for testing only. The seed of each test key that signs a vector of this appendix or of its test package is SHA-256 over a public ASCII label, so that every byte can be rebuilt: the keys of Appendix A.1, among them gate-sa, approver-1 and approver-2 of the vectors of Section 3.11, and the keys issuer-1 and receipt-issuer-1 of Appendix A.4. The P-256 test key passkey-1 of the vectors of Section 3.11.6 has a private scalar that is derived from such a label as the test package describes, and its signatures are the deterministic ECDSA signatures of [RFC6979], so that they too can be rebuilt; a verifier accepts every ECDSA signature that verifies. A few failure vectors use a public key that has no seed: the identity point, a key that is not the encoding of a point, and the key of gate-1 or observer-1 plus a point of order 8, whose signatures are made with the secret scalar of that key. These keys MUST NOT be used for any real receipt. Ed25519 is deterministic, so each valid signature below follows from the seed of its key and the payload it signs.¶
Each key is given by its label, Ed25519 seed (hex), public key (base64) and keyid. The keyid is "SHA256:" followed by the base64, without padding, of the SHA-256 over the public key in the wire format of an SSH public key, as OpenSSH prints the fingerprint. The key labelled gate-1 signs the decision receipts; the key labelled observer-1 signs the outcome receipts. For these tests, the trust policy accepts decisionMaker.id gate-1 under the gate-1 key and permits the observer-1 key to attest executor.id forge:agent-42-bot. The key label observer-1 does not assert that the observer is the executing account.¶
gate-1 draft-gruszka-audit-decision-receipts test key gate-1 100fa92fa6464c141f791a96327f555c1c0cfbf3095af986537e50c3c4335f8c TWfs75IN1In3CNI8TnyIOUHgtwilOPGcRFQLJ670CJc= SHA256:NjZMAelLq9XON3pxV5tR5hZjX99NkQyw4gGJSRc2gP8 observer-1 draft-gruszka-audit-decision-receipts test key observer-1 f03ad5b668ad225ea15fd9fd272fc8df84be59f467da86b0f2ad0a5ad26f4ddd 4hDsi5TCL+A+9SB7k2l4EkY7XePUheE+zE9mBazt2Fs= SHA256:q/d0VZCREBObUFi8PWKWXEF4lVNeYPuGn0GuOqd1ij0 gate-sa draft-gruszka-audit-decision-receipts test key gate-sa 2f4dc12b893338e2cd324f681baf8acf2a46830105a683cdba7b0ab00d7d7cd5 ULcjJ1DulKja0EjIH+F/fCjsHCX64AHa5vM3Zo01tH8= SHA256:hbX2BDnXPmITRVdno78Mdk/qWHNavEMCKAzgVC+eTuU approver-1 draft-gruszka-audit-decision-receipts test key approver-1 a49c35e42e266cce01738b3e8581ede5c99735853586619c2781f948d9c637ad NaFodtbI4q99jUOKDY3PdgFuOX3ODCQ3cpuZ4DK3Z1o= SHA256:fDsZsZLXxGReK2KGzLgq4I3KEDuii3XBNnISFhQqGKg approver-2 draft-gruszka-audit-decision-receipts test key approver-2 0b988ae84c124001421578eab44b0cfc83f928063ae9d74bacd52e35a7df7818 i262dRw6N2af5ECLfw3xwFdco7MAzbhloiUF6lB6xbY= SHA256:ZduWovwwZWMFM4GK5mRSALiopia6UyQbMwswrisUyGs¶
The keys gate-sa, approver-1 and approver-2 sign only the vectors of Section 3.11 in the test package: gate-sa their decision receipts, under a trust policy that accepts decisionMaker.id gate-sa under it, and approver-1 and approver-2 the approval records, under a trust policy that binds approver-1 to the approver user-123 and approver-2 to user-456. Their envelopes carry the keyid gate-sa, which does not select a key.¶
Each input is given by a name, its size and its SHA-256, and each input other than B also by its bytes. "\n" stands for one line feed byte. The bytes of ap, a3 and e3 are the serialization under [RFC8785] of the JSON value shown, on one line and without white space. In ap, SHA-256(a1) stands for the JSON string of the 64 lowercase hexadecimal digits of the SHA-256 of a1. pol is the policy named by every policyDigest. B is the payload of vector P1 of [SER], Appendix A.2.1, cited by V3-decision, F17 and F89 and carried by F15, vectors of the test package of Appendix A.5, which holds its bytes as the file vectors/b-payload.json.¶
a1 "git push origin refs/heads/topic:refs/heads/topic\n" 50 bytes, SHA-256 dec54f771352454097310ae4bd6608c0070ebebb3955c6be013c1b3a8e310bd0¶
a1x "git push --force origin refs/heads/topic:refs/heads/main\n" 57 bytes, SHA-256 b683418806875ff79c6fa190c50edab0b96577ad8062de5ba7b41dc1d9c363fb¶
a2 "gh pr merge 7 --repo acme/widgets --merge\n" 42 bytes, SHA-256 5a7549948a1441addb710f5ada59e06dbce25cc5a59accf14f140379f47adb5b¶
pol "example gate rules, revision 1\n" 31 bytes, SHA-256 43789b41915ae0febcd13263d293101af5ab041eb7c234e1cbe625d6312815f6¶
ap, 231 bytes, SHA-256
88e5b6d69b3e4bc250a42aeffea0414d406e5f04ba4f991ee432a78231da1170
{
"actionDigest": {
"sha256": SHA-256(a1)
},
"approvalId": "appr-001",
"approvedAt": "2026-10-15T09:00:00Z",
"approver": "user-123",
"session": "sess-1",
"validUntil": "2026-10-15T09:15:00Z"
}
¶
a3, 81 bytes, SHA-256
9165c850b7e03cd59578efa1769be74c5386cff5ce96df6b59e25d38ad6f88b4
{
"body": "All required checks passed for 4f1c2a9.",
"pull": 7,
"repo": "acme/widgets"
}
¶
e3, 93 bytes, SHA-256
d3d824cf55168298c0f651244853ec9d9620ea09087abe899243ceb8f9df3a6d
{
"author": "agent-42-bot",
"body": "All required checks passed for 4f1c2a9.",
"id": 9001,
"pull": 7
}
¶
B, 458 bytes, SHA-256 8cd849a6dcce08aee334511d7b2f31c54e478885dda1795d3c8f972dd0d4811c¶
The baseline form for the payload bytes of a DSSE vector is the serialization under [RFC8785] of a Statement {"_type": "https://in-toto.io/Statement/v1", "predicateType": P, "predicate": D, "subject": [{"name": N, "digest": {"sha256": H}}]}, where H is SHA-256 over the serialization of D. For a decision receipt P is the decision receipt type and N is "decision:" followed by decisionId; for an outcome receipt P is the outcome receipt type and N is "outcome:" followed by outcomeId. Many vectors depart from this form on purpose: V1-bad and V2-bad below, and vectors of the test package that change its serialization, its structure or its values. Appendix B.1 defines the payload of a vector in the COSE_Sign1 binding.¶
The predicate of V1-good is given below as a list of assignments that starts from the predicate named in its first line, {} being the empty object; the Statements of the other vectors are in the test package of Appendix A.5. An assignment sets the member at the path to the JSON value shown. A path is a sequence of member names joined by dots, where a decimal index i in square brackets after a name selects element i of an array; missing objects on the path are created, and an assignment to element i of an array with i elements appends it. Members not named keep their value. SHA-256(x) stands for the JSON string of the 64 lowercase hexadecimal digits of the SHA-256 of input x, and R(V) for that of the payload bytes of vector V.¶
V1-good, from {}
agent.id = "agent-42"
decidedAt = "2026-10-15T09:00:05Z"
decision.reasonCodes = ["user_approval"]
decision.verdict = "ALLOW"
decisionChangeConditions = []
decisionChangeConditions[0].conditionType = "ruleChange"
decisionChangeConditions[0].description =
"a changed gate, mode or rule of the gate"
decisionId = "dec-0001"
decisionMaker.id = "gate-1"
decisionType = "preActionAuthorization"
evidenceRefs = []
inputSnapshot = []
inputSnapshot[0].digest.sha256 = SHA-256(a1)
inputSnapshot[0].mediaType = "text/plain"
inputSnapshot[0].name = "approved bytes"
inputSnapshot[1].digest.sha256 = SHA-256(ap)
inputSnapshot[1].mediaType = "application/json"
inputSnapshot[1].name = "approval record"
notChecked = []
notChecked[0].field = "content"
notChecked[0].impact = "an approved text can be wrong"
notChecked[0].reason =
"the gate does not judge whether the text is true"
policyBoundary.bundleRevision = "1"
policyBoundary.decisionPath = "outbound-gate/allow-write"
policyBoundary.policyDigest.sha256 = SHA-256(pol)
policyBoundary.policyEngine = "outbound-gate/git-write"
policyBoundary.policyId = "outbound-gate-rules"
principal.id = "user-123"
privacy.rawInputsIncluded = false
proposedAction.actionType = "git.push"
proposedAction.method = "write"
proposedAction.parametersDigest.sha256 = SHA-256(a1)
proposedAction.target.name =
"https://git.example/acme/widgets refs/heads/topic"
proposedAction.target.uri = "https://git.example/acme/widgets"
schemaVersion = "0.1.0"
traceContext.parentId = "int-002"
traceContext.traceId = "trace-abc"
validity.audience = ["observer-1"]
validity.expiresAt = "2026-10-15T09:05:05Z"
validity.nonce = "dec-0001"
¶
V1-bad has the payload bytes of V1-good with every occurrence of the hexadecimal SHA-256 of a1 replaced by that of a1x, and keeps the signature of V1-good. V2-bad has as payload bytes the output of Python's json.dumps(s, sort_keys=True) for the Statement s of V2-good, with a space after each comma and colon, and is validly signed over them by gate-1.¶
The test package of Appendix A.5 holds the payload bytes, envelopes and Statements of the seven vectors below. Each check uses the expected audience observer-1 and the decisionId of the decision receipt as its expected nonce. Its expected outcome is given in the terms of Section 3.¶
The test package of Appendix A.5 holds, for V2-good, one Signed Statement for each of the two wrapping forms described in Section 3.7, a SCITT Receipt for each and the counterexamples, with the test keys issuer-1 and receipt-issuer-1, built like the keys of Appendix A.1, and the text that gives their bytes and describes how they are built and checked. The Signed Statements are COSE_Sign1 messages of [RFC9052] with an EdDSA signature of [RFC9053], CWT Claims of [RFC9597] and a kid that is a COSE Key Thumbprint of [RFC9679], in the deterministic encoding of [RFC8949]; the second uses the COSE Hash Envelope of [RFC9995]. The Receipts are those of [RFC9942] over a Merkle Tree of [RFC9162], generated for illustration with scitt-cose 0.5.0 [SCITT-COSE], and no Transparency Service issued them.¶
Appendix A.3 gives a passing and a failing vector for each case of Section 3.3, V1-good and V1-bad for Case 1, V2-good and V2-bad for Case 2, and V3-decision and V3-good with V3-bad for Case 3 and Section 3.4. For every vector, the expected audience and nonce are the verifier inputs recorded for it in the package. For the 171 vectors retained from -08, the expected audience is observer‑1 except for F38, and the expected nonce is that of the base vector except for F10, F39 and F90. For F10 and F90, the expected nonce is dec-0004. V1-accept is V1-good checked by a relying party whose consumption state is the empty JSON array; it passes, and no item of Section 4 refuses it.¶
The other failure vectors, F1 to F9, F11 to F93 and F95 to F125 with F17-outcome, F10, which a relying party refuses under item 1 of Section 4, the passing vectors V2-micro, V2-num, V2-rel, V3-rel, V3-seq, F94, V1-accept, V2-ref and V3-late, K1 to K29 of the third check of Section 3.5, S1 and S2 of its second check and E1 to E21 of its first check, G01 to G16c, H001 to H316, PK1 to PK5, I1, N1, J1, J2, CS1 to CS4, SA1 to SA21 of Section 3.11, the vectors of the COSE_Sign1 binding of Appendix B.5 and the vectors added for revision -13, Q1 to Q5 for the member sequence of a decision receipt, NA1 to NA8 for the reason code not_assessable, WA1 to WA19 of Section 3.11.6, EV1 to EV11 of Section 3.12 and FC1 of the first check of Section 3.5, are in the test package archive draft‑gruszka‑audit‑decision‑receipts‑13‑test‑vectors.tar.gz, with SHA-256 bafec66f7d357a8d317e2bea30795598fade438c6b88a839c002a7aac200a8df, available at <https://signed-evidence.org/receipts/test-vectors/sha256-bafec66f7d357a8d317e2bea30795598fade438c6b88a839c002a7aac200a8df/draft-gruszka-audit-decision-receipts-13-test-vectors.tar.gz>. The package holds every vector of Appendix A with its inputs, expected result and step, and a description of its derivation and check. For the 517 vectors listed in expected.json, expected-08/ and expected-10/, it records proofbundle 6.6.0 command lines and historical exit codes. Arguments naming content roots were updated to match the rebuilt receipts; those updates are not new proofbundle measurements. The README identifies the receipt revisions used to record the exit codes. No such commands are recorded for the vectors of the COSE_Sign1 binding, of the first check of Section 3.5, of Section 3.11 or those added for revision -13. The package also holds the Signed Statements and SCITT Receipts of Appendix A.4 with their descriptions, a Go verifier of Section 3, Section 4 and Appendix B written from this document, and a script that runs every vector against that verifier offline. That verifier is the only implementation the package runs on the vectors added for revision -13. Its file MANIFEST.sha256 gives the SHA-256 of each other file.¶
The package contains the test vectors, inputs, verifier source and scripts and can be transferred as it is. Running the supplied test script requires Python and either a local Go toolchain or an existing build of the verifier.¶
F19 to F71 in the test package were added for requirements of this document that F1 to F18 leave without a vector and that can be checked on a receipt and its inputs; the test package records the step at which each fails. The six requirements named below have no vector because a receipt and its inputs do not show whether they are met. They are not the only requirements without a vector; others lack one too, among them the conditions of item 6 of Section 4, and a requirement with a vector need not have one that separates each condition it states. For each rule of the field rules of Section 3.8, the test package has a vector that fails because of that rule alone, except the rule that an integer is not greater than 9007199254740991, which step 4 of Section 3.2 checks first; no vector shows a consumption state that has lost an entry that item 6 of Section 4 still requires, because the inputs of a receipt do not show which entries are still required. No test vector holds an approvedAt or validUntil of an approval record whose second is 60. The vectors therefore do not show that every requirement that can be checked on a receipt and its inputs is tested. The consumption scope of Section 3.5, the rule of Appendix A that the test keys are not used for real receipts and the rule of Section 4 for whoever issues approval records cannot be checked on a receipt. The two sentences of the opening paragraph of Section 4 that have the relying party apply its own current time as T and keep a historical audit time from making an expired approval usable, and item 3 of Section 4, which orders durable marking before release, state duties of the relying party outside the procedures of Section 3. The second check of Section 3.5 has the vectors S1 and S2 and its first check the vectors E1 to E21, which the verifier of the test package checks (Appendix A.5).¶
The test package gives each further vector an entry in its expected files with its expected result and the files its recorded command checks, and a corresponding entry in its inputs files without the expected result; its README describes the vectors in prose, and its file MANIFEST.sha256 gives the path and the SHA-256 of each file. Its README also gives the paragraphs with which this appendix described further vectors up to -10, as -10 gave them, except that F95 is described as derived from V2-num.¶
This appendix gives a second binding of the requirements of Section 3.9, to a COSE_Sign1 message of [RFC9052] signed with Ed25519. For a receipt in this binding, steps 1, 2, 3 and 6 of Section 3.2 are those of Appendix B.3, and every other step of Section 3 and Section 4 applies unchanged. The key words of this appendix apply to a verifier, as in the procedure of Section 3.¶
The payload bytes P are the [RFC8785] serialization of a JSON object with exactly two members, predicate, which is the predicate, and type, which is the receipt type. The decision receipt type of this binding is https://signed-evidence.org/receipts/decision/v0.1 and its outcome receipt type https://signed-evidence.org/receipts/outcome/v0.1. The message carries P as its payload; P is not detached.¶
The content root is SHA-256 over P, as in every binding (step 5 of Section 3.2). The predicate digest is SHA-256 over the [RFC8785] serialization of predicate; the verifier computes it, and this binding carries no subject. One predicate in this binding and in the DSSE binding gives two receipts with different content roots and the same predicate digest. decisionRef of an outcome receipt names the content root of its decision receipt in the binding of that decision receipt, so either receipt of Case 3 can be in either binding.¶
The receipt bytes are a COSE_Sign1 message with tag 18 in the core deterministic encoding of Section 4.2.1 of [RFC8949]. Its protected header holds exactly these four parameters:¶
[RFC9864] deprecates the polymorphic EdDSA identifier -8 and registers -19 for Ed25519. This revision retains -8 with an Ed25519 key for compatibility with the COSE tooling and test vectors used here. The author intends to migrate this binding and its test vectors to -19 in a later revision, after the tooling and regenerated vectors have been checked with that identifier.¶
The protected header holds nothing else, in particular no crit, no typ and no parameter of a COSE Hash Envelope of [RFC9995], since P is the receipt and not a hash of it. iss is not compared with decisionMaker.id or with another member; the trust policy binds the key to decisionMaker.id (step 8 of Section 3.2) and to executor.id (step 5 of Section 3.4).¶
The unprotected header is a map that repeats no label of the protected header. The unprotected header is not covered by the issuer's signature. Step 1 checks its encoding, permitted value types and labels. Adding a SCITT Receipt preserves P, the content root, the signature and the remaining verification results only if the resulting message still passes step 1. This procedure does not verify the SCITT Receipt; Section 3.7 describes that separate verification.¶
A failure in one of these steps is a failure of the step of Section 3.2 with the same number, and for an outcome receipt of step 1 or step 2 of Section 3.4 (Section 3.9). The verifier chooses the binding of each receipt it checks and does not take it from the receipt, as it chooses the case; a receipt in the DSSE binding checked in this binding fails step 1, and the reverse.¶
This section is informative. A receipt in this binding has the form of a Signed Statement of [RFC9943]: a COSE_Sign1 message whose protected header carries CWT Claims with an Issuer Claim and a Subject Claim (Section 6 of [RFC9943]). It can be registered as it is, with no second Signed Statement around it, and its Issuer is the signer of the receipt, named by iss. The signature that the Transparency Service verifies at Registration is then the signature that step 3 checks, so a Receipt for it shows that this signature existed by the Registration time, which the registration over the content root of Section 3.7 does not show. A Transparent Statement carries the SCITT Receipt in the header parameter receipts, label 394, of its unprotected header, an array of Receipts (Section 2 of [RFC9942], Section 7 of [RFC9943]). Adding or removing the SCITT Receipt preserves the result of Section 3 provided that both messages satisfy step 1 of Appendix B.3. Whether a Transparency Service accepts such a statement is set by its Registration Policy (Section 5.1.1 of [RFC9943]). What Section 3.7 says a Receipt shows and does not show applies unchanged.¶
The folder cose of the test package holds 58 vectors for this binding, signed with the keys gate-1 and observer-1 of Appendix A.1, for CPK2 and CPK4 with their secret scalars, and for CPK1 and CPK3 with the signature R = O, S = 0 under the expected key O, the identity point, with their expected results in cose/expected-cose.json; the script of the test package runs them with all other vectors. The test package records the inputs, T, expected audience and nonce for each vector. A step of Appendix B.3 that cose/expected-cose.json names as the step at which a decision receipt fails is the step of the same number of Section 3.2, which applies it; for an outcome receipt that file names the step of Section 3.4. CPK1 to CPK4 take their expected key from their own trust policy, cose/vectors/cpk1-policy.json to cpk4-policy.json.¶
For each case, passing vectors and vectors that fail at steps 1, 2, 3 and 6 of Section 3.2, for Case 3 in the decision receipt, and at steps 1 and 2 of Section 3.4 in the outcome receipt check this binding. Further vectors change C2-good, the passing vector of Case 2 in this binding, and fail at steps 1, 3, 4 and 6, give a receipt in the other binding, and check the depth of CBOR data items, the labels and integers of the unprotected header, the length of iss, the StringOrURI form of iss and sub and the rule on the expected key of step 3. The README of the test package describes each vector; cose/expected-cose.json gives its expected result, its recorded command names its files, and MANIFEST.sha256 gives the SHA-256 of each file.¶
This section is to be removed before publication.¶
This revision changes -13 as follows. Appendix A.5 names the corrected test package, in which the vector EV3 carries the result no-result. Section 3.12 says that a request for its check without E gets no result for the requested case either. Section 3.1 says that a request for Case 3 without the outcome receipt is refused before any step of Section 3.2. Section 3.11.6.2 says in which form the test package takes the passkey key. Appendix A and Appendix A.5 name the revisions for which vectors were rewritten, rebuilt or added, in place of "this revision". Appendix A.5 identifies the 517 vectors with recorded proofbundle commands and historical exit codes, distinguishes later changes to their content-root arguments from new measurements, and names the groups without such commands. The changes of earlier revisions are described in the test package of Appendix A.5.¶
Toshikatsu Oga (The HORIZONs Co., Ltd.) checked the test vectors of several revisions with an implementation written from the text and reported places that read two ways.¶
Assisted by little helpers.¶
Citing adjacent work in the References does not imply that its authors endorse this document.¶