AAC Evidence Bundle
draft-mih-zhang-agent-disclosure-bundle-04 · dated 2026-11-25 · by Steven Mih, Yiqun Zhang
An individual Internet-Draft, not adopted by an IETF working group. The canonical copy is on the IETF Datatracker . The Datatracker’s current revision is -03; this page renders -04 from the repository.
Rendered from
spec/draft-mih-zhang-agent-disclosure-bundle-04.mdinaction-state-group/agent-action-capsuleat commit563dcb8010e5942c07c14453bd22bbc397cca0e3. The repository is the source of record; this page changes only when the site’s pinned commit does.
Abstract
This document defines the AAC Evidence Bundle, a portable presentation and verification container for an Agent Action Capsule and the records that make its evidentiary claim intelligible. A permalink carries a bundle in its URL fragment, an offline HTML report carries a bundle in its shell, and a hosted report serves a bundle at its URL. The bundle does not alter any enclosed Capsule. It declares its citation closure and any missing cited records, carries verified disclosure preimages as a bundle-level overlay, separates three different completeness claims, can carry the producer’s signed declaration of what it offers in each category of evidence, and permits independently specified extension blocks and countersignatures: signatures by a party other than the producer over the bundle digest, each accompanied by a statement of which claims that party recomputed and with what result.
Introduction
A Capsule proves the identity and claimed content of one action. An audit report normally needs more: the report Capsule, its chain of judgments or adjudications, the turns cited by those records, selected disclosed preimages, and the log evidence that supports a claim about coverage. Passing these items as unrelated files produces a presentation that a verifier cannot describe precisely.
The AAC Evidence Bundle is that unit of evidence. It is deliberately a
presentation-layer object: the Capsules in records retain their original
bytes, identities, signatures, and registrations. The same bundle can be
encoded in a URL fragment, embedded in an offline HTML shell, or obtained
from a hosted report URL. These are transports for one object, not distinct
evidence formats.
Conventions and Definitions
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.
Bundle: : An AAC Evidence Bundle as defined in Evidence Bundle Object.
Root Capsule:
: The Capsule identified by the Bundle’s root member. The Bundle’s evidence
claim is made from this Capsule outward through its declared closure.
JSON-DIGEST:
: The lowercase-hex SHA-256 digest of UTF8(JCS(value)), using [RFC8785]
over the whole recursively canonicalized JSON value with no member filtering,
as defined by [I-D.mih-scitt-agent-action-capsule] .
Countersignature: : A countersignature is a signature by a party other than the producer over a bundle digest, accompanied by a statement of which claims that party recomputed and with what result. A report is a bundle.
Countersigner: : The party that makes a countersignature. A countersigner works in the manner of an Auditor [RFC9943] : it independently recomputes checks over a Bundle it was given and signs a statement of the results — a list of what it recomputed, never an opinion. A countersigner MAY register that statement as a Signed Statement with a Transparency Service, in which case the entry carries the Receipt; the Receipt proves that the statement is in that log and says nothing about the Bundle. Which producers a countersigner accepts Bundles from is its own admission rule, outside this document.
Self-countersignature:
: An entry in countersignatures whose signer key is the producer’s key
(Self-Countersignature). It is well-formed and is rendered as not
independent.
countersignatures is a member name. An entry is a statement by a party
other than the producer that it recomputed named checks over the bundle
digest, in the manner of an Auditor [RFC9943] . It is not a COSE
countersignature [RFC9338] , not a Receipt [RFC9942] , and not a
Transparency Service function.
WITHHELD: : The disclosure state of an eligible member absent from the Bundle-level disclosure overlay. It is neither an empty value nor a verification failure.
Strict Ed25519: : Ed25519 [RFC8032] verification under the strict conditions of the Conventions section of [I-D.mih-scitt-agent-action-capsule] : the public key A and the signature’s point R are each a canonical encoding and neither is of small order, the scalar S is below the group order L, and the cofactorless verification equation of [RFC8032] , Section 5.1.7, holds. A verifier rejects the signature if any condition fails; a rejected signature is a failed signature, whatever trust a deployment places in the key.
The terms “Capsule”, “capsule_id”, chain.parent_capsule_id, references,
seq, leaf_index, and log_coordinates are as defined in
[I-D.mih-scitt-agent-action-capsule] .
Evidence Bundle Object
A Bundle is a JSON [RFC8259] object with this shape. Ellipses denote values defined by this document or a registered extension; they do not authorize untyped replacement formats.
{
"bundle_version": "2",
"bundle_kind": "evidence-bundle/v2",
"root": "<capsule_id>",
"records": [ ... ],
"completeness": {
"closure_depth": 2,
"records_mode": "complete|declared_incomplete",
"payloads_mode": "all|selected|none",
"suppressed_fields": [ ... ],
"missing": [ "<cited capsule digest>", ... ],
"selection": "producer-selected"
},
"disclosures": {
"<capsule_id>": { "<member>": "<revealed preimage>" }
},
"disclosure_record": "<capsule_id>",
"completeness_certificate": { ... },
"checkpoint": { ... },
"category_coverage": { ... },
"verification": { ... },
"extensions": { "<registered kind>": { ... } },
"countersignatures": [ ... ]
}bundle_version and bundle_kind are REQUIRED and MUST be respectively
"2" and "evidence-bundle/v2". root, records, and completeness are
REQUIRED, except that an empty-history Bundle (Empty-History Bundles) has no
root. root is the lowercase-hex capsule_id of one record in records.
Every records element MUST be an unmodified Capsule object conforming to
[I-D.mih-scitt-agent-action-capsule] ; duplicate capsule_id values are
not permitted. All other members shown are OPTIONAL unless a claim in this
document requires them. A receiver MUST reject an object with an unknown
bundle_version or bundle_kind as an AAC Evidence Bundle, rather than
silently applying version-2 verification rules.
payloads_mode states whether the producer included all payload material it
chose to carry (all), only a selected subset (selected), or none
(none). A Bundle whose payloads_mode is none carries no disclosures
member. selection, when present, names the certificate mode of
completeness_certificate (Certificate Modes).
suppressed_fields names fields intentionally not carried by the Bundle; it
does not turn an absent disclosure into an empty value or a failure.
Empty-History Bundles
An empty-history Bundle shows that a log stream has no history to disclose.
A stream that was never started and a history that was cleared read the same.
Clearing a history starts a new stream, with a new log_id, under the same
key. It never rewrites or truncates the old stream’s log, and a checkpoint
that does so is inconsistent with that log’s earlier checkpoints.
An empty-history Bundle has an empty records array and no root member.
root MUST be absent exactly when records is empty. In an empty-history
Bundle:
completeness.records_modeMUST becomplete,completeness.missingMUST be absent or empty, andcompleteness.payloads_modeMUST benone;completeness_certificate,disclosuresanddisclosure_recordMUST be absent;checkpoint, withcheckpoint.cose, SHOULD be present when the stream has a checkpoint: its first checkpoint, or its latest one while it still holds no record. A stream that was never started has none.
A Bundle with no root that is not a well-formed empty-history Bundle is
malformed.
A verifier reports a well-formed empty-history Bundle as no history. It is
well formed: a verifier MUST NOT report it as failed, and MUST NOT report it
as an absence (Members and Outcomes). Of its claims (Completeness Claims and Log Membership), graph
closure passes, since there is nothing to close, and interval coverage and
per-record membership are not established, with the finding no_records.
When checkpoint.cose verifies, the verifier reports the checkpoint’s signed
timestamp with the result, as no history since that time. Otherwise it
reports no history without a date.
Citation Closure
Citation closure is declared, not assumed. Starting at root, a producer
MUST traverse chain.parent_capsule_id and every references[].digest
transitively through completeness.closure_depth edges. The default depth is
2 when the member is absent: report to judgments or adjudications, then to
turns. A producer using a different depth MUST state that non-negative JSON
integer explicitly.
For each target reached within that depth, the Bundle MUST either supply the
cited Capsule in records with a matching identity or list its digest once in
completeness.missing. A target MUST NOT be silently dropped. records_mode
MUST be complete exactly when missing is absent or empty, and MUST be
declared_incomplete exactly when it is non-empty. A verifier MUST report
the latter as declared incomplete, not as complete and not as an unexplained
failure. A supplied record whose computed capsule_id does not match the
chain target or reference digest is not supplied evidence for that target.
A supplied record that the closure does not reach is outside it. A verifier MUST NOT fail graph closure because of it, and MUST NOT count it as reached. It is still a record of the Bundle for every other claim, so under a range certificate it still needs a membership entry (Completeness Claims and Log Membership).
The closure declaration says nothing about records beyond its stated depth. A verifier MUST report the depth it applied and MUST NOT infer unbounded ancestry or citation completeness from the presence of a short chain.
Bundle-Level Disclosures
disclosures is a Bundle-level overlay keyed first by the enclosed Capsule’s
capsule_id, then by the disclosure member name:
"disclosures": {
"<capsule_id>": {
"agent_input": { ... },
"agent_output": { ... }
}
}It has the same eligibility and DE-3 digest rule as the per-Capsule
Disclosure Envelope in
[I-D.mih-agent-disclosure-envelope] . The member name
selects that draft’s registered committed-digest path in the specified
Capsule. For every disclosed member, a verifier MUST compute
JSON-DIGEST(revealed preimage) and compare it to the committed digest at
that registered path in that records element. A match is REVEALED; a
mismatch is a failed verification of that disclosed content. A member absent
from this overlay is WITHHELD, never blank and never failed.
The overlay is carried once per Bundle rather than by wrapping each Capsule
in {capsule, disclosures}. It MUST NOT alter an enclosed Capsule or its
capsule_id. An overlay key not naming a supplied record, or a member not
eligible under the Disclosure Envelope registry, is a disclosure finding and
MUST NOT be treated as a successful revelation. disclosure_record, when
present, identifies the Capsule that records the act of sealing or issuing
these disclosures; it is evidence about that act and does not replace the
DE-3 check.
Completeness Claims and Log Membership
completeness_certificate and checkpoint, when supplied, support three
separate claims. A verifier MUST report each claim independently. The
composed/v1 extension adds a fourth claim, composition closure
(Composition Closure), which is reported separately from these three.
- Graph closure: every citation reached under Citation Closure is supplied
with matching identity or explicitly listed in
completeness.missing. - Interval coverage: the claimed sequence interval is bound to a checkpointed range root. Without a verified Receipt [RFC9942] over the checkpoint from a Transparency Service, or a verified checkpoint signature, this is only relative to a producer-asserted checkpoint.
- Per-record membership: every supplied record is bound to its claimed log position under that range root, and, for a range, every other leaf in the interval is accounted for (Non-Record Leaves).
Per-record membership is the claim a range certificate makes about the
records in its interval: interval coverage binds the leaf values, and per-record
membership says what each leaf is. A verifier MUST ignore members of
completeness_certificate that this document does not define; they MUST NOT
change any result it reports.
The certificate MUST state its log_id, range root, first and last seq,
and the proof material that binds that range root to checkpoint. A signed
range proof that binds only the first and last record proves endpoint
inclusion only: an interior record can be deleted or replaced while such a
proof still passes. A verifier MUST NOT report whole-range completeness from
endpoint inclusion alone. A verifier MUST verify an included Receipt
[RFC9942] over the checkpoint, or the checkpoint signature, before reporting
interval coverage or per-record membership as independently verified.
Otherwise it MUST explicitly label those claims checkpoint_unverified and
describe them as relative to a producer-asserted checkpoint.
The portable checkpoint signature member is checkpoint.cose, an unpadded
base64url CLL COSE checkpoint. A verifier that implements this member MUST
verify it and require its log identifier, MMR size, and root to equal the
certificate and checkpoint values before removing the qualifier.
For the third claim, every supplied record MUST either carry a membership entry
within the declared interval or be explicitly listed in completeness.missing.
A membership entry or record whose seq is outside the interval MUST be
rejected. Each membership entry MUST carry log_coordinates stating its
claimed position and an inclusion proof to the certificate’s range root. The
base profile’s terms apply exactly:
seq is the 1-based log position and leaf_index = seq - 1 is the zero-based
MMR index. log_coordinates states which index is used. The verifier MUST
verify every inclusion proof at its stated leaf_index, require the proof’s
leaf_index to equal that coordinate and its size to equal
checkpoint.mmr_size, and bind the record to
the range root; it MUST NOT substitute an endpoint proof for a missing
per-record proof. A record without a valid proof may remain usable for graph
closure but does not satisfy per-record membership.
Certificate Modes
completeness.selection names the mode in which completeness_certificate
is read:
- Absent (the Bundle has no
selectionmember): a range certificate, as described above. Its interval ends at the checkpoint’s last leaf. producer-selected: a producer-selected certificate (Producer-Selected Certificates).
This document defines no other value. A verifier that meets a selection
value it does not implement, including a value that is not a string (null
among them), MUST
report interval coverage and per-record membership as not established
(finding certificate_mode_unsupported). It MUST NOT report either claim as
failed because of the mode, MUST NOT read the certificate under another mode,
and MUST NOT report the Bundle as invalid on that ground. Graph closure,
disclosures, extensions and countersignatures are unaffected.
The same rule applies to a verifier that predates a mode: a verifier that does
not implement producer-selected certificates reports such a Bundle’s interval
coverage and per-record membership as not established, never as failed. A
Bundle in a mode the verifier lacks is unverified in that respect; it is not
evidence of tampering, and reporting it as invalid would make an honest Bundle
indistinguishable from an altered one. The selection member is the
producer’s to write, and so is any edit to a Bundle after it is made: setting
an unknown mode can turn a failing claim into one that is not established,
but never into one that is established (Security Considerations).
Producer-Selected Certificates
A producer-selected Bundle carries records that its producer chose from a log,
each proven on its own, and makes no claim about the records between them. Its
completeness.selection is producer-selected. Its certificate carries
log_id, range_root and memberships. It carries no range: first_seq,
last_seq, body_digests and range_proof are not part of it, and a
verifier does not read them. It MUST NOT carry non_record_leaves
(Non-Record Leaves).
"completeness": {
"closure_depth": 0,
"records_mode": "complete",
"payloads_mode": "none",
"suppressed_fields": [],
"missing": [],
"selection": "producer-selected"
},
"completeness_certificate": {
"log_id": "<log identifier>",
"range_root": "<checkpoint root>",
"memberships": { "<capsule_id>": { "log_coordinates": { ... },
"inclusion_proof": { ... } } }
}A verifier that implements this mode:
- reports interval coverage as not established (finding
selection_not_checkable): there is no interval; - verifies per-record membership record by record.
range_rootMUST equal the checkpoint’s root, and the certificate’slog_idthe checkpoint’slog_id. Each record’s membership entry MUST carrylog_coordinatesnaming the checkpoint’slog_id, aseqof at least 1 that no other entry claims, andleaf_index = seq - 1, and an inclusion proof at that index whosesizeequalscheckpoint.mmr_sizeand that binds the record’scapsule_idto the root. A membership entry for a record the Bundle does not carry is a failure. Otherwise the rules of Completeness Claims and Log Membership apply, including thecheckpoint_unverifiedlabel; - reports a certificate that carries
non_record_leavesas invalid.
When checkpoint.cose does not verify, or a stated value (including the
certificate’s log_id) contradicts it, the checkpoint anchors no record: the
verifier reports per-record membership as not established, labelled
checkpoint_unverified, except that a certificate that carries
non_record_leaves still fails it.
A producer-selected Bundle is therefore never complete as to its log: a verifier MUST NOT report it as such, and its best result is that every carried record is a member of the checkpointed log. A changed record or proof fails per-record membership exactly as in a range Bundle. Graph closure, which is about citations, not log positions, is unaffected by the mode.
Non-Record Leaves
A log can hold leaves that are not records. The Evidence Layer
[I-D.mih-agent-evidence-layer] reserves the record_type value padding
for records a store appends so that a checkpoint’s size falls on a bucket
boundary (its Section 13.1). A store that pads before every checkpoint usually
has a padding leaf at the checkpoint’s last leaf, so a range ending there
always covers one. A range certificate covers such leaves in its member
non_record_leaves, which carries each one in full:
"non_record_leaves": [
{ "seq": 6,
"content": { "capsule_id": "<64 hex>", "record_type": "padding",
"epistemic_type": "producer_claim",
"store_nonce": "<64 hex>" } }
]non_record_leaves is an array. Each element is an object with seq, the
leaf’s 1-based log position within [first_seq, last_seq], and content, the
leaf’s content. A digest alone is not accepted in place of content: a bare
leaf value could be the identifier of a Capsule that the Bundle thereby hides.
Members of an element other than seq and content are ignored.
The padding leaf. This document defines one non-record leaf type,
padding. The members of a padding record are those of
[I-D.mih-agent-evidence-layer] Section 13.1: record_type padding,
epistemic_type producer_claim, and store_nonce, 32 bytes as 64 lowercase
hexadecimal characters. That document fixes the members but not their
serialization or the record’s identifier, so this document states both for a
padding leaf in a Bundle. Its content is a JSON object with exactly four
members: those three and capsule_id. capsule_id is 64 lowercase
hexadecimal characters, and is the JSON-DIGEST (Conventions and Definitions) of the object
formed by the other three members. The leaf value is capsule_id. A store’s
local-only producer envelope (signature, key_id) is not part of content.
(Moving this rule into the Evidence Layer awaits a later revision of that
document.)
Checking an element. A verifier reads the elements in order. For each one:
- An element that is not an object is malformed (finding
non_record_leaf_element_invalid). - A
seqthat is not an integer within[first_seq, last_seq], that any membership entry states in itslog_coordinates(whether or not that entry is otherwise valid), or that is theseqof an earlier element, is invalid (findingnon_record_leaf_seq_invalid); the element accounts for no position. - Otherwise the element accounts for its
seq. Then:- when
contentis not an object, or itsrecord_typeis not a string, the element is malformed (findingnon_record_leaf_malformed); - when
record_typeis notpadding, the leaf is of a type this document does not define (findingnon_record_leaf_type_unsupported), and the verifier checks nothing further about it; - when the padding
contentdoes not have exactly the four members above, each in the form above, withepistemic_typeequal toproducer_claim, it is malformed (findingnon_record_leaf_malformed); - the verifier recomputes the leaf value from the other three members and
requires it to equal both
content.capsule_idandbody_digests[seq - first_seq]; otherwise the leaf does not match (findingnon_record_leaf_mismatch).
- when
A non_record_leaves value that is not an array is malformed (finding
non_record_leaves_malformed) and accounts for no position.
Per-position accounting. For per-record membership over a range, every
seq in [first_seq, last_seq] MUST be accounted for by exactly one of a
record’s membership entry and a non_record_leaves element. Each position is
then:
- verified: a record’s verified membership, or a padding leaf that recomputes to its body digest;
- unsupported: a leaf of a type the verifier does not implement; or
- unaccounted: neither, or an element that failed a check above
(finding
membership_record_missingfor a position with neither).
Any failure fails per-record membership, whatever else is unsupported. When
nothing fails and some position is unsupported, per-record membership is not
established: the verifier MUST NOT report it as established, and MUST NOT
report it as failed. Otherwise the rules of Completeness Claims and Log Membership apply. A
verifier that implements this member therefore no longer rejects a range
because it contains padding records, as [I-D.mih-agent-evidence-layer]
Section 13.1 requires. A verifier that does not implement the member ignores
it, as it ignores any member it does not know, and then reports every padding
position as missing, which fails per-record membership. A producer therefore
SHOULD NOT emit non_record_leaves to readers that do not implement this
revision; until it can, a producer-selected certificate states what it can
prove without it.
A non-record leaf is not a record. It never appears in records, never
counts as a record for graph closure, disclosures or any count a verifier
reports, and is never the target of a citation. Leaves other than padding,
such as a store’s checkpoint stamps, are not covered by this document. A range
over a log that contains one is reported, at best, as not established through
non_record_leaf_type_unsupported; a producer that needs a Bundle over such a
log without that result uses a producer-selected certificate.
Wire Forms
This section states the JSON forms of checkpoint and of the two proofs, and
how a record becomes a log entry. Earlier revisions left these to vectors and
to the CLL reference.
The log entry of a record. A record’s log entry is the 32 octets of its
capsule_id. Its MMR leaf is SHA-256 of the octet 0x00 followed by those 32
octets. Interior nodes are those of the CLL
[I-D.mih-scitt-checkpointed-local-log] . A padding leaf
(Non-Record Leaves) is an entry in the same way, through its
capsule_id.
The root. A CLL checkpoint commits to the list of its MMR’s peaks, left
to right. root, range_root and prev_root are that list folded to one
hash: while the list holds more than one hash, take off its last hash R and
then the hash L before it, and append SHA-256(R || L). The one hash left is the
root. An MMR with no leaves has the root of 32 zero octets. Every root is
carried as 64 lowercase hexadecimal characters.
checkpoint. Its members are JSON copies of what the signed checkpoint
in checkpoint.cose states:
| Member | Value | From the COSE checkpoint |
|---|---|---|
log_id | string | the CWT issuer |
mmr_size | integer | log_size |
root | root | commitment, folded |
prev_size | integer | prev_size |
prev_root | root, or "" when there is no previous commitment | prev_commitment, folded |
key_id | 64 lowercase hexadecimal characters | the kid of the protected header |
timestamp | RFC 3339 string | issued_at |
cose | unpadded base64url [RFC4648] | the checkpoint itself |
When checkpoint.cose verifies, a stated member that differs from the
signed value, including in JSON type, is not the checkpoint’s. A verifier
that reports the checkpoint MUST report it as failed in that case, and MUST
NOT present the stated value as signed. Interval coverage and per-record
membership rest only on log_id, mmr_size and root (Completeness Claims and Log Membership);
a verifier that does not report the checkpoint itself reads no other member
of it. Without cose, every member is
producer-asserted (Completeness Claims and Log Membership).
inclusion_proof. A membership’s proof is an object:
{ "v": 1, "kind": "inclusion", "size": <MMR size>,
"leaf_index": <zero-based leaf index>,
"witness": ["<64 lowercase hex>", ...],
"peaks_left": ["<64 lowercase hex>", ...],
"peaks_right": ["<64 lowercase hex>", ...] }witness is the path from the leaf up to the peak that holds it, nearest
first. peaks_left and peaks_right are the other peaks, left to right, on
either side of that peak. The verifier rebuilds the peak from the leaf and
witness, the side of each step following from leaf_index and size, and
folds peaks_left, the rebuilt peak and peaks_right into the root. A proof
whose v is not the integer 1, or whose kind is not inclusion, does not
verify.
range_proof. A range certificate’s proof is an object with no v and
no kind:
{ "from_seq": <first_seq>, "to_seq": <last_seq>, "size": <MMR size>,
"from_index": <first_seq - 1>, "to_index": <last_seq - 1>,
"witness": ["<64 lowercase hex>", ...] }size is the MMR size of a log whose last leaf is to_seq. witness holds
one hash for each largest subtree that lies wholly outside the interval: the
verifier takes each peak in turn, left to right, and walks its subtree depth
first, left child before right; a subtree wholly outside the interval
contributes its hash and is not entered, and a subtree wholly inside it
contributes nothing, since the verifier rebuilds it from body_digests. A
witness left over after the walk, or one too few, fails the proof.
Local members of a record. A record in records can carry two members
that are not part of its Capsule: signature, the hexadecimal encoding of a
Producer Envelope over its Capsule ID, recomputed from its content, and
key_id, the key that envelope names ([I-D.mih-scitt-agent-action-capsule] ). Neither is in the Capsule ID
preimage, so carrying them does not modify the Capsule.
Category Coverage
category_coverage, when present, is the producer’s signed declaration of
what it offers in each category of a named category set: for each category,
exactly one status. It answers the categories field of an Evidence Request
([I-D.mih-agent-evidence-request] ), and a producer MAY include it without
one. It declares; it does not prove. A verifier checks that it is well
formed, who signed it, and whether it is consistent with what the Bundle
carries. It never establishes that the producer offers everything it
declares, or that nothing exists in a category declared absent.
"category_coverage": {
"set": "<category set identifier>",
"categories": {
"<category name>": { "status": "AVAILABLE" },
"<category name>": { "status": "UNDISCLOSED",
"policy_uri": "<absolute URI>" }
},
"request_digest": "<64 hex>",
"signer": { "key_id": "<64 hex>" },
"signature": "<128 hex>"
}set is REQUIRED, a non-empty string naming a category set
(IANA Considerations). A set whose identifier begins x- is private: it is not
registered, and a verifier never treats it as known. categories is
REQUIRED, a non-empty object keyed by category name; each value is an object
with status and, where required, policy_uri. request_digest,
OPTIONAL, is the digest of the Evidence Request this declaration answers,
computed as [I-D.mih-agent-evidence-request] computes a request digest, in
lowercase hexadecimal. signer and signature are OPTIONAL, and present
together or not at all. Members not defined here are ignored: they never make
the member malformed, and a signature covers them.
The member is part of the bundle digest (Bundle Digest and Countersignatures), so a countersignature binds it.
Statuses
Each category has exactly one status, written in upper case:
| status | Meaning |
|---|---|
AVAILABLE | evidence in this category is offered |
PARTIAL | only some evidence in this category is offered |
WITHHELD | evidence in this category may exist and is not released to this requester |
DELETED | evidence in this category was destroyed or has expired |
ABSENT | the producer states that it holds nothing in this category |
UNDISCLOSED | the producer does not state which of the other statuses applies, under the policy policy_uri names |
AVAILABLE, PARTIAL, WITHHELD and DELETED are retention states of the
Evidence Layer [I-D.mih-agent-evidence-layer] , with the same meanings,
applied to a category rather than to one record’s payload. This document
defines UNDISCLOSED and ABSENT. ABSENT is the producer’s asserted
absence in the Evidence Layer’s sense (“Three Kinds of No”): its own unproven
claim about its own store, never a non-membership proof and never the
requester’s recorded absence of [I-D.mih-agent-evidence-request] . The
retention state LEGAL_HOLD is not a status: it changes what may happen to
evidence, not what is offered.
UNDISCLOSED MUST carry policy_uri, an absolute URI ([RFC3986] ,
Section 4.3) naming the policy under which the status is not disclosed;
policy_uri MAY accompany any other status. WITHHELD and UNDISCLOSED are
different statements and MUST NOT be conflated: WITHHELD says evidence may
exist and is not released; UNDISCLOSED says nothing about whether any
exists.
Signature
signer.key_id is a 32-byte Ed25519 [RFC8032] public key as 64 lowercase
hexadecimal characters. signature is the Ed25519 signature, as 128
lowercase hexadecimal characters, under that key over the signing input
below, verified with strict Ed25519 (Conventions and Definitions):
UTF8(JCS({"category_coverage": <the member without signature>,
"root": <the Bundle's root>}))Including root binds the declaration to the root record of the Bundle it
was made for: a signed declaration copied into a Bundle with another root
does not verify. It does not bind the rest of the Bundle; a Bundle with the
same root and other records carries it unchanged, and only the bundle digest
(Bundle Digest and Countersignatures) tells the two Bundles apart. The signature
attributes the declaration to the holder of the key. It does not establish
who that holder is; a verifier MAY compare signer.key_id with the
producer’s keys (Self-Countersignature) and report the result.
Verifier Properties
A verifier that implements this member reports the following properties,
each as exactly one of PASS, FAIL, NOT_PRESENT, NOT_CHECKED and
INCONCLUSIVE, as the definition of each property below assigns them. A
Bundle without the member has no category properties.
category_coverage_form:
: PASS when the member is as described above, including a policy_uri for
every UNDISCLOSED status; otherwise FAIL. When it is FAIL, every other
property is NOT_CHECKED.
category_coverage_signature:
: NOT_PRESENT when the member carries no signature; PASS when the
signature verifies with strict Ed25519 (Conventions and Definitions); FAIL otherwise,
including when the signing input has no JCS serialization (for example, a
number JCS cannot represent) and when the signature fails only a strict
condition, such as a key or R of small order.
category_coverage_set_registered:
: NOT_PRESENT for a private (x-) set; INCONCLUSIVE when the verifier
does not know the set; FAIL when it knows the set and a declared category
is not one of its names; PASS otherwise.
category_coverage_request:
: NOT_CHECKED when the verifier does not have the Evidence Request;
otherwise FAIL when request_digest is present and is not that
request’s digest, computed over its octets before they are parsed;
otherwise NOT_CHECKED when the request cannot be read, or its
categories field is malformed ([I-D.mih-agent-evidence-request] );
NOT_PRESENT when the request has no categories field; FAIL when the
request names another set, or a requested category has no entry; PASS
otherwise.
category_coverage_consistency:
: NOT_CHECKED when the verifier cannot assign every record the Bundle
carries to a category, or to none (the set’s definition says how): a record
it cannot assign could be in any category; FAIL when a record the Bundle
carries belongs to a category declared ABSENT or WITHHELD; PASS
otherwise. A record in a DELETED or UNDISCLOSED category is not a
contradiction, and an AVAILABLE category with no record in the Bundle is
not one either: the Bundle may cover less than the producer offers.
Each property stands alone. A verifier MUST report them separately and MUST
NOT combine them, or the statuses, into a count, a percentage, a score or a
claim of completeness. It MUST NOT report a PASS of every property as proof
that the producer offered everything it holds. A FAIL of
category_coverage_form, category_coverage_signature or
category_coverage_consistency is a failed check of the Bundle; the other
properties are reported and change no other result. Category coverage is
reported apart from the completeness claims of Completeness Claims and Log Membership and changes
none of them.
A verifier that does not implement this member follows the rule for any member it does not know: it reports nothing about it, and the member stays covered by the bundle digest.
Typed Extensions
extensions, when present, is an object keyed by a registered Evidence Bundle
extension kind. The member name declares the kind and its value is that kind’s
block. The extension kind registry is Specification Required. A registered
specification defines its block shape and any semantic checks. For example, a
company-side row model such as report/v1 is permitted only as such an
extension; this neutral core does not define, parse, or own its rows.
Extensions are included in the bundle digest (Bundle Digest and Countersignatures). A verifier that does not implement a registered extension kind MUST preserve its integrity status as digest-covered, report the block as uninterpreted, and MUST NOT apply that block’s semantics. An unknown kind MUST NOT alter the core Capsule, closure, disclosure, or membership checks.
The producer-key/v1 Extension
The producer-key/v1 extension kind declares the key of the producer that
assembled the Bundle:
"extensions": {
"producer-key/v1": { "public_key": "<64 lowercase hex>" }
}public_key is the producer’s 32-byte Ed25519 [RFC8032] public key as 64
lowercase hexadecimal characters. The block carries one key. A producer MUST
NOT add other members to the block, and a verifier MUST ignore any it finds.
Like every extension, the block is covered by the bundle digest, so a
countersignature’s over binds the declaration, and adding, removing, or
changing the declaration afterwards makes that entry invalid.
A verifier that implements this kind uses public_key for one purpose only:
it adds the key to the producer’s keys when determining independence
(Self-Countersignature), so that a countersign/v1 entry whose
signer.key_id equals it is reported as not independent. The declaration
can only cause an entry to be reported as not independent. It MUST NOT
cause any entry to be reported as independent, resolved, or valid, and it
MUST NOT change any other result. It is not a claim of identity or of
authority, and a verifier MUST NOT present it as one. The absence of this
extension says nothing about whether any entry is independent.
The block is malformed when it is not an object, or when public_key is
absent, is not a string, or is not exactly 64 lowercase hexadecimal
characters. A verifier MUST ignore a malformed block when determining
independence, MUST NOT fail the Bundle or any claim because of it, and still
treats the block as digest-covered.
The composed/v1 Extension
The composed/v1 extension kind carries an evidence set built from the
answers of several responders as one portable object. Each responder answered
one Evidence Request ([I-D.mih-agent-evidence-request] ) with exactly one of
three outcomes:
- an artifact, here an Evidence Bundle or a History answer (History Members);
- a signed refusal;
- a recorded absence.
Each answer is a member of the composition. The block declares:
- each member’s digest and outcome;
- the observer that produced each member;
- the joins between members;
- a composed digest that a judgment or other record can cite as the exact evidence set it was made from.
The containing Bundle is an ordinary evidence-bundle/v2. Its root is the
composing party’s own record, and its core checks apply unchanged. The
extension adds a set of member bundles alongside that record; it does not
change what records, root or completeness mean.
"extensions": {
"composed/v1": {
"members": [
{ "id": "<member id>", "observer": "<observer id>",
"request_digest": "<64 hex>", "outcome": "artifact",
"digest": "<64 hex>", "bundle": { ... } },
{ "id": "<member id>", "observer": "<observer id>",
"request_digest": "<64 hex>", "outcome": "refusal",
"digest": "<64 hex>", "refusal": { ... } }
],
"observers": [
{ "id": "<observer id>", "role": "<role>",
"custody_domain": "<label>" }
],
"joins": [
{ "members": ["<member id>", "<member id>"],
"basis": "pre_agreed_identifier",
"pointer": "<JSON Pointer>",
"identifier_digest": "<64 hex>",
"compare": ["<JSON Pointer>"],
"state": "agree" }
],
"not_requested": [ "<participant id>" ],
"missing": [ "<member id>" ],
"composed_digest": "<64 hex>"
}
}Block
The block is a JSON object conforming to this CDDL [RFC8610] :
composed-v1 = {
members: [+ composed-member],
observers: [+ composed-observer],
? joins: [* composed-join],
? not_requested: [* label-id],
? missing: [* label-id],
composed_digest: digest-hex,
}
composed-member = artifact-member / refusal-member / absence-member
member-common = (
id: label-id,
observer: label-id, ; an observers[].id
request_digest: digest-hex, ; the Evidence Request this answers
digest: digest-hex, ; see "Members and Outcomes"
)
artifact-member = { member-common, outcome: "artifact",
? bundle: { * tstr => any }, ; a Bundle
? history: history-body, ; a History answer
? response: artifact-response }
history-body = { ; see "History Members"
envelope: { * tstr => any }, ; the envelope as received
anchor_checkpoint: tstr, ; unpadded base64url
}
refusal-member = { member-common, outcome: "refusal",
? refusal: signed-refusal }
absence-member = { member-common, outcome: "absence",
? absence: recorded-absence }
signed-refusal = { ; as received, unmodified
request_digest: digest-hex,
reason: tstr, ; Evidence Request refusal reason
issued_at: tstr, ; RFC 3339
* tstr => any, ; deployment signature members
}
artifact-response = { ; as received, minus artifact bytes
request_digest: digest-hex,
artifact_digest: digest-hex,
* tstr => any, ; deployment members and signature
}
recorded-absence = { ; the requester's own record
request_digest: digest-hex,
window: { from: tstr, to: tstr }, ; RFC 3339
? route: tstr,
? commitment: digest-hex, ; a retention commitment it held
}
composed-observer = {
id: label-id,
role: tstr, ; see "Observers and Redundancy"
custody_domain: tstr, ; opaque, compared octet-for-octet
}
composed-join = {
members: [label-id, label-id], ; two distinct ids, ascending
basis: join-basis,
? pointer: tstr, ; RFC 6901 JSON Pointer
? identifier_digest: digest-hex,
? compare: [+ tstr], ; RFC 6901 JSON Pointers
state: join-state,
}
join-basis = "pre_agreed_identifier" / "shared_artifact_digest" /
"issued_receipt" / "same_interval" /
"controller_binding" / "same_key"
join-state = "agree" / "mismatch" / "unjoined" / "one_sided"
label-id = text .regexp "[A-Za-z0-9._:-]{1,128}"
digest-hex = text .regexp "[0-9a-f]{64}"A join’s pointer and each compare element are JSON Pointers [RFC6901] .
Member id values are unique, and so are observer id values. Every member’s
observer names a declared observer. Every join names two distinct declared
members, in ascending order. No two joins share the same members, basis
and pointer. A same_key join carries none of pointer,
identifier_digest and compare. An artifact member carries at most one of
bundle and history, and a member that carries history carries no
response. not_requested names participants that the composing party
knew of but did not ask. A participant listed there is not a member, and its
identifier MUST NOT also appear as a member id. A block that violates any of
these rules is malformed. A verifier reports a malformed block as a failed
composed/v1 check and MUST NOT report any composition result from it.
Members and Outcomes
A member records the outcome of one request to one responder, and nothing else. The three outcomes are those of [I-D.mih-agent-evidence-request] . They are never converted into one another:
- A refusal member exists only when the responder signed a refusal.
- A timeout is an
absence, never arefusal. - A received refusal is never recorded as an
absence. - A request still inside its waiting window is pending. Pending is not an outcome, so a pending request MUST NOT be composed as a member.
digest depends on the outcome:
- For
artifact, it is the member Evidence Bundle’s bundle digest (Bundle Digest and Countersignatures), or, for a History member (History Members), the lowercase hexadecimal SHA-256 of the UTF-8 JCS [RFC8785] serialization of itshistory.envelopeobject, as carried. - For
refusalandabsence, it is the lowercase hexadecimal SHA-256 of the UTF-8 JCS [RFC8785] serialization of the refusal or absence object, as carried.
When the body (bundle, history, refusal or absence) is carried, a
verifier MUST recompute digest from it. For a refusal or absence, it MUST also require the
body’s request_digest to equal the member’s. A refusal’s signature is
verified under the deployment’s signature profile, such as one of those in
Carried Signature Profiles. A verifier that does not implement that
profile reports the refusal as signature-unverified. It does not report it as
failed, and it does not report it as absent.
An artifact member MAY carry response: the responder’s signed response
to the request, as received, with the artifact bytes removed. A response
signature that names the artifact by digest therefore still verifies without
them. When the bundle and response are both carried, a verifier MUST require
the response’s request_digest to equal the member’s, and its
artifact_digest to equal the member’s digest. Either mismatch is a failed
composed/v1 check. This binds the artifact to the request it answered, as a
refusal’s or absence’s own request_digest does. The response’s signature is
verified under the deployment’s signature profile, exactly as a refusal’s is
(Carried Signature Profiles). A verifier that does not implement that
profile reports the response as signature-unverified, which is neither failed
nor absent. response is not part of the composed digest
(Composed Digest).
An artifact that fails verification is still an artifact member. The
verifier reports the failure on that member. It is not a fourth outcome, and
the verifier MUST NOT report it as a successful grant.
An empty-history Bundle (Empty-History Bundles) is an artifact member that
shows no history. It is neither a failure nor an absence. A responder whose
history was cleared, or never started, can answer with one.
Each member keeps its own claims. A verifier MUST verify every carried member bundle as an Evidence Bundle under this document. It MUST report that bundle’s graph closure, interval coverage and per-record membership (Completeness Claims and Log Membership), and its disclosures and countersignatures, per member.
The verifier MUST NOT merge one member’s claims with another member’s, or with
the containing Bundle’s. The containing Bundle’s claims are about its own
records only. A refusal or absence member is not a failed claim: a verifier
reports it as what it is.
Carried Signature Profiles
[I-D.mih-agent-evidence-request] leaves the signature format of a refusal
and of an artifact response to the deployment. This section defines three
signature profiles in which a verifier MAY check a carried refusal or
response. A verifier is not required to implement any of them. One that
implements a profile follows this section for it, and one that reports which
profile it checked a signature under names that profile by its identifier:
| Identifier | Name | Checks |
|---|---|---|
three-member-refusal/v1 | three-member refusal signature | a carried refusal |
whole-refusal/v1 | whole-refusal signature | a carried refusal |
digest-bound-artifact-response/v1 | digest-bound artifact response signature | a carried response |
A carried refusal or response does not name its profile. Which profile
applies is read from the members the object carries. Presence decides, so a
member whose value is JSON null is present:
- A refusal that carries
sigand does not carrysignatureis inthree-member-refusal/v1, unless it also carriespolicy_digest. Such a refusal can be an [EVIDENCE-INTEROP]evidence-interop/2refusal, whose signing input includespolicy_digest, so it is in none of these profiles, and a verifier that implements only these profiles reports it as signature-unverified. Every other refusal is inwhole-refusal/v1. - A response that does not carry
responderis indigest-bound-artifact-response/v1. A response that carriesresponderis in none of these profiles, for example an envelope of [EVIDENCE-INTEROP]. A verifier that implements only these profiles reports it as signature-unverified.
In each profile, key_id is a 32-byte Ed25519 [RFC8032] public key as 64
lowercase hexadecimal characters, and the signature is 64 bytes as 128
lowercase hexadecimal characters. A signature verifies only under strict
Ed25519 (Conventions and Definitions), so a small-order key never verifies.
three-member-refusal/v1. The signature is sig, under key_id. The
signing input is that of an [EVIDENCE-INTEROP] signed refusal answering a
request for evidence-interop/0 or evidence-interop/1 (its Section 6.3): the
UTF-8 of the JCS [RFC8785] serialization of the object made of the carried
issued_at, reason and request_digest, whatever else the refusal
carries. key_id is not signed.
whole-refusal/v1. The signature is signature, under key_id. The
signing input is the UTF-8 of the JCS serialization of the carried refusal
object without its signature member, so key_id and every other member are
signed.
digest-bound-artifact-response/v1. The signature is sig, under
key_id. The signing input is the UTF-8 of the JCS serialization of the
object made of the carried request_digest, anchor, artifact_kind,
artifact_digest and issued_at, plus the member type with the value
evidence-artifact-response/v1. The verifier supplies type itself and never
reads it from the carried object. The artifact is named by
artifact_digest only, so the signature verifies without the artifact bytes.
A verifier reports exactly one of three states for each signature:
- Signature-unverified (
signature_unverified) when the object carries no signature to check under these profiles: a refusal inwhole-refusal/v1that carries neitherkey_idnorsignature, a refusal that carriessig, nosignatureandpolicy_digest, a response that carries neitherkey_idnorsig, or a response that carriesresponder. A refusal inthree-member-refusal/v1carriessig, so it is never in this state. - Verified (
verified) whenkey_idand the signature are both present and well formed, the signing input can be formed, and the signature verifies underkey_idover it. Inthree-member-refusal/v1anddigest-bound-artifact-response/v1, the signing input can be formed only when each member it names is present and is a string. Inwhole-refusal/v1, the signing input is the object as carried, whatever members it has; a member other thankey_idandsignaturemay hold any JSON value. - Invalid (
invalid) in every other case, for example a key carried without a signature, a signature without a key, akey_idor signature that is not a string of the stated form, a member of a three-member or digest-bound signing input that is absent or not a string, a signing input that has no JCS serialization (for example, a number JCS cannot represent, as forcategory_coverage_signaturein Verifier Properties, or a string with an unpaired surrogate), or a signature that does not verify.
An empty string is a string. The signature state covers the signature
alone. A verifier MUST NOT add checks of the signed values, such as a
timestamp’s format, a digest’s form or whether reason is a registered
token, to the signature state. verified therefore does not make a refusal
conforming to [I-D.mih-agent-evidence-request] , and it does not show that
the key belongs to the member’s responder: comparing the key with the
responder’s is a separate check, as for any carried signature.
History Members
A History is a responder’s answer to one Evidence Request for its
full_history subject under a derivation that counts its evidence stream up
to one anchor, such as a History card, whose artifact is the UTF-8 JCS
serialization of a JSON object that states that anchor in its anchor
member, as the cards of standard_history and inference-service-history
do. It is an artifact answer, so a History
member is an artifact member: ER’s three outcomes are unchanged. It is not
an Evidence Bundle and has no root record. Each History is still asked for
and answered by its own request, one subject per request.
A History member carries, as its body, history:
envelope: the artifact response ([I-D.mih-agent-evidence-request] , “The Artifact Response”) as received, artifact octets included. ER lets a deployment profile name the envelope’s members. This document reads the members as the Minimum Evidence Interoperability Profile [EVIDENCE-INTEROP] names them, under its profile identifiersevidence-interop/0,evidence-interop/1andevidence-interop/2:profile,request_digest,subject,derivation,anchor(withanchor.digest),artifact_digest,verificationwhen present,responder,issued_at,sigandartifact(unpadded base64url).anchor_checkpoint: the checkpoint thatanchor.digestnames, as the unpadded base64url of its octets: a CLL COSE checkpoint [I-D.mih-scitt-checkpointed-local-log] in the one form whose SHA-256 isanchor.digest.
The member’s digest is the digest of envelope (Members and Outcomes). It
covers the signed responder, anchor and artifact_digest, so the
composed digest (Composed Digest) binds whose History it is and the
anchor it is as of. The response member is not used for a History: it is
outside the composed digest, so a second envelope over the same artifact
octets could change a derived join without changing the composed digest. A
History member therefore carries no response.
The history body is malformed, and the block with it, when envelope is not
an object; when its subject is not {"full_history": null}; when it
carries no derivation; when responder is not a key identifier
(Controller Binding Records); when sig is not a string; when artifact is not a
string of unpadded base64url; when artifact_digest, request_digest or
anchor.digest is not a digest-hex; or when anchor_checkpoint is not a
string of unpadded base64url. Unpadded base64url here is the one canonical
form of [RFC4648] , Section 5: its pad bits are zero, so one octet string
has one text. This is the rule a refusal or absence body outside its form
already follows (Block): the form is what the composing party
can check before it composes. A History that is well formed but fails a
check below is a failed member, never a malformed block.
A verifier checks a carried History member as follows, and reports each result on the member:
- Envelope signature. Under the profile identifiers above,
sigis the Ed25519 [RFC8032] signature, in lowercase hexadecimal, byresponderover the UTF-8 JCS serialization of the object made of those ofprofile,request_digest,subject,derivation,anchor,artifact_digest,verification,responderandissued_atthat are present. A signature that does not verify is failed. An envelope under any otherprofile, or one the verifier cannot check because it has no Ed25519 verifier, is signature-unverified, as a refusal under a profile the verifier does not implement is (Members and Outcomes): neither failed nor absent. - Artifact digest. SHA-256 of the
artifactoctets equalsartifact_digest. - Request digest. The envelope’s
request_digestequals the member’s. - Artifact anchor. The artifact octets are the UTF-8 JCS serialization
of a JSON object whose
anchormember equalsanchor.digest. - Anchor checkpoint. SHA-256 of the
anchor_checkpointoctets equalsanchor.digest, and those octets are a CLL COSE checkpoint in the one form [EVIDENCE-INTEROP] fixes for a checkpoint (a tagged COSE_Sign1 with an empty unprotected header) that verifies under its own key. A verifier that cannot verify a CLL COSE checkpoint reports the checkpoint unverified: neither failed nor verified. The responder signedanchor.digest, so the checkpoint’stimestampis the responder’s statement of when its History is as of.
A failed check 1 to 5 is a failed check of the member. It is not a fourth outcome, and a verifier MUST NOT present the History as checked. A verifier does not recompute or check the History’s counts; that is the History derivation’s own check, and nothing in this document reads them.
Join view. A carried History member that passes checks 1 to 5 has a
key, its envelope’s responder, and a time, its anchor checkpoint’s
timestamp. A History member that is declared missing, is
signature-unverified, or fails any of checks 1 to 5 has no join view, and
every join naming it is not_derivable (Joins). So does a
History member whose anchor checkpoint is unverified, or whose envelope
does not reproduce the member’s digest: it is not the History the composed
digest names.
Composition Closure
A composed/v1 block makes a fourth completeness claim, composition
closure. It holds when every member is either:
- present, meaning its body is carried and reproduces its
digest; or - declared missing, meaning its
idis listed inmissingand it carries no body.
The claim has three results:
pass: every member is present andmissingis absent or empty.withheld(findingdeclared_incomplete): every member is present or declared missing, and at least one is declared missing.fail: in any of these cases:- a member neither carries a body nor is listed in
missing; - a listed member carries a body;
- a carried body does not reproduce its
digest; missingnames an undeclared member.
- a member neither carries a body nor is listed in
A verifier MUST report composition closure separately from the three per-member claims and from the containing Bundle’s claims. It MUST NOT report it as one of them.
Declaring a member missing withholds its body, not its existence. Its id,
observer, request_digest, outcome and digest remain in the composed
digest.
Composition closure covers declared members only. A participant that is in
neither members nor not_requested is not visible to a verifier from this
block (composed/v1).
Controller Binding Records
A controller binding record is a JSON object in which the holders of two
signing keys both sign one statement about how the two keys are related. It is the linkage evidence of the controller_binding join
basis (Joins). Its signatures show only that whoever held each
private key signed the record. They do not show who holds either key, and
this document never states who a key holder is.
A binding record is not a member of the composed/v1 block. It is delivered
beside the containing Bundle, with any revocation statements that withdraw it;
how they are delivered is outside this document. The block binds a record
only through a join’s identifier_digest.
In this section a key identifier is 64 lowercase hexadecimal characters;
for an Ed25519 [RFC8032] key, the one key type this document defines, it is
the raw 32-byte public key. A time is an [RFC3339] date-time in
UTC with a “Z” suffix and seconds precision. A root record’s timestamp,
against which a binding is checked, can also carry fractional seconds. Times
compare as instants.
controller-binding = {
binding_version: "controller-binding/0",
claim: binding-claim,
method: tstr, ; a verification method token
keys: [key-id, key-id], ; two distinct keys, ascending
issued_at: binding-time, ; the ceremony, as stated
not_before: binding-time, ; not later than issued_at
not_after: binding-time, ; later than issued_at
revocation: "revocation_statement/0",
nonce: tstr, ; non-empty, chosen per ceremony
sigs: [* binding-sig],
? key_types: [tstr, tstr], ; one per entry of keys, in order
? delegator: key-id, ; delegated_by only: one of keys
? credential: binding-credential,
; same_organization_credentialed
}
binding-claim = "same_controller_asserted" / "delegated_by" /
"same_organization_credentialed"
binding-sig = { key_id: key-id, sig: any } ; sig-hex for ed25519
binding-credential = {
issuer: key-id,
method: tstr,
digest: digest-hex,
}
binding-revocation = {
revocation_version: "controller-binding-revocation/0",
binding: digest-hex, ; the binding digest
key_id: key-id, ; one of the binding's keys
revoked_at: binding-time,
sig: sig-hex,
}
key-id = text .regexp "[0-9a-f]{64}"
sig-hex = text .regexp "[0-9a-f]{128}"
binding-time = text .regexp
"[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z"The claim types, the member each adds, the method this document defines for each, and what the two key holders state:
same_controller_asserted: no added member;dual_signature/0. One controller holds both keys.delegated_by: addsdelegator;dual_signature/0. The holder ofdelegatordelegated to the holder of the other key, who accepted.same_organization_credentialed: addscredential;dual_signature_credential/0. Both keys are held within one organization, as a credential from a third key states.
A binding record is malformed when it lacks a member, carries a member the
CDDL does not list, or has a value outside its form; when it carries
delegator and its claim is not delegated_by, or credential and its
claim is not same_organization_credentialed, or lacks the member its
claim adds; when its two keys are equal or not in ascending order; when
not_before is later than issued_at or not_after is not later than it;
when nonce is empty; when delegator is not one of keys; when both keys
are ed25519 keys and a sig is not a sig-hex; or when its method is one
this document defines for another claim type. A method token this document does not define is well formed. A
binding record or revocation statement that is not a JSON object is
malformed. delegated_by states a relation, not a scope: a verifier reads no
authority from it.
Key types. key_types, when present, names the type of each key in
keys, in its order. When it is absent, both keys are ed25519 keys. This
document defines one key type, ed25519: the key identifier is the raw
Ed25519 public key, and the key signs with Ed25519. A record whose
key_types names any other token is well formed. Its sig values are not
held to sig-hex, and a verifier that does not implement that key type
treats the record as under a method it does not implement.
Signing input and binding digest. The signing input is the UTF-8 octets of
the JCS [RFC8785] serialization of the record without sigs. Every other
member is covered. The binding digest is the lowercase hexadecimal SHA-256
of the signing input. It does not cover sigs, so a binding keeps its digest
if a key signs it again. Two ceremonies over the same keys differ in nonce
and so have two digests.
Methods. Under dual_signature/0, sigs has exactly two entries:
sigs[0].key_id is keys[0], sigs[1].key_id is keys[1], and each sig
is that key’s signature over the signing input; for an ed25519 key, its
Ed25519 signature in lowercase hexadecimal. A record with one signature, a third entry, or a signature that
does not verify is not signed by both keys. One key cannot bind another key
to itself, because each key signs the other key’s identifier.
dual_signature_credential/0 requires the same two signatures. Its
credential names a signed object from the key credential.issuer, delivered
beside the record, whose SHA-256 is credential.digest and which is verified
by its native method credential.method. This document registers no
credential format. A credential never decides whether a binding applies, and
a verifier MUST NOT present the organization it names as an identity.
Revocation. Either key holder can withdraw a binding with a revocation
statement (binding-revocation). A statement applies to a binding when it
is well formed, binding is the binding digest, key_id is one of the
binding’s keys, and sig is that key’s Ed25519 signature over the UTF-8
JCS serialization of the statement without sig. A statement names a
binding by digest, so it reaches every copy of the record. From revoked_at
on, the binding is not in effect. revoked_at is the revoking key holder’s
statement; a backdated revocation returns the joins it covered to unjoined,
never further. A verifier knows only the statements it received.
When a binding applies. A binding record applies to two key identifiers at a set of times T when all of these hold:
- it is well formed;
- the verifier implements its
methodand the type of both keys, and both bound keys signed it under that method; - its
keysare exactly the two key identifiers, in either order; - for every T,
not_before<= T <not_after; - no revocation statement the verifier received that applies to it has a
revoked_atat or before any T.
What a binding never states. A binding is a statement by both key holders that their two keys are not independent issuers. A verifier MUST NOT present a binding record as establishing who controls either key; a person, name, account, organization identity or legal relationship; that the keys were under one control at any time, beyond the window and claim both key holders stated; or that two keys with no binding between them have distinct controllers.
Joins
A join declares that two members’ records are about the same thing, and how
that is established. The producer DECLARES a state; a verifier DERIVES it
again from the carried members. A declaration that does not match the
derivation is a failed composed/v1 check (finding join_state_mismatch). It
is never a pass.
The states derive as follows:
one_sided: exactly one of the two members has outcomeartifactwith records, and the other has none: it is not an artifact, or it is an empty-history Bundle (Empty-History Bundles). Undercontroller_bindingandsame_key, a join with an empty-history member isone_sidedonly when the two are linked (below).unjoined: neither member has outcomeartifactwith records; or one has records, the other is an empty-history Bundle, and thecontroller_bindingorsame_keylinkage does not link them; or both have records, but the linkage basis does not establish that their records are about the same thing.agree: both members are artifacts with records and are linked, and everycomparepointer resolves in both root records to values with identical JCS serializations. A join with nocompareand a link isagree.mismatch: both members are artifacts with records and are linked, and at least onecomparepointer resolves to different values, or does not resolve on one side.
A History member with a join view (History Members) counts as an
artifact with records in these rules. It has no root record, so no
compare pointer resolves in it: a linked join naming one that carries
compare derives mismatch. A verifier derives a join naming a History
member only on the bases that define a derivation for one,
controller_binding and same_key.
Linkage is evaluated on each artifact member’s root record (its bundle’s
root), or on a History member’s join view. This document defines the
derivation for four bases:
-
pre_agreed_identifier:pointerselects a string in each root record. The members are linked when SHA-256 of that string’s UTF-8 octets equalsidentifier_digeston both sides. The identifier itself never enters the block. -
shared_artifact_digest:pointerselects a digest string in each root record. The members are linked when the two values are identical. -
controller_binding:identifier_digestis a binding digest (Controller Binding Records). The members are linked when a delivered binding record whose binding digest equalsidentifier_digestapplies to the two members’ keys, each at its time T, as “Member keys” below determines them. A verifier that received no record with that digest, or only well-formed records with that digest whosemethodor key types it does not implement, reports the join asnot_derivable; so does a join withoutidentifier_digest, or with a member that has no key. Any other record with that digest that does not apply (malformed, not signed by both keys, other keys, outside its window, or revoked) leaves the members unjoined. A join on this basis states that the two members are under keys whose holders bound them, as both of them stated it; it says nothing about who those holders are. T only tests whether the binding was in effect. For a History member it does not state whether that History covers any record of the other member.pointeris not needed: each key is determined below. A join MAY carry it, as a block written under -02 does; thenpointerMUST select, in the root record of each member that has one, the key determined below for that member, and apointerthat selects any other value there, or does not resolve there, makes the joinnot_derivable. A History member or an empty-history Bundle has no root record, andpointeris not checked against it. A composing party following this revision SHOULD omitpointer. A -02 verifier reads a join withoutpointerasnot_derivable, which never overstates it; a verifier following this revision can turn a join that -02 linked intonot_derivable, when the key a root record names is not a key that signed or logged it.When one member is an empty-history Bundle (Empty-History Bundles), the derivation still runs. Linked gives
one_sided, neveragree, because nothing was compared; not linked givesunjoined. -
same_key: the members are linked when both have the same key, as “Member keys” below determines them. A join with a member that has no key, other than a refusal or absence, which the state rules above already decide, isnot_derivable. Against an empty-history Bundle, linked givesone_sidedand not linked givesunjoined, as forcontroller_binding. Both members with records and linked givesagree; with different keys,unjoined. On everysame_keyjoin that derivesunjoined, a verifier reports both keys. Asame_keyjoin states only that one key signed, logged or answered for both members. It is how a party’s History attaches to that party’s own half of an exchange, signed by that party or held in its log: the two halves join each other on an identifier they share (for examplepre_agreed_identifier), and each History joins its own party’s half onsame_key.
Member keys. Under controller_binding and same_key, a member’s key
identifier, its time T and the key’s source are:
- for a History member, its join view’s key and time (History Members);
source
history; - for an empty-history Bundle, the key that signed its
checkpoint.cose, as that signature authenticates it, and that checkpoint’stimestamp; sourcelog_checkpoint. Without acheckpoint.cosethat verifies it has no key; - for a member Bundle with records whose root record carries
signatureorkey_id, the key under which its producer signature verifies ([I-D.mih-scitt-agent-action-capsule] ) and the root record’stimestamp; sourcerecord_signature. A root record that carries only one of the two, or whose signature does not verify, or that a verifier cannot check because it has no signature verifier, has no key. It never falls back to the source below: removing a bad signature must not upgrade a record; - for a member Bundle with records whose root record carries neither
signaturenorkey_id, the key that signed the Bundle’scheckpoint.coseand that checkpoint’stimestamp, only when all of these hold: the checkpoint verifies and every stated copy of its fields matches it (Completeness Claims and Log Membership); the root record’scapsule_idrecomputes from its content, since an inclusion proof binds only thecapsule_id; and the root record’s own membership holds under that checkpoint: its entry incompleteness_certificate.membershipsnames the checkpoint’s log identifier, has aleaf_indexof itsseqminus one and a proof of the checkpoint’s MMR size whose ownleaf_indexis that same value, and that proof verifies against the checkpoint’s signed root. A failure elsewhere in the Bundle, such as another record’s membership, does not remove the key. Otherwise the member has no key. Sourcelog_checkpoint. T is the checkpoint’s time, not the record’stimestamp, because no key signed thattimestamp; the key signed only the checkpoint. Such a key states that the key’s log holds the root record, not that the key’s holder authored it: an unsigned record establishes its place in a log, never its authorship. A verifier MUST NOT present alog_checkpointkey as the author of a root record.
A key is never read from a value a root record states, because a root
record can name a key that did not sign or log it. For every
controller_binding and same_key join, whatever it derives, a verifier
reports each member’s key source: history, log_checkpoint,
record_signature, or none for a member with no key. The source is
reported whether or not a pointer matched it, so a join can report a key
source beside a not_derivable result that a mismatched pointer caused.
A join under pre_agreed_identifier or shared_artifact_digest one of whose
members is a History member is not_derivable: this revision defines no
derivation for a History member on those bases.
History times. For every join between a History member with a join view
and a member with a root record, a verifier reports the History’s time, the
root record’s timestamp, and whether the History’s time is before, equal
to or after it, compared as instants to the nanosecond (fractional digits
beyond the ninth are ignored). These are facts the two members state; they
derive no join state. A History anchored before a record is a History as of
a time before that record; a History anchored at or after it may count that
record, or not, as its own derivation decides. A verifier MUST NOT present
the comparison as showing that a History counts or omits that record, or
that it was available to anyone at its anchor time.
Histories under two keys. Two History members whose keys differ are
separate subjects. A verifier MUST NOT present them together, as one view,
as comparable, or as parties to one exchange, except through a path of joins
each of which derives agree: for example, History A same_key half A,
half A pre_agreed_identifier half B, half B same_key History B. Being
members of one block, or each verifying, is not such a path.
The bases issued_receipt (the two records cite one Receipt) and
same_interval (the two records fall in one declared interval) are reserved
for a later specification that defines their derivation. A block MAY declare
joins on them; such joins are digest-covered. A verifier that does not
implement a derivation for the basis reports such a join as not_derivable.
It MUST NOT report the join as a derived agreement, and MUST NOT count it as
corroboration.
A join one of whose artifact members is declared missing is also
not_derivable.
On a derived mismatch, a verifier reports each member’s value at each
differing pointer, and names no winner.
Observers and Redundancy
observers[] states, for each member, which observer produced it, in what
role, and in which custody_domain. role is a short token naming where
the observer sits, for example responder, runtime or network_boundary; this document does
not define a role vocabulary, and a verifier reports the role without
interpreting it. A custody domain is an opaque label that the composing party
assigns. Two observers are in the same custody domain exactly when their
labels are identical octet sequences.
Same custody is redundant, not corroborating. For every join that derives
agree, a verifier MUST report the pair as redundant in any of these cases:
- both members name the same observer;
- the two observers have the same
custody_domain; - the two members’ root records carry the same
key_id(a statedkey_idcan only make a pair redundant here, never link it); - the join’s basis is
controller_binding: the holders of the two keys have stated that the keys are not independent issuers (Controller Binding Records); - the join’s basis is
same_key: one key signed, logged or answered for both members.
It MUST present the result as “redundant, not corroborating”, with the reason.
A controller_binding or same_key join therefore never yields
corroboration.
Otherwise it MAY report the pair as corroborating, and it MUST qualify that as
resting on declared custody.
Custody labels are the composing party’s declaration. Like producer-key/v1
(The producer-key/v1 Extension), they can only downgrade a result. Identical labels make a
pair redundant. Distinct labels never establish that two observers are
independent, and a verifier MUST NOT present them as doing so.
Corroboration is derived; it is never declared, and it is not part of the block. A verifier lists results per pair. It MUST NOT combine them into a count or score.
Composed Digest
The composed digest is the digest a judgment cites as the evidence set it was made from. It is computed only from the declarations in the block, so it recomputes from the containing Bundle alone. It stays the same whether or not the member bodies are carried.
-
Build the digest input
D, a JSON object with exactly these five members:kind: the string"composed/v1".members: for each member, an object with exactly itsid,observer,request_digest,outcomeanddigest. Sort the objects in ascending order ofid.observers: for each observer, an object with exactly itsid,roleandcustody_domain. Sort in ascending order ofid.joins: for each join, an object with itsmembers,basisandstate, plus whichever ofpointer,identifier_digestandcomparethe join carries (absent members stay absent, nevernull). Sort in ascending order ofmembers[0], thenmembers[1], thenbasis, thenpointer, where a join withoutpointersorts before every join with one, including apointerthat is the empty string.comparekeeps its carried order. Use[]when the block has nojoins.not_requested: the block’snot_requestedsorted ascending, or[]when it has none.
Identifiers are ASCII (
label-id), so ascending order is octet order.pointervalues, which may hold any character, compare by the octets of their UTF-8 encoding. The order in which arrays are carried does not affect the digest. -
composed_digestis the lowercase hexadecimal SHA-256 of the UTF-8 octets of the JCS [RFC8785] serialization ofD. This is the canonicalization algorithmjcsof [I-D.mih-sokolov-scitt-payload-binding] : RFC 8785 with no normalization pass, SHA-256, bare hex.Dcontains no numbers. -
Member bodies, each member’s
response,missingandcomposed_digestitself are excluded.
A verifier MUST recompute composed_digest and report a mismatch as a failed
composed/v1 check. It MUST NOT report the recomputed value as the digest of
any member, nor as the containing Bundle’s digest.
The containing Bundle’s own digest (Bundle Digest and Countersignatures) still covers the whole block, bodies included. A countersignature over the containing Bundle therefore binds the composition and everything carried with it. The composed digest binds only the evidence set.
Because the composed digest covers each member’s outcome, observer and
digest, all observers’ roles and custody labels, and every join
declaration, changing any of them changes the composed digest. A judgment
that cites a composed digest therefore also binds the declared custody, and
with it the redundancy result a verifier derives from that custody.
Verifying composed/v1
A verifier that implements composed/v1 MUST report each of the following
separately:
- the recomputed composed digest, and whether it matches;
- per member: outcome, body carried or declared missing, digest reproduced,
and, for a carried member bundle, its own three completeness claims, no
history for an empty-history Bundle (Empty-History Bundles), and, when it
carries
response, whether the response’s digests match and its signature state; for a carried refusal, its signature state; for a signature checked under a profile of Carried Signature Profiles, that profile’s identifier when the verifier reports which profile it used; for a carried History member, the result of each check of History Members, its derivation, and its join view’s key and time; - composition closure;
- per join: the declared state, the derived state (or
not_derivable), and whether they match; for acontroller_bindingorsame_keyjoin, each member’s key source; for asame_keyjoin that derivesunjoined, both keys; for a join between a History member and a member with a root record, the History times (Joins); - per derived
agree:redundant(with reason) or corroborating on declared custody.
A verifier that does not implement composed/v1 follows Typed Extensions: it
reports the block as uninterpreted and integrity-covered. It MUST NOT present
any member, join or composed digest as checked.
The parent-log-witness/v1 Extension
A producer can have its log’s checkpoint witnessed without sending that
checkpoint to a witness. It places the checkpoint as a salted leaf of a Merkle
tree, appends the tree’s root as one entry of another log it keeps, the parent
log, and has the parent log’s checkpoint witnessed. The parent-log-witness/v1
extension kind carries that chain. With it, a verifier can check that a
Receipt over the parent log’s checkpoint covers the Bundle’s checkpoint, or an
earlier checkpoint of the same log. Such a Receipt is not over the Bundle’s
checkpoint, so a producer MUST NOT carry it with the Bundle’s checkpoint as if
it were.
"extensions": {
"parent-log-witness/v1": {
"log_id": "<log identifier of the covered checkpoint>",
"size": <MMR size of the covered checkpoint>,
"salt": "<non-empty string>",
"index": <position of the leaf in the tree>,
"path": ["<64 lowercase hex>", ...],
"earlier": {
"checkpoint": { "cose": "<unpadded base64url>" },
"consistency_proof": {
"v": 1, "kind": "consistency",
"old_size": <MMR size>, "new_size": <MMR size>,
"old_peaks": ["<64 lowercase hex>", ...],
"witness": [["<64 lowercase hex>", ...], ...],
"new_peaks": ["<64 lowercase hex>", ...]
}
},
"parent": {
"log_id": "<log identifier of the parent log>",
"checkpoint": { "cose": "<unpadded base64url>" },
"entry_index": <zero-based leaf index of the entry>,
"inclusion_proof": { ... },
"witnesses": [ ... ]
}
}
}Every cose member is a CLL COSE checkpoint
[I-D.mih-scitt-checkpointed-local-log] , as for checkpoint.cose
(Completeness Claims and Log Membership). The covered checkpoint is the checkpoint in
earlier.checkpoint.cose when earlier is present, and the Bundle’s own
checkpoint otherwise. earlier.consistency_proof is a CLL consistency proof
from the covered checkpoint to the Bundle’s checkpoint: old_size and
new_size are the two MMR sizes, old_peaks and new_peaks the peaks of the
two MMRs, and witness one path per old peak into the new MMR, with every
hash in lowercase hexadecimal.
parent.inclusion_proof has the shape of a membership’s inclusion_proof
(Completeness Claims and Log Membership). parent.witnesses lists Receipts over the parent
checkpoint, in the form the verifier accepts for Receipts over a Bundle’s own
checkpoint. This document defines neither that form nor which witnesses a
verifier trusts.
The tree is a binary Merkle tree whose leaves and interior nodes are domain separated:
- The leaf is SHA-256 of the octet 0x00 followed by the JCS [RFC8785]
serialization of the object whose members are
checkpoint_sha256, the SHA-256 of the covered checkpoint’s COSE octets in lowercase hexadecimal, andlog_id,saltandsizeas the block states them. - An interior node is SHA-256 of the octet 0x01 followed by its left child and its right child.
- The root is computed from the leaf,
indexandpath. Starting from the leaf, for eachpath[i]in order, the current hashhbecomes node(h,path[i]) when bitiofindexis 0, and node(path[i],h) when it is 1.
path holds from 0 to 32 hashes, and index is below 2 to the power of the
length of path. The root, as 32 octets, is the value of the parent log’s
entry at entry_index: its CLL leaf is formed from the root as a record’s
leaf is formed from its Capsule ID.
A verifier that implements this kind checks the block only when it has
verified the Bundle’s checkpoint signature (Completeness Claims and Log Membership); otherwise the
result is withheld (checkpoint_unverified). It applies these checks in order
and stops at the first that fails, reporting the result failed with that
finding. Integers are JSON integers: true and 1.0 are not 1.
parent_witness_malformed: the block is not an object.- When
earlieris present:parent_witness_earlier_checkpoint_malformed:earlieris not an object, or itscheckpoint.coseis not a string of unpadded base64url.parent_witness_earlier_checkpoint_signature_invalid: those octets are not a CLL COSE checkpoint that verifies under its own key.parent_witness_earlier_checkpoint_not_this_log: its key or log identifier differs from those of the Bundle’s checkpoint, or its MMR size is not below the Bundle’s.parent_witness_earlier_checkpoint_not_a_prefix:consistency_proofis not of the shape above, itsold_sizeandnew_sizeare not the MMR sizes of the covered checkpoint and the Bundle’s checkpoint, or it does not prove that the Bundle’s checkpoint extends the covered one.
parent_witness_leaf_does_not_name_this_checkpoint:log_idis not the covered checkpoint’s log identifier, orsizeis not its MMR size.parent_witness_path_malformed:pathis not an array of 0 to 32 strings, each 64 lowercase hexadecimal characters.parent_witness_leaf_malformed:saltis not a non-empty string, orindexis not an integer from 0 to 2 to the power of the length ofpath, minus one.parent_witness_parent_checkpoint_malformed:parentis not an object, or itscheckpoint.coseis not a string of unpadded base64url.parent_witness_parent_checkpoint_signature_invalid: those octets are not a CLL COSE checkpoint that verifies under its own key.parent_witness_parent_signer_differs: the parent checkpoint’s key is not the key of the Bundle’s checkpoint.parent_witness_parent_log_id_mismatch:parent.log_idis not the parent checkpoint’s log identifier.parent_witness_entry_not_included:entry_indexis not a non-negative integer, orinclusion_proofis malformed, does not state the parent checkpoint’s MMR size andentry_index, or does not prove the root’s leaf atentry_indexunder the parent checkpoint’s root.
When every link holds, the result is that of the Receipts in
parent.witnesses, checked over the parent checkpoint as the verifier checks
Receipts over a Bundle’s own checkpoint: failed when one is malformed or does
not verify, passed when one verifies under a key the verifier trusts, and
withheld otherwise, including when there is none.
When the result passes, the verifier reports the extent: the number of log entries under the covered checkpoint and under the Bundle’s checkpoint, each the leaf count of an MMR of that size. Entries up to the first number were witnessed when the parent checkpoint was; the extent is whole when the two numbers are equal. The verifier MUST compute the extent from the verified checkpoints and MUST NOT read it from the block. A verifier MUST ignore members of the block that this document does not define. It MUST NOT describe entries beyond the first number as witnessed, MUST NOT report a Receipt over the parent checkpoint as a Receipt over the Bundle’s checkpoint, and MUST NOT report the Bundle’s checkpoint as witnessed by the parent log unless the result passed.
The result is reported beside the three completeness claims and is not one of them. A failed result is a failed check of the Bundle; a withheld one changes no other result.
Provisional Extension Kinds
The interim registry (IANA Considerations) also records two extension kinds held for
ratification and not registered: sd-jwt-issuers/v1, the issuer keys under
which SD-JWT presentations [RFC9901] in a revealed agent_input are
verified offline, and disclosure-policy-decisions/v1, the per-Capsule
disclosure-policy decision that a constraint record binds by digest. This
document does not define them. A verifier that does not implement them treats
them as it treats any extension kind it does not implement (Typed Extensions):
digest-covered and uninterpreted.
Bundle Digest and Countersignatures
The bundle digest is SHA-256(UTF8(JCS(canonical bundle form))), rendered as
64 lowercase hexadecimal characters. The canonical bundle form is the Bundle
with countersignatures omitted. countersignatures is excluded so that
independent parties can add signatures without changing the digest they sign;
every other present Bundle member, including extensions, participates.
countersignatures, when present, is an array of objects. Each object MUST
carry type and the type’s signature encoding, and signs the bundle digest.
An object whose signer is a party other than the producer is a
countersignature (Conventions and Definitions). This document does not define who
populates the slot or whether a relying party should rely on a given signer.
The registered types are cose-sign1 and countersign/v1. A cose-sign1
object is {type: "cose-sign1", signature: "<base64url tagged COSE_Sign1>"}.
It is a reserved neutral slot whose population and verification are future
scope; a current verifier MUST surface each such entry as unverified and
MUST NOT present pass-through data as a verified countersignature. The
countersign/v1 object is defined in The countersign/v1 Entry. A verifier MUST
report an entry of a type it does not implement as unverified and MUST NOT
let it change any other result.
An entry with no type member is the legacy form of countersign/v1.
A verifier MUST process it as countersign/v1, and its signing input then
uses the value countersign/v1 for type. A producer MUST NOT emit the
legacy form.
The countersign/v1 Entry [#countersign-entry]~~~
{
“type”: “countersign/v1”,
“signer”: { “id”: "
`type`, `signer`, `over`, `statement`, and `signature` are REQUIRED;
`receipt` is OPTIONAL.
`signer.id` identifies the countersigner, for example a `did:web`
identifier. `signer.key_id` is the countersigner's
32-byte Ed25519 [[RFC8032]](https://www.rfc-editor.org/rfc/rfc8032) public key as 64 lowercase hexadecimal
characters: the key itself, not a digest of it, so that a verifier holding
only the entry can check the signature offline.
`over` is the bundle digest ([Bundle Digest and Countersignatures](#bundle-digest)) of the Bundle the
countersigner recomputed.
`statement` says what the countersigner recomputed and with what result.
- `checks` is a non-empty array. Each element names one check in `name`, a
short phrase for what was recomputed, and gives its `result`, which is
exactly one of the five values below. A check name is unique within a
statement.
- `recomputed_at` is the [[RFC3339]](https://www.rfc-editor.org/rfc/rfc3339) UTC time, with a "Z" suffix, at which
the countersigner finished recomputing.
- `scope.ledger_id` identifies the ledger whose records the Bundle carries, as
the issuer identified it to the countersigner. `scope.closure_depth` is the
closure depth the countersigner applied ([Citation Closure](#closure)). `scope.period`, when
present, is the `{from, to}` interval of [[RFC3339]](https://www.rfc-editor.org/rfc/rfc3339) timestamps the checks
covered; it is absent when the Bundle declares no such interval.
| result | Meaning |
|---|---|
| established | The check ran and its condition held. |
| failed | The check ran and its condition did not hold. |
| not present | The Bundle carries nothing this check operates on. |
| not checked | The check could not run, for example because there was nothing to compare against. |
| inconclusive | The check ran but resolved only in part. |
Each result stands alone. A statement MUST NOT carry an aggregate result, a
score, a rating, or a claim of compliance, and a verifier MUST NOT derive one
from the checks. Capture coverage, meaning whether every action that occurred
was recorded, cannot be recomputed from the records a Bundle carries; a
statement MUST NOT report it as a check result. Profile identifiers naming a
recomputation policy, when a later revision adds them, use the
`countersign.` prefix; this document defines none.
`signature` is the Ed25519 signature, as 128 lowercase hexadecimal
characters, over the signing input
`UTF8(JCS({"over": over, "signer": signer, "statement": statement, "type": type}))`. The
signature binds the Bundle, the signer's identity and what the countersigner
says about it; `signer` is the entry's `signer` object exactly as it appears
on the wire.
`receipt`, when present, is a Receipt [[RFC9942]](https://www.rfc-editor.org/rfc/rfc9942) showing the statement was
registered with a Transparency Service, in that service's receipt encoding. A verifier that cannot verify it MUST report it as unverified; its
absence does not invalidate the entry.
A verifier MUST ignore entry members not defined here, and they MUST NOT
change any result it reports.
### Verifying a countersign/v1 Entry [#countersign-verify]
A verifier MUST, for each `countersign/v1` entry:
1. recompute the bundle digest and compare it to `over`. An entry whose `over`
differs is not a countersignature of this Bundle and MUST be reported as
`invalid`;
2. verify `signature` over the signing input under `signer.key_id` with
strict Ed25519 ([Conventions and Definitions](#conventions)). An entry whose signature fails is
invalid, and its checks MUST NOT be displayed as results;
3. determine independence as in [Self-Countersignature](#self-countersignature).
A verifier MAY resolve `signer.key_id` against a directory of countersigners
that it or the relying party chooses, to put a name to the key. No directory
is privileged, and this document defines none. A verifier reports each
`countersign/v1` entry as exactly one of `invalid`, `not independent`,
`unresolved signer` (independent, and the key is in no directory consulted),
or `resolved` (independent, and the key is found). It MUST attribute each
check and result to the signer, as the signer's statement, and MUST NOT
present them as its own findings.
### Self-Countersignature [#self-countersignature]
A countersignature is a self-countersignature when `signer.key_id` equals the
producer's key: the `kid` of a Producer Envelope over any record in `records`
([[I-D.mih-scitt-agent-action-capsule]](https://datatracker.ietf.org/doc/draft-mih-scitt-agent-action-capsule/)), the `public_key` of a well-formed
`producer-key/v1` extension ([The producer-key/v1 Extension](#producer-key)), or any other key the verifier
holds for that producer. A self-countersignature is a well-formed entry that does
not meet the definition of a countersignature, because its signer is the
producer. A verifier MUST NOT reject it for being one, and MUST render it as
not independent, never as a countersignature by a party other than the
producer. The verifier computes
independence itself for each entry; no entry member and no directory entry
can change that result, and a producer key declaration can only change it
to not independent.
## Fragment Codec [#fragment-codec]
The common permalink codec is exact. To encode a Bundle in a URL fragment, a
producer MUST serialize the whole Bundle with JCS, including recursive
`sort_keys` object-member ordering, UTF-8 encode the resulting JSON text, and
encode those bytes with RFC 4648 base64url [[RFC4648]](https://www.rfc-editor.org/rfc/rfc4648) Section 5 without
padding. The resulting unescaped ASCII string is the fragment value after
`#`. A decoder MUST base64url-decode the unpadded fragment, UTF-8 decode it,
parse it as JSON, and then apply the Bundle checks in this document.
The `/v/<id>` route carries a Bundle of one using this same codec; `/bundle`
uses no different decoder. The path is a locator only. URL fragments are not
sent in HTTP requests, so a hosted service receives a Bundle only when it is
otherwise uploaded or embedded in the returned report.
## Verification [#verification]
`verification`, when present, is producer self-report. It MAY record tool
versions, performed checks, or findings, but it is not proof and MUST NOT
replace independent verification of Capsules, disclosures, closure,
certificates, checkpoints, or countersignatures. A verifier MUST label it as
producer self-report.
A conforming verifier MUST at minimum compute the Bundle digest, verify each
enclosed Capsule under the base profile, apply [Citation Closure](#closure) and [Bundle-Level Disclosures](#disclosures),
and report graph closure, interval coverage, and per-record membership as
separate results. It MUST distinguish WITHHELD, REVEALED-match,
REVEALED-mismatch, declared incomplete, and absent or invalid membership
proofs. It MUST apply [Certificate Modes](#certificate-modes) to every Bundle, so that a
certificate mode it does not implement is reported as not established, never
as failed.
## Implementation Status [#impl-status]
Note to RFC Editor: Please remove this section and the reference to
[[RFC7942]](https://www.rfc-editor.org/rfc/rfc7942) before publication.
This section records the status of known implementations of the protocol
defined by this specification at the time of posting of this
Internet-Draft, and is based on a proposal described in [[RFC7942]](https://www.rfc-editor.org/rfc/rfc7942). The
description of implementations in this section is intended to assist the
IETF in its decision processes in progressing drafts to RFCs. Please note
that the listing of any individual implementation here does not imply
endorsement by the IETF. Furthermore, no effort has been spent to verify the
information presented here that was supplied by IETF contributors. This is
not intended as, and must not be construed to be, a catalog of available
implementations or their features. Readers are advised to note that other
implementations may exist.
According to [[RFC7942]](https://www.rfc-editor.org/rfc/rfc7942), "this will allow reviewers and working groups to
assign due consideration to documents that have the benefit of running
code, which may serve as evidence of valuable experimentation and feedback
that have made the implemented protocols more mature. It is up to the
individual working groups to use this information as they see fit".
### Agent Action Capsule reference implementations
Organization:
: Action State Group, Inc.
Implementations:
: Verifiers of this document in the agent-action-capsule source
repository, [](https://github.com/action-state-group/agent-action-capsule): Python, the reference
([](https://github.com/action-state-group/agent-action-capsule/tree/main/python)); and ports in Go ([](https://github.com/action-state-group/agent-action-capsule/tree/main/go)),
TypeScript ([](https://github.com/action-state-group/agent-action-capsule/tree/main/ts)) and Rust
([](https://github.com/action-state-group/agent-action-capsule/tree/main/rust/agent-action-capsule)). The Python and Rust
implementations also build Bundles. The latest releases are Python
0.19.0, Go 0.24.0, TypeScript 0.16.0 and Rust 0.14.0; additions made in
this revision are on the main branch and not yet in a release.
Level of maturity:
: Pre-1.0 releases.
Coverage:
: In all four: the Bundle object, citation closure, completeness claims,
the strict checks, `composed/v1` (including History members, the
`controller_binding` and `same_key` joins and the carried signature
profiles) and `parent-log-witness/v1`.
In Python only: category coverage, certificate mode and non-record
leaves. The fragment codec is implemented in Go and TypeScript.
Licensing:
: BSD-3-Clause, except the paths that the repository's LICENSING.md lists
under Apache-2.0.
Contact:
: [](https://github.com/action-state-group/agent-action-capsule/issues)
Conformance vectors:
: [](https://github.com/action-state-group/agent-action-capsule/tree/main/vectors/bundle), one directory per feature, each with
its own README.
### checkpointed-local-log
Organization:
: Action State Group, Inc.
Implementation:
: [](https://github.com/action-state-group/checkpointed-local-log), implementations of
[[I-D.mih-scitt-checkpointed-local-log]](https://datatracker.ietf.org/doc/draft-mih-scitt-checkpointed-local-log/) in Python (release 0.9.0), Go
(release 0.4.0), TypeScript (release 0.4.0) and Rust (release 0.6.0): an
append-only local log, its Merkle Mountain Range, and signed checkpoints
that can be registered with a Transparency Service.
Level of maturity:
: Pre-1.0 releases.
Coverage:
: The log and checkpoints whose membership and consistency a Bundle's
completeness claims rest on ([Completeness Claims and Log Membership](#completeness)).
Licensing:
: BSD-3-Clause.
Contact:
: [](https://github.com/action-state-group/checkpointed-local-log/issues)
Test vectors:
: [](https://github.com/action-state-group/checkpointed-local-log/tree/main/mmr-conformance-vectors),
[](https://github.com/action-state-group/checkpointed-local-log/tree/main/checkpoint-conformance-vectors)
and [](https://github.com/action-state-group/checkpointed-local-log/tree/main/commitment-conformance-vectors).
### scitt-cose
Organization:
: Action State Group, Inc.
Implementation:
: [](https://github.com/action-state-group/scitt-cose), a Python library (release 0.5.0) that verifies SCITT
Signed Statements and COSE Receipts ([[RFC9942]](https://www.rfc-editor.org/rfc/rfc9942)) under the
`RFC9162_SHA256` and CCF tree algorithms, and verifies a Checkpointed
Local Log's inclusion and consistency proofs against a checkpoint. It
carries no application profile: a statement's payload is opaque to it.
Level of maturity:
: Pre-1.0 releases.
Coverage:
: Verification of a Bundle's checkpoint proofs and of the Receipts over
its checkpoint ([Completeness Claims and Log Membership](#completeness)).
Licensing:
: Apache-2.0.
Contact:
: [](https://github.com/action-state-group/scitt-cose/issues)
Test vectors:
: [](https://github.com/action-state-group/scitt-cose/tree/main/test-vectors)
## Security Considerations [#security]
The Bundle does not make omitted evidence disappear. Its explicit missing
declaration is necessary to prevent a short report from being represented as a
complete closure. Range endpoints are not a substitute for per-record
membership: endpoint-only proofs leave interior substitution and deletion
undetected. Disclosures are not signatures and are untrusted until their DE-3
digest comparison succeeds. Fragments can be copied or changed by a party
hosting a link, so every received Bundle requires independent verification.
Unknown extension kinds are integrity-covered but semantically untrusted.
A producer-selected certificate proves that each carried record is in the
log; it says nothing about the records the producer left out, so a verifier
never presents one as complete ([Producer-Selected Certificates](#producer-selected)). Reporting an
unimplemented certificate mode as not established rather than invalid keeps a
failure meaningful: a verifier that reported every unfamiliar mode as invalid
would report an honest Bundle and an altered one identically. The cost is a
downgrade: whoever alters a Bundle can name an unknown mode, or put a
non-record leaf of an undefined type where a record or a padding leaf was, and
so turn a failing per-record membership into one that is not established
([Certificate Modes](#certificate-modes), [Non-Record Leaves](#non-record-leaves)). Neither change can make a
claim established. A relying party therefore treats "not established" as
unverified, never as a pass. A padding leaf is accepted only with its full
content, never as a bare digest, because a bare leaf value could be the
identifier of a Capsule the producer chose not to show; recomputing the value
from padding content, whose only free member is a random nonce, rules that
out ([Non-Record Leaves](#non-record-leaves)).
A countersignature's `statement` and `signer` are what a relying party reads,
so both are inside the signing input ([The countersign/v1 Entry](#countersign-entry)); a signature over
the bundle digest alone would let anyone holding the Bundle rewrite a `failed`
result as `established`, or attribute the entry to a different signer
identifier, without detection. A verified signature establishes who made
the statement, not that the relying party should rely on that party: signer
trust, and the choice of any directory used to put a name to a key, are
outside this document. A self-countersignature is not a second party's
check, and rendering it as one would present the producer's own claim as
independent corroboration; [Self-Countersignature](#self-countersignature) forbids that. A
`producer-key/v1` declaration can only cause an entry to be reported as not
independent: a producer that declares a key it does not hold weakens only
its own Bundle's countersignatures, and a producer that countersigns with a
key it does not declare is still reported at most as an `unresolved signer`
unless a directory the verifier chose lists that key. Results
are listed per check and never combined, because an aggregate would hide a
`failed` or `not checked` result behind a total.
### composed/v1 [#composed-security]
- **Omitted participants.** The composing party chooses whom to list.
Composition closure proves that every *declared* member is present or
declared missing. It cannot reveal a participant that the composing party
never listed. `not_requested` makes a known omission explicit. Completeness
against the real set of participants needs an independent statement of
that set, such as a coordinator's sealed topology. A verifier MUST NOT
describe composition closure as completeness of participation.
- **Declarations versus derivations.** Declared join states are re-derived;
a mismatch fails. Declared custody can only downgrade
([Observers and Redundancy](#composed-observers)). Nothing a producer declares can make two
observers independent.
- **Controller bindings.** A binding can only make an agreement redundant
([Observers and Redundancy](#composed-observers)); no binding, revocation or failed signature can
make two members corroborating. Two keys bound by their holders can sign
agreeing records, and without the redundancy rule they would read as two
issuers. A verifier knows only the revocation statements it received: the
party presenting a composition can leave out a revocation, and a
`controller_binding` agreement is then reported redundant all the same,
never more. A revocation the producer did not account for derives
`unjoined` and fails a declared `agree` (`join_state_mismatch`).
- **Member keys.** A key read from what a root record states could name a
key that never signed it, linking a record to a binding it is not under.
So a key comes only from a producer signature that verifies or, for an
unsigned record, from the signed checkpoint of a log whose own inclusion
proof holds the record with its identity intact, at that checkpoint's time
([Joins](#composed-joins)). The second states which log holds the record, not who
wrote it, and a verifier reports which source it used. A record whose
signature fails is never read through its log instead.
- **No history.** An empty-history Bundle ([Empty-History Bundles](#empty-history)) is its
producer's statement that its stream holds no record. Its signed checkpoint
shows that the stream exists, under which key, and the size of its log at
that time. It carries no certificate, so nothing shows that no leaf of that
log is a record. A verifier MUST NOT present no history as
evidence that no action took place. Because it is an `artifact`, never an
`absence`, a cleared or unstarted history cannot be read as a responder
that did not answer.
- **Carried signatures.** A carried refusal or response does not name its
signature profile, so a party can carry one object in a form other than
the one its signer used. Each profile's signing input covers different
members ([Carried Signature Profiles](#composed-signature-profiles)). A signature made for one
profile therefore does not verify as another's, except where the signed
bytes coincide. A verified signature attributes the object to the holder
of `key_id`, and nothing more: whether that key is the member's responder
is a separate check. In `three-member-refusal/v1`, `key_id` is not signed,
so binding the refusal to a responder rests on that check. Ed25519 is
verified strictly ([Conventions and Definitions](#conventions)), because a small-order key verifies a
forged signature over any message under a lenient verifier.
- **Countersignatures.** A countersign/v1 signature is verified with strict
Ed25519 for the same reason: a countersigner directory can put a name to a
small-order key, and under a lenient verifier a forged entry would then
read as that countersigner's statement.
- **Outcomes.** Keeping refusal and absence distinct is evidentiary:
synthesizing either one from the other forges the stronger record from the
weaker.
- **History members.** A `same_key` join shows that one key answered for a
History and signed a record; it does not show that the History counts that
record, and its times are the key holder's own statements. A verifier
reads the key of a member Bundle only from a producer signature that
verifies, never from a value the record states, so a party cannot attach
its History to a record that merely names its key. The composed digest
covers each History member's envelope digest, so swapping in another
responder's envelope changes the composed digest. Showing two parties'
Histories side by side without an `agree` path between them would suggest
a relationship no evidence states; [Joins](#composed-joins) forbids it.
### Category Coverage [#category-security]
A category declaration is the producer's statement about itself
([Category Coverage](#category-coverage)). A producer that chooses its own categories can
declare whatever is favorable to it; this is why a private set is never
reported as registered, and why a verifier reports properties rather than a
verdict of completeness. A signed `ABSENT` is attributable and can be
contradicted by records a counterparty holds, but it is not evidence that
nothing exists. Including the Bundle's `root` in the signing input stops a
declaration made for one root record from being presented with another; a
countersignature over the bundle digest is what binds it to the whole
Bundle.
### parent-log-witness/v1 [#parent-log-witness-security]
A Receipt over the parent checkpoint shows that the parent checkpoint existed
when the witness registered it. The chain carries that to the covered
checkpoint: the parent checkpoint commits to the entry, the entry is the
tree's root, and the root commits to the covered checkpoint's COSE octets. A
producer cannot later present another checkpoint as covered without a
SHA-256 collision. The chain does not show that the covered checkpoint is
the only checkpoint of its log at that size: a producer can place two
checkpoints of forked histories in one tree, and the salt keeps the witness
from seeing either. A relying party that needs to detect a fork needs
Receipts over the log's own checkpoints. Separating leaves from interior nodes
stops an interior node from being presented as a leaf. Requiring the parent checkpoint, and an
earlier checkpoint, to be signed by the key of the Bundle's checkpoint ties
the chain to that producer: a Receipt over another party's log does not
cover this one.
When `earlier` is present, only the entries up to the covered checkpoint were
witnessed. The consistency proof shows that the Bundle's log extends them;
nothing shows when the later entries were added. Reporting the extent as two
numbers, computed by the verifier, keeps a partly witnessed log from reading
as wholly witnessed. A Receipt says nothing about whether the producer's
records are true.
## Privacy Considerations [#privacy]
A Bundle reveals a preimage only through its disclosure overlay
([Bundle-Level Disclosures](#disclosures)); a member absent from the overlay stays WITHHELD.
A range that carries padding leaves ([Non-Record Leaves](#non-record-leaves)) shows where padding
runs begin and end, and padding is appended before a checkpoint is cut. Such a
range therefore reveals some of the log's earlier checkpoint sizes, which
padding exists to blur (Section 13.1 of [[I-D.mih-agent-evidence-layer]](https://datatracker.ietf.org/doc/draft-mih-agent-evidence-layer/)).
A producer that does not want to show them uses a producer-selected
certificate ([Producer-Selected Certificates](#producer-selected)), which carries no positions other than
those of the records it carries.
A cleared history's empty-history Bundle ([Empty-History Bundles](#empty-history)) carries a
checkpoint signed by the same key as the cleared stream. Clearing a history
therefore does not unlink that key from it.
A witness of a parent log ([The parent-log-witness/v1 Extension](#parent-log-witness)) sees one entry per tree,
not the checkpoints in it. Each leaf is salted, so the entry does not reveal
a checkpoint even to a party that holds it. A producer SHOULD use a salt of at
least 256 bits from a cryptographically secure random source, a fresh one per
leaf, and the same length of `path` for every tree, so that neither the entry
nor a Bundle's path reveals how many logs share a tree. A Bundle that carries
the block reveals its own checkpoint's position in the tree and the sibling
hashes on its path, and nothing else about the other leaves.
For the `composed/v1` extension ([The composed/v1 Extension](#composed)):
- Join identifiers enter only as digests (`identifier_digest`).
- A delivered controller binding record ([Controller Binding Records](#composed-binding)) reveals that
the holders of its two keys bound them, its claim type and its window. It
carries no name, and it is delivered only to whom the presenting party
chooses.
- `custody_domain` is an opaque label and SHOULD NOT be a network address, an
account identifier or a personal name.
- Withholding a member's body (`missing`) keeps the composed digest stable. A
judgment can therefore be checked against a composition presented to an
audience that may not see every member.
## IANA Considerations [#iana]
IANA is requested to create the "AAC Evidence Bundle Parameters" registry
group with these Specification Required registries, using [[RFC8174]](https://www.rfc-editor.org/rfc/rfc8174) and
[[RFC2119]](https://www.rfc-editor.org/rfc/rfc2119) terminology and the designated-expert criteria of [[RFC8126]](https://www.rfc-editor.org/rfc/rfc8126):
1. "Evidence Bundle kind", initial value `evidence-bundle/v2`.
2. "Evidence Bundle extension kind", initial values `producer-key/v1`
([The producer-key/v1 Extension](#producer-key)), `composed/v1` ([The composed/v1 Extension](#composed)) and
`parent-log-witness/v1` ([The parent-log-witness/v1 Extension](#parent-log-witness)). A registered
specification defines each block; private `x-` prefixed kinds are not
registered. The kinds `sd-jwt-issuers/v1` and
`disclosure-policy-decisions/v1` ([Provisional Extension Kinds](#provisional-kinds)) are not initial
values.
3. "Evidence Bundle countersignature type", initial values `cose-sign1`
([Bundle Digest and Countersignatures](#bundle-digest)) and `countersign/v1` ([The countersign/v1 Entry](#countersign-entry)).
4. "Evidence Bundle category set", with no initial values. Each entry
registers a category set identifier for `category_coverage`
([Category Coverage](#category-coverage)), its category names, and how a record is assigned
to a category. The registering specification names any external source of
the categories by version. Identifiers beginning `x-` are private and are
not registered.
Until IANA registry creation, the interim registry of record is `REGISTRY.md`
in the source repository of [[I-D.mih-scitt-agent-action-capsule]](https://datatracker.ietf.org/doc/draft-mih-scitt-agent-action-capsule/). It records
the same values and policy.
## Change Log
Since -03:
- The `category_coverage` signature ([Signature](#category-signature)) is verified
with strict Ed25519 ([Conventions and Definitions](#conventions)), so `category_coverage_signature` is
`FAIL` for a signature that fails only a strict condition. The four
implementations already verified it this way.
Since -02:
- `composed/v1` carried signature profiles
([Carried Signature Profiles](#composed-signature-profiles)): `three-member-refusal/v1`,
`whole-refusal/v1` and `digest-bound-artifact-response/v1`, the opt-in
profiles in which a verifier checks a carried refusal's or response's
signature. The members an object carries decide which profile applies.
Each signature is verified, invalid or signature-unverified under strict
Ed25519, and the verifier report names the profile used. Added Security
Considerations for them.
- Defined strict Ed25519 ([Conventions and Definitions](#conventions)), the capsule draft's rule, and
required it for the carried signature profiles and for a countersign/v1
signature ([Verifying a countersign/v1 Entry](#countersign-verify)), whose verification rule was
previously unstated.
- Implementation Status: added ([Implementation Status](#impl-status)), following RFC 7942.
- References: the Evidence Request is cited at -03, the Agent Action Capsule
profile at -06 and the Evidence Layer at -01. Strict Ed25519 now cites the
capsule draft's definition, which -06 states, in place of restating it.
- Defined and registered the `parent-log-witness/v1` extension kind
([The parent-log-witness/v1 Extension](#parent-log-witness)): a chain from the Bundle's checkpoint, or an
earlier checkpoint of the same log with a consistency proof, through a
salted leaf of a Merkle tree whose root is an entry of a parent log signed
by the same key, to Receipts over the parent log's checkpoint. A verifier
checks every link, reports one finding per kind of failure, and computes the
extent of what was witnessed itself. Added Security and Privacy
Considerations for it.
- Cites the Checkpointed Local Log -02.
- `composed/v1` member keys: under `controller_binding` and
`same_key`, a member Bundle's key comes from its root record's verified
producer signature or, for a root record with neither `signature` nor
`key_id`, from the Bundle's checkpoint signer when the record's identity
and its own membership under that checkpoint hold, at that checkpoint's
time. A present signature that fails never falls back. A key is never read
from a value the record states: `controller_binding`'s `pointer` is
optional and, when present, must select that key. Every such join reports
each member's key source.
- `composed/v1`: a History answer can be an `artifact` member, carried as
`history` (its artifact response envelope and anchor checkpoint), with the
envelope's digest as the member digest and a join view (its responder key
and anchor time) ([History Members](#composed-history)). Added the join basis `same_key`,
which reads a member Bundle's key from its root record's verified producer
signature; `controller_binding` also derives with a History member. A
verifier reports a History's time against a root record's as facts, with
no join state, and presents two Histories under different keys together
only through a path of derived agreements. Added Security Considerations
for History members.
- Stated what a verifier had to infer from a producer's Bundle
([Wire Forms](#wire-forms)): the members of `checkpoint` and the fold of its `root`,
the log entry of a record, the JSON forms of `inclusion_proof` and
`range_proof` with the order of a range proof's `witness`, the local
`signature` and `key_id` members of an enclosed record, and that a supplied
record outside the closure neither passes nor fails graph closure.
Since -01:
- Certificate modes ([Certificate Modes](#certificate-modes)): `completeness.selection` names
the mode of `completeness_certificate`; a verifier reports a mode it does not
implement as not established (`certificate_mode_unsupported`), never as
failed or invalid.
- Defined the producer-selected certificate ([Producer-Selected Certificates](#producer-selected)), in the
shape producers already emit: `selection` `producer-selected`, no range,
each record proven on its own; interval coverage is never established for
it. Added `none` to `payloads_mode`.
- Non-record leaves ([Non-Record Leaves](#non-record-leaves)): a range covers padding leaves in
`completeness_certificate.non_record_leaves`, each carried in full; stated
the padding leaf's serialization and identifier, the per-position accounting
rule for per-record membership, and that a leaf of an undefined type leaves
the claim not established, never established. Stated that per-record
membership is the claim, and that unknown `completeness_certificate` members
are ignored. Privacy Considerations: what a padded range reveals. Security
Considerations: reporting an unimplemented mode or an undefined leaf type
as not established can turn a failure into not established, never into
established; why a padding leaf is carried in full.
- Category coverage ([Category Coverage](#category-coverage)): the OPTIONAL `category_coverage`
member, a producer's signed declaration of one status per category of a
named category set (`AVAILABLE`, `PARTIAL`, `WITHHELD`, `DELETED`, `ABSENT`,
`UNDISCLOSED`; `UNDISCLOSED` requires `policy_uri`), answering the Evidence
Request `categories` field; five verifier properties, reported separately and
never combined; it declares and does not prove. Created the "Evidence Bundle
category set" registry, with no initial values. The Abstract mentions the
declaration.
- `composed/v1`: defined the controller binding record
([Controller Binding Records](#composed-binding)): its members and claim types, its signing input and
binding digest, the methods `dual_signature/0` and
`dual_signature_credential/0`, revocation statements, and when a binding
applies; and the `controller_binding` join basis with its derivation
([Joins](#composed-joins)). A `controller_binding` agreement is always redundant,
never corroborating ([Observers and Redundancy](#composed-observers)). A verifier that implements
only -01 reads a block that carries a `controller_binding` join as
malformed, since -01's `join-basis` does not list it. Security and Privacy
Considerations: controller bindings. A binding record MAY carry
`key_types`; this document defines the `ed25519` key type, and a record
under any other is treated as under a method a verifier does not
implement.
- Empty-history Bundles ([Empty-History Bundles](#empty-history)): a Bundle with no records and no
`root` shows that a stream has no history to disclose, whether it was never
started or its history was cleared (a new stream, with a new `log_id`).
It is well formed and reported as no history, never as failed and never as
an absence. In `composed/v1` it is an `artifact` member, and a join with it
derives `one_sided`; a `controller_binding` join derives from the key that
signed its checkpoint, and is `not_derivable` without one. Security
Considerations: no history. Privacy Considerations: a cleared history's
checkpoint is signed by the cleared stream's key.
- `composed/v1` composed digest: a join without `pointer` sorts before every
join with one, including a `pointer` that is the empty string. -01 sorted
the two alike, so their carried order changed the digest. `pointer` values
compare by their UTF-8 octets.
- Cites Evidence Request -01 and, informatively, Evidence Layer -00 and the
Canonicalization Declaration -06.
Since -00:
- Countersignatures: defined the `countersign/v1` countersignature entry, its
statement, and its five check results; defined countersignature,
countersigner, and self-countersignature, and required a
self-countersignature to be rendered as not independent; registered
`countersign/v1` as a second countersignature type; an entry with no
`type` is processed as `countersign/v1` (the legacy form).
- Defined and registered the `producer-key/v1` extension kind, which declares
the producer's key and can only cause a countersignature to be reported as
not independent.
- Defined and registered the `composed/v1` extension kind: one member per
responder carrying its Evidence Request outcome (`artifact`, `refusal` or
`absence`); observers with a role and a custody domain; joins whose
declared state (`agree`, `mismatch`, `unjoined` or `one_sided`) a verifier
re-derives; a fourth completeness claim, composition closure; same-custody
agreement reported as redundant, not corroborating; and a composed digest
(JCS, SHA-256) over the member, observer, join and `not_requested`
declarations. Added Privacy Considerations.
- Noted two provisional extension kinds, `sd-jwt-issuers/v1` and
`disclosure-policy-decisions/v1`, held for ratification in the interim
registry and not defined by this document.
## Acknowledgments
The authors thank the SCITT working group and the Action State Group
architecture review for the evidence-bundle starting shape.
## Normative References
- [RFC2119](https://www.rfc-editor.org/rfc/rfc2119)
- [RFC8174](https://www.rfc-editor.org/rfc/rfc8174)
- [RFC8126](https://www.rfc-editor.org/rfc/rfc8126)
- [RFC8259](https://www.rfc-editor.org/rfc/rfc8259)
- [RFC8785](https://www.rfc-editor.org/rfc/rfc8785)
- [RFC4648](https://www.rfc-editor.org/rfc/rfc4648)
- [RFC3339](https://www.rfc-editor.org/rfc/rfc3339)
- [RFC8032](https://www.rfc-editor.org/rfc/rfc8032)
- [RFC8610](https://www.rfc-editor.org/rfc/rfc8610)
- [RFC6901](https://www.rfc-editor.org/rfc/rfc6901)
- [RFC9943](https://www.rfc-editor.org/rfc/rfc9943)
- [RFC9942](https://www.rfc-editor.org/rfc/rfc9942)
- [I-D.mih-scitt-agent-action-capsule](https://datatracker.ietf.org/doc/draft-mih-scitt-agent-action-capsule/)
- [I-D.mih-agent-disclosure-envelope](https://datatracker.ietf.org/doc/draft-mih-agent-disclosure-envelope/)
- [I-D.mih-agent-evidence-request](https://datatracker.ietf.org/doc/draft-mih-agent-evidence-request/)
- [I-D.mih-scitt-checkpointed-local-log](https://datatracker.ietf.org/doc/draft-mih-scitt-checkpointed-local-log/)
## Informative References
- [RFC7942](https://www.rfc-editor.org/rfc/rfc7942)
- EVIDENCE-INTEROP
- [I-D.mih-agent-evidence-layer](https://datatracker.ietf.org/doc/draft-mih-agent-evidence-layer/)
- [I-D.mih-sokolov-scitt-payload-binding](https://datatracker.ietf.org/doc/draft-mih-sokolov-scitt-payload-binding/)