Agent Context Distribution Protocol (ACDP) — Producer Key-Revocation Signal
RFC-ACDP-0014
Document: RFC-ACDP-0014 Version: 0.3.0 Status: Community Standards Track (Final)
This RFC specifies a producer key-revocation signal: a normative context type, key-revocation, through which a producer declares that one of its signing keys is compromised as of a stated time — and the consumer semantics that turn that declaration into a time-scoped verification boundary. It makes normative the "publish a 'this key is compromised' context as a soft signal" mitigation acknowledged as a gap since v0.1.0 (RFC-ACDP-0008 §5, §9.3), and integrates with RFC-ACDP-0010 §10 historical verification: receipt-attested publish times are what let a verifier separate contexts signed before the compromise (still historically authorized) from those signed at or after it (fail closed). It depends on RFC-ACDP-0001 (Core), RFC-ACDP-0002 (Context Body), RFC-ACDP-0003 (Publish), RFC-ACDP-0005 (Discovery), and RFC-ACDP-0010 (Registry Receipts); RFC-ACDP-0013 (Lifecycle Events) is its sibling — key compromise is a canonical reason to retract affected contexts.
Revocation is a time-scoped statement; rotation is not revocation. A clean rotation says "stop accepting new signatures from this key" (remove from assertionMethod, keep in verificationMethod — RFC-ACDP-0001 §5.11). A revocation says "signatures from this key are untrustworthy from time T onward". Removing the key from verificationMethod entirely remains the blunt total-kill signal that fails everything closed (RFC-ACDP-0001 §5.11, rot-001 scenario C); this RFC provides the scalpel that preserves the pre-compromise history.
1. Status of This Memo
This document is a Final ACDP specification (acdp/0.3.0). It is stable for the 0.3.0 line; subsequent breaking changes require a new RFC and a version bump per VERSIONING.md. It was promoted from Draft to Final on 2026-07-05, the VERSIONING.md gate having been met: the conformance fixtures it defined at the time (rev-001, rev-002) passed against two independent interoperating implementations (see CHANGELOG.md for the promotion record). rev-003 and rev-004 were added later, pinning 0.3.0 obligations this RFC already stated in prose plus the 0.5.0 amendments below; they do not reopen the 0.3.0 promotion.
This revision additionally carries acdp/0.5.0-line amendments, marked (0.5.0), to §4 (a registry-side, predecessor-keyed enforcement of the existing §4 supersedes row) and §10 (retirement of the interim acdp:key-revocation form for new publications on registries advertising acdp_version ≥ 0.5.0, while explicitly preserving retrieval of bodies already published under it). §7's disarm clause was separately corrected as an erratum, unmarked: the rule itself follows from §4's existing permanence paragraph (a supersession can never quietly shrink a compromise window — disarming it entirely is that window shrinking to nothing), and its extension to the §10 interim form follows from §10's own pre-existing equivalence rule; neither was stated by name before now. This is a Final-line precision fix, not a new 0.5.0-line amendment, and binds every 0.3.0 consumer unconditionally, as it always did.
It also carries consumer-side acdp/0.5.0-line amendments, marked (0.5.0): §6's definition of "receipted by"; §7's producer scope, receipt-key status, discovery-outcome caching and attributable verdicts; §8's discovery outcome classes (including truncated and unanswerable discovery); and the §13 cross-producer bullet that the producer-scope rule closes. Each of them tightens what a consumer may conclude; none adds a wire field, error code or schema. They bind consumers conforming to the 0.5.0 acdp-consumer profile (fixtures rev-005, rev-006, rcpt-005, and the rev-002 I–K extension); 0.3.0/0.4.0-pinned consumers are unaffected.
Markers and status — read this before relying on a marked passage. A parenthetical version marker records which release line introduced a passage, not that the passage is Final. Passages marked (0.5.0) belong to the 0.5.0 line, which is Final (promoted 2026-11-06, VERSIONING.md) and wire-frozen with it. Everything not marked at all is Final and wire-frozen for acdp/0.3.0 (and, transitively, acdp/0.1.0). The document-level status above describes the unmarked body of this RFC; the (0.5.0) passages share it now that the 0.5.0 line is Final.
This RFC promotes no RFC-ACDP-0009 reservation; it activates the soft-signal mitigation named in RFC-ACDP-0008 §5 ("No real-time key revocation push") and closes the time-scoping half of §9.3. Nothing in this document invalidates any v0.1.0/0.2.0 body, signature, content_hash, or receipt. The signal remains pull-based: real-time revocation push stays out of scope for the substrate (RFC-ACDP-0008 §5), and §8's discovery semantics are honest about what pull can and cannot guarantee.
2. Conventions and Terminology
The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL are to be interpreted as described in BCP 14 ([RFC 2119], [RFC 8174]) when, and only when, they appear in all capitals.
| Term | Definition |
|---|---|
| Revocation context | An ACDP context of type key-revocation (§4): an ordinary signed, permanent, content-addressed body whose metadata declares a key compromised since a stated time. |
| Revoked key | The key identified by metadata.revoked_key_fingerprint (RFC-ACDP-0010 §6 encoding). |
| Compromise boundary (T) | metadata.compromised_since: the earliest instant at which the producer believes the key may have been under attacker control. Signatures made before T are attributable to the producer; at or after T, to the producer or the attacker — indistinguishably. |
| Producer-signed revocation | A revocation context signed by the producer's own current, non-revoked key (§5). The stronger trust class. |
| Registry-attested revocation | A revocation context published under the registry's identity on the producer's behalf after out-of-band verification (§6). The weaker trust class — the lost-everything fallback. |
| Verified revocation | A revocation context that passed the applicable §5/§6 verification, including the strict-profile body pipeline of RFC-ACDP-0001 §5.11. |
| Signer class | Which of the two verification paths a revocation context took: producer-signed (§5) or registry-attested (§6). The §4 supersedes row's "same signer class" names these two. It adds no publish-time constraint: RFC-ACDP-0003 §3.1 step 3 already requires a superseding body to carry the same agent_id, and the two classes necessarily publish under different agent_ids (the producer's DID vs the registry's), so a cross-class supersession is already impossible at publish and a same-class one is always same-DID. The row is phrased in classes rather than DIDs because §7's fold is performed by a consumer, which holds a lineage array and does not re-run §3.1 — it needs a property it can read off each member, and the class is that property. |
3. Motivation
ACDP v0.1.0 acknowledged two related gaps (RFC-ACDP-0008 §5, §9.3): no revocation mechanism, and no reliable answer to "was this key valid when this context was signed?". 0.2.0 closed the second half where receipts are deployed — the receipt's key_fingerprint plus verificationMethod retention yields historically authorized (receipt-attested) verification after clean rotation (RFC-ACDP-0010 §10). But 0.2.0's only compromise signal is total: removing the key from verificationMethod fails every context ever signed by it, including years of legitimate pre-compromise history (rot-001 scenario C). Producers face a false choice: keep a compromised key verifiable, or destroy their own verifiable history.
The missing piece is time scoping. A compromise has a start. Before it, signatures are the producer's; after it, they are unattributable. What is needed is a producer-attributable, permanent, discoverable statement of that boundary — which is exactly what an ACDP context already is. This RFC therefore introduces no new wire object, endpoint, or signing construction: the revocation is a context — signed, content-addressed, permanent (a revocation that could be quietly deleted would be worthless), visibility-public, and discoverable through ordinary search. What is new is its normative shape (§4), its trust rules (§5–§6), and the consumer verification semantics it triggers (§7).
4. The key-revocation Context Type
key-revocation is registered as a standard context type in registries/context-types.md and added to the context_type vocabulary in acdp-common.schema.json. A revocation context is an ordinary body (RFC-ACDP-0002) with the following constraints:
| Field | Constraint |
|---|---|
type | MUST be key-revocation. |
visibility | MUST be public. A revocation is a safety broadcast; an audience-restricted revocation protects nobody outside the audience and MUST be rejected at publish (schema_violation). |
metadata.revoked_key_fingerprint | REQUIRED. The fingerprint of the revoked public key, in the RFC-ACDP-0010 §6 encoding byte-for-byte ("sha256:" + lowercase_hex(SHA-256(raw_public_key_bytes)); raw 32-byte Ed25519 key or 33-byte SEC1-compressed P-256 point). Fingerprint form — not key_id — so the statement survives DID-document edits and matches what receipts record. |
metadata.compromised_since | REQUIRED. The compromise boundary T: canonical millisecond-precision RFC 3339 UTC (RFC-ACDP-0001 §5.3). Producers SHOULD choose T conservatively early — every signature at or after T fails closed (§7); an optimistically late T is the one non-recoverable mistake. |
metadata.revoked_key_id | OPTIONAL. The DID URL of the revoked verification method, for human traceability. The fingerprint is authoritative; on any disagreement the fingerprint governs. |
metadata.revoked_key_controller | The producer DID that controls the revoked key. OPTIONAL on producer-signed revocations (defaults to body.agent_id; if present MUST equal it). REQUIRED on registry-attested revocations (§6), where body.agent_id is the registry. |
metadata.reason | OPTIONAL. Human-readable circumstances (max 1024 characters). Informational only. |
supersedes | A revocation context MAY be superseded only by another key-revocation context from the same signer class (e.g. to widen — never narrow — the compromise window by moving T earlier). Consumers MUST treat the earliest compromised_since across a revocation lineage as effective. |
Registries advertising acdp_version ≥ 0.3.0 MUST validate these constraints at publish time for bodies with type: key-revocation and reject violations with schema_violation (this is metadata whose shape is fixed by the type, uniformly enforceable per the registries/context-types.md admission rule). Pre-0.3.0 registries cannot: their context_type vocabulary predates the type (§10 gives the interim form).
(0.5.0) Predecessor-keyed enforcement of the supersedes row. The supersedes row above constrains the predecessor: a revocation context may be superseded only by another key-revocation context of the same signer class (§2). By itself it says nothing about what a registry does when a producer instead submits a non-revocation superseding a revocation — RFC-ACDP-0003 §3.1 constrains supersession by target existence, cross-registry scope, agent_id, lineage_id, version and first-to-supersede, but not by type, so such a publish is accepted today. A registry advertising acdp_version ≥ 0.5.0 MUST, having resolved the supersedes target per RFC-ACDP-0003 §3.1 step 1, additionally inspect the resolved target's type: where that type is key-revocation (or the §10 interim acdp:key-revocation), the registry MUST reject an incoming body whose own type is not likewise a revocation — for this comparison, "a revocation" means key-revocation or the §10 interim acdp:key-revocation, so an incoming interim-typed body does not trip this rule — returning superseded_target (HTTP 400) with details.reason = revocation_type_mismatch (registries/error-codes.md). This is deliberately not schema_violation: the incoming body is structurally valid, and what fails is its relationship to the supersession target, not its own shape — the same distinction superseded_target's other reason tokens already draw. Precedence when both this rule and §10's below could apply to the same publish (an incoming acdp:key-revocation body superseding a revocation, submitted to a ≥0.5.0 registry): §10 governs, and its schema_violation is the one code returned. §10's rule is unconditional — it rejects every new interim-form publish regardless of what, if anything, it supersedes — while this rule's own condition (the incoming body is not "a revocation") is false for an interim-typed incoming body under the definition just given, so this rule does not independently fire in that case; there is exactly one applicable code, not two competing ones. This rule is the registry-side companion to §7's consumer-side disarm rule: §7 protects every upgraded consumer regardless of registry cooperation, while this clause additionally stops the attempt at the source, for registries that adopt it. Neither displaces the other, and a consumer MUST NOT assume a registry filtered such a supersession out (§7).
Like every body, a revocation context is permanent — there is no un-revoking a key. A producer who published a mistaken revocation supersedes it with a corrected one; the mistake remains on the record, and consumers apply the earliest-T rule above (a supersession can therefore never quietly shrink a compromise window).
5. Producer-Signed Revocation (NORMATIVE)
The primary trust class. A producer-signed revocation context MUST satisfy, and consumers MUST verify, all of the following (on top of the strict body pipeline of RFC-ACDP-0001 §5.11):
- Signed by the producer.
body.agent_idis the producer's DID, and the body signature verifies under the resolved key per §5.11 — including theassertionMethodauthorization check: the signing key MUST be currently authorized for the producer at verification time. (If the producer later rotates the revocation-signing key cleanly, the revocation remains verifiable viaverificationMethodretention with the historically authorized (receipt-attested) rule of RFC-ACDP-0010 §10 — a receipt-attested historical authorization satisfies this step.) - Not self-signed by the revoked key. The RFC-ACDP-0010 §6 fingerprint of the resolved signing key MUST NOT equal
metadata.revoked_key_fingerprint. A revocation signed by the very key it revokes proves only possession of that (by hypothesis, attacker-held) key; whoever holds it could mint or suppress such statements at will. Registries atacdp_version≥0.3.0MUST reject the publish withkey_not_authorized(the key is not authorized for this statement); consumers encountering one anyway MUST treat it as unverified (it is at most a hint to seek a real signal). - Controller binding.
metadata.revoked_key_controller, if present, equalsbody.agent_id. The revoked fingerprint SHOULD correspond to a key present in (or historically present in) the producer's DID document; consumers MUST NOT, however, require the revoked key to still be resolvable — §9.
A verified producer-signed revocation carries the producer's own authority: the same trust anchor as every ACDP body (RFC-ACDP-0008 §8). It is the class consumers act on without further judgment (§7).
The remaining-key requirement is real. Step 1 presupposes the producer still controls some non-revoked, currently-authorized key. Producers SHOULD provision for this day in advance — at minimum two independently stored signing keys, or a cold recovery key listed in assertionMethod (the two-tier pattern of RFC-ACDP-0001 Appendix B). did:key producers can never issue a producer-signed revocation for their own identity: the key is the identity; a compromised did:key producer abandons the identity, and only §6 or out-of-band channels can warn its consumers.
6. Registry-Attested Revocation (the lost-everything case, NORMATIVE)
Honesty requires naming the hard case: a producer whose only authorized key is compromised cannot sign a trustworthy revocation at all. The attacker holds everything the producer could sign with; any "revocation" the producer produces, the attacker could equally produce (or front-run with a revocation of the replacement key). Cryptography cannot distinguish the two parties at this point — recovery necessarily passes through an out-of-band, non-cryptographic identity check.
ACDP's fallback places that check with the registry, which already operates an authenticated relationship with the producer:
- The producer (or its operator) convinces the registry operator out of band — by whatever deployment-policy evidence the registry demands (organizational identity, DNS control of the
did:webauthority, contractual channels). The bar for this evidence is registry policy, not protocol. - The registry publishes a
key-revocationcontext under its own identity:body.agent_id= the registry's DID (capabilities.registry_did), signed per RFC-ACDP-0003 like any publish — a registry advertisingacdp-registry-receiptsSHOULD sign with its receipt signing key (which RFC-ACDP-0010 §9 already requires to be in itsassertionMethod; no new key role, the RFC-ACDP-0011/0013 precedent).metadata.revoked_key_controller(REQUIRED here) names the affected producer DID. - Consumers verify it as an ordinary body published by the registry, then classify it as registry-attested: a distinct, weaker trust class that MUST be reported distinguishably from producer-signed (§7).
Why weaker — spelled out. A producer-signed revocation is backed by the producer's own key: trusting it adds no new trusted party. A registry-attested revocation is backed by (a) the registry's honesty and (b) the quality of its out-of-band check — a hostile or deceived registry can fabricate one, and a fabricated revocation is a targeted denial-of-service against the producer's post-T history. Consumers MUST therefore treat the two classes differently: act on producer-signed revocations unconditionally (§7); for registry-attested ones, the strict profile default is to apply §7 for contexts served by or receipted by that same registry (which the registry could already withhold — no new trust is granted), and SHOULD seek producer-side or out-of-band corroboration before applying it globally. (0.5.0) "Receipted by" means: the context carries a receipt whose registry_did is that registry and which verifies per RFC-ACDP-0010 §8 against that registry's authority. Where the serving authority and the receipting registry differ, either one brings the context into the default scope. A consumer that scopes by serving authority only is conformant but narrower, and SHOULD document that. Deployments MAY configure stricter or looser policy; the classification itself MUST NOT be collapsed.
7. Consumer Semantics (NORMATIVE)
(0.5.0) Producer scope (NORMATIVE). A verified revocation is applied to a context only when the revocation speaks for that context's producer:
- Producer-signed: the revocation's
body.agent_idequals the context'sbody.agent_id. - Registry-attested: the revocation's
metadata.revoked_key_controllerequals the context'sbody.agent_id, and §6 scoping applies.
A revocation outside this scope MUST NOT change the context's verdict. A consumer MAY report it as a hint (the §5 step 2 "hint to seek a real signal" situation). Discovery per §8 already searches by the producer's agent_id; this rule binds the other sources of revocations — out-of-band acceptance (§8), caches keyed by fingerprint across producers, and caller-supplied revocation sets.
When a consumer holds a verified revocation for fingerprint F with compromise boundary T, and verifies a context whose body signature resolves to a key with fingerprint F:
- Establish the publish time — verifiably. The only publish time this RFC accepts is a receipt-attested one:
created_atfrom a registry receipt verified per RFC-ACDP-0010 §8 (whose step 5 also confirms the receipt attests F itself). The body's barecreated_atis registry-assigned, unsigned-by-producer, and unverifiable without a receipt (RFC-ACDP-0008 §9.1) — it MUST NOT be used as the boundary input. (0.5.0) The receipt's key status (RFC-ACDP-0010 §8 step 1) MUST be carried into thekey_revocationstage report. Under the strict profile, a receipt-attested time places a context before T (step 2) only when the receipt key's status is current. A receipt verified under a historical receipt key cannot place the context; the context is then unplaceable under step 4 and fails closed. A deployment MAY expose a non-default, explicitly named mode that also accepts a historical receipt key, alone or corroborated by RFC-ACDP-0012 log inclusion; such a mode is non-conformant with the strict profile and follows the RFC-ACDP-0001 §5.11 opt-in rules, like the step 4 pragmatic mode. This rule applies only to contexts signed by a revoked key: for ordinary rotation with no revocation, RFC-ACDP-0010 §9/§10 acceptance of historical receipt keys is unchanged. - Before T: receipt-attested
created_atstrictly earlier than T → the context was published while the key was still the producer's. Verification proceeds under the RFC-ACDP-0010 §10 historical rule and, on success, MUST be reported with the distinguishable status historically authorized (pre-compromise, receipt-attested). - At or after T — fail closed. Receipt-attested
created_atequal to or later than T → the signature is not attributable to the producer. Verification MUST fail under the strict profile (RFC-ACDP-0001 §5.11 / §9.2StrictV010and successors), regardless ofassertionMethod/verificationMethodstate and regardless of any valid receipt — the receipt proves when the registry accepted it, which is precisely what places it in the compromise window. - Publish time unverifiable — fail closed. No receipt, or a receipt that fails RFC-ACDP-0010 §8 → the context cannot be placed relative to T, and a revoked key's signature without a provable time is exactly the artifact an attacker can mint freely (and backdate at will — bare
created_atis attacker-influenceable via a colluding registry). The strict profile MUST fail closed. A deployment MAY expose a non-default, explicitly-named pragmatic mode that accepts other time evidence (external transparency-log inclusion, archived receipts); such a mode is non-conformant with the strict profile and MUST follow the RFC-ACDP-0001 §5.11 opt-in rules.
The resulting rotated-key verification landscape, completing RFC-ACDP-0008 §7.3 / rot-001:
| Scenario | Key state | Revocation | Receipt | Verdict |
|---|---|---|---|---|
| Rotated clean | in verificationMethod, not assertionMethod | none | verified, attests F | historically authorized (receipt-attested) — RFC-ACDP-0010 §10 |
| Rotated clean, no receipt | same | none | none | fail closed (strict) — rot-001 B, unchanged |
| Compromised, before T | in verificationMethod | verified, boundary T | verified, created_at < T | historically authorized (pre-compromise, receipt-attested) |
| Compromised, at/after T | any | verified, boundary T | any | fail closed |
| Compromised, time unverifiable | any | verified, boundary T | none / failing | fail closed (strict) |
| Total kill | removed from verificationMethod | n/a | any | fail closed — RFC-ACDP-0001 §5.11, rot-001 C, unchanged |
Consumers SHOULD cache verified revocations indefinitely (the statement is permanent) and MUST apply the earliest-T rule of §4 across a revocation lineage.
(0.5.0) Caching discovery outcomes (NORMATIVE). A consumer that caches discovery outcomes (§8):
- MUST retain a cached verified revocation regardless of the outcome of any later discovery. A later
unknown, a truncated result, or a result that no longer contains the revocation MUST NOT remove it or move its boundary later (§4). - MAY cache a
not-revoked (complete)outcome only together with the vantage it was observed at (for the registry-attested class, the registry concerned per §6), the trust classes it covered, and the time the discovery completed. It MUST NOT reuse that outcome for another vantage or another trust class, and MUST NOT reuse it beyond a freshness bound. The RECOMMENDED default bound is 300 seconds. A deployment MAY configure a shorter bound, including zero (no negative caching). It SHOULD NOT configure a longer one without documenting the exposure, which is the time a newly published revocation can stay unseen. - MUST NOT cache an
unknownoutcome asnot-revoked. It MAY cache it asunknown.
A verification that relies on a cached not-revoked (complete) outcome SHOULD report the time that outcome was observed in the key_revocation stage.
(NORMATIVE) Assembling the lineage. A consumer folding a revocation lineage MUST obtain it by walking the full lineage — GET /lineages/{lineage_id} (RFC-ACDP-0004 §5) — and MUST NOT use GET /lineages/{lineage_id}/current for this purpose. /current answers "what is the head now", which is the wrong question: RFC-ACDP-0013 §8.3 makes a retracted version never the head, and a lineage whose members are all superseded or retracted returns 404 there. A /current-based fold therefore silently loses the boundary in exactly the cases that matter most. The fold is computable because the lineage endpoint returns every version, ordered by version ascending, each with its own registry_state (RFC-ACDP-0004 §5.1) — superseded members included — and because a registry advertising acdp-registry-lifecycle includes retracted versions there as well (RFC-ACDP-0013 §8.1). Against a registry advertising no lifecycle profile the retracted case cannot arise: RFC-ACDP-0013 §6 forbids such a registry from emitting the retracted status at all.
(NORMATIVE) Supersession does not disarm a revocation. A verified revocation remains effective even when superseded. A superseding context that is not itself a revocation of the same signer class (§2) — for this comparison, "a revocation" means key-revocation or the §10 interim acdp:key-revocation, which §10 already requires 0.3.0 consumers to treat as fully equivalent when it satisfies §4–§5, and which §4's (0.5.0) predecessor-keyed rule above uses the identical definition for the parallel registry-side check — so a consumer does not mistake an interim-typed successor for a disarming non-revocation and fall back to a stale boundary — MUST be disregarded for revocation-effectiveness: the consumer continues to apply the superseded revocation's boundary, folded per the earliest-T rule above across every revocation the lineage actually contains, interim-typed members included. This is an erratum, not new material. The rule itself was already implied by §4's permanence paragraph above ("a supersession can therefore never quietly shrink a compromise window") — disarming a revocation entirely is the zero-limit case of shrinking its window to nothing, so a consumer that read the original §7 fold rule as tolerating a non-revocation supersession disarming a prior revocation was never actually conformant with §4, even though no sentence named this case by name until now. The interim-typed-successor case specifically (the parenthetical above) rests on a second, separate pre-existing rule: §10 already requires 0.3.0 consumers to treat acdp:key-revocation as equivalent to key-revocation when it satisfies §4–§5, before this sentence spelled out its role in the disarm computation explicitly. Without this, an attacker holding the producer's current key could neutralize a revocation by superseding it with any unrelated context type — RFC-ACDP-0003 §3.1 constrains supersession by agent_id, version and lineage, but not by type, so such a publish is accepted by every registry below acdp_version 0.5.0; (0.5.0) a registry advertising acdp_version ≥ 0.5.0 additionally rejects it at the source under §4's predecessor-keyed rule above — though a consumer MUST NOT rely on that registry-side rejection, since this clause exists precisely for the registries that don't adopt it. This clause is deliberately placed on the consumer: it binds the moment a consumer upgrades and needs no registry cooperation, whereas any registry-side companion rule (§4 above) reaches only the registries that adopt it. A consumer MUST NOT assume a registry filtered such a supersession out.
(NORMATIVE) Retraction does not un-revoke. A retracted revocation context (RFC-ACDP-0013 §6) remains a verified revocation and its boundary remains effective. Retraction is a reliance signal on the record, not an erasure — §4 is explicit that there is no un-revoking a key — and RFC-ACDP-0013 §8.1 keeps the body retrievable and byte-identical forever. A consumer MUST NOT drop a revocation from its cache, or exclude it from the earliest-T fold, because the context carrying it was retracted. A producer who published a mistaken revocation supersedes it with a corrected one (§4); a supersession that moves T later annotates the record but changes no consumer's verdict, because the earliest T across the lineage still governs. Verification reports SHOULD carry the revocation check as its own stage (suggested stage identifier: key_revocation, extending the RFC-ACDP-0001 §5.11 stage vocabulary) with the trust class (producer-signed / registry-attested) recorded.
(0.5.0) Attribution (NORMATIVE). When a verified revocation changes a verification verdict (steps 2–4), the key_revocation stage MUST be reported, and MUST carry, for the revocation that fixes the effective boundary: its ctx_id; its signer (body.agent_id); its trust class; revoked_key_controller where present; and the effective boundary T. The stage MUST distinguish pre-compromise (step 2), revoked (step 3) and unplaceable (step 4). Where several revocations share the earliest T, reporting any one of them satisfies this rule.
(0.5.0) Precedence across lookups (NORMATIVE). When a verification consults more than one discovery (several vantages, trust classes or signer keys), the combined key_revocation result is the highest of: refusal (revoked or unplaceable) > unknown (§8) > pre-compromise > not-revoked. A verified revocation that refuses the context does so even when another lookup was unknown. An unknown lookup is never outweighed by a pre-compromise or not-revoked result from another one, because the unanswered lookup could hold a revocation with an earlier T.
(0.5.0) No new error code. A revocation-driven refusal stays a verification verdict carried by the key_revocation stage (§10 "No new wire error code"), not a wire condition. An SDK that also surfaces the refusal as an error SHOULD reuse key_not_authorized (RFC-ACDP-0007 §5) and MUST NOT mint a new code. The attribution above lives in the report.
8. Discovery (NORMATIVE, and honest)
- Consumers SHOULD check for revocations before relying on a context from a rotated or unfamiliar key — and at minimum whenever verification encounters a key outside
assertionMethod— via ordinary search (RFC-ACDP-0005):GET /contexts/search?type=key-revocation&agent_id=<producer-did>on the registries serving that producer's contexts (for registry-attested revocations, additionallytype=key-revocationwith the registry's ownagent_id, matchingmetadata.revoked_key_controllerclient-side). Revocation contexts arepublic(§4), so they are visible to any requester the registry serves at all. (0.5.0) That set excludes anonymous requesters when the registry advertisesanonymous_public_reads: false(RFC-ACDP-0005 §2.5.5). A discovery search answered withnot_authorized, or withnot_implementedby a registry not advertisingacdp-registry-discovery, is unanswerable at that vantage, and its outcome isunknown, nevernot-revoked. A consumer that needs answerable discovery against such a registry authenticates its reads (RFC-ACDP-0008 §6.2,registries/auth-methods.md), or obtains revocations out of band (third bullet below). It can also fall back to the lineage endpoint for revocations it already knows the lineage of; that fallback does not discover new revocations. - The honest caveat: search is served by the registry, and a malicious registry can hide a revocation exactly as it can hide any context — absence of search results is not evidence of absence (RFC-ACDP-0010 §13: a receipt proves what was published, not what wasn't). A registry colluding with a key thief can simultaneously serve the stolen key's contexts and suppress the revocation. Within the protocol, the mitigation is the append-only transparency log (RFC-ACDP-0012, promoting the RFC-ACDP-0009 §2.11 reservation) — a suppressed-yet-logged revocation becomes auditor-detectable; where the serving registry does not advertise the
acdp-registry-transparency-logprofile, consumers SHOULD query more than one vantage (the producer's other registries, a federated resolver) where the stakes warrant it. - Consumers MAY accept revocations out of band — handed over by the producer directly, mirrored in an external log, or embedded in deployment configuration. A revocation context is self-contained (signed, content-addressed); it verifies identically wherever it came from, and out-of-band delivery is precisely the channel a registry cannot suppress.
- Producers SHOULD publish the revocation on every registry where contexts signed by the revoked key live, SHOULD retract (RFC-ACDP-0013) contexts known to be attacker-published in the compromise window, and SHOULD reference the revocation context from those retractions'
reason.
(0.5.0) Discovery outcome (NORMATIVE). A consumer performing revocation discovery for a producer P (and, where applicable, a registry controller R) at a vantage V MUST arrive at exactly one of the following outcomes and MUST NOT collapse them:
revoked: at least one candidate verified per §5 (or §6) names the fingerprint in question. §7 applies.not-revoked (complete): discovery at V completed (not truncated, below), was answerable (first bullet above), and every candidate returned was classified as one of the following:- verified per §5/§6 but naming a different fingerprint;
- permanently invalid, meaning a failed
content_hash, an invalid signature, a §4 shape violation, a self-signature (§5 step 2), or a signing key absent from the signer'sverificationMethodafter a fresh DID-document fetch (RFC-ACDP-0001 §5.11 "Caching").
unknown: any other case.
A consumer MUST NOT record, cache, or report not-revoked for an unknown outcome. What a consumer does with unknown (fail closed, or proceed and report) is deployment policy, but the outcome itself MUST be reported distinguishably: the key_revocation stage carries unknown as its own value with a reason — truncated, unanswerable, transient or unverifiable_candidate — and never folds it into not-revoked.
(0.5.0) The §5 step 1 historical arm applies to discovery. A candidate whose signing key is present in the signer's verificationMethod but absent from assertionMethod MUST NOT be classified as permanently invalid until the consumer has attempted the RFC-ACDP-0010 §10 receipt-attested historical rule on it. The consumer retrieves the candidate with its registry_receipt and verifies that receipt per RFC-ACDP-0010 §8. If the historical rule succeeds, the candidate is a verified revocation. If no receipt is served, or the receipt fails, the candidate is unverified and the outcome is unknown, not not-revoked. A revocation whose signer has rotated out has lost provability, not validity.
(0.5.0) Lineage-walk members without a receipt. RFC-ACDP-0004 §5.1 lineage responses carry body + registry_state per member and are not required to carry registry_receipt. When a candidate reached through a lineage walk needs the historical arm and its lineage entry has no receipt, the consumer SHOULD re-retrieve that member by ctx_id on the full-retrieval endpoint (RFC-ACDP-0004 §2.1; the body-only endpoint is receipt-free) and use the receipt served there. The re-retrieved body's ctx_id and content_hash MUST equal those of the walked member; a mismatch makes the candidate unverifiable, so the outcome is unknown. Each re-retrieval counts against the consumer's discovery request budget, and a re-retrieval the budget refuses also gives unknown (truncation, below).
(0.5.0) Transient candidate failures. A candidate whose verification fails for a reason RFC-ACDP-0001 §5.11 step 3 classifies as transient (key_resolution_unreachable, including any non-2xx DID-document response), or whose retrieval fails transiently (rate_limited, registry_internal, transport error), makes the outcome unknown.
(0.5.0) Truncation. A truncated discovery (RFC-ACDP-0005 §2.3 "Consumer-side completeness") has outcome unknown. The same applies to a lineage walk bounded by a client cap before the full lineage was obtained (§7 "Assembling the lineage").
9. DID-Document Interaction (NORMATIVE)
- Revocation does NOT require removing the revoked key from
verificationMethod— and producers SHOULD NOT remove it. Historical verification of the pre-T record needs the key material resolvable (RFC-ACDP-0010 §9/§10); the revocation plus receipts is what makes retaining it safe: everything at/after T fails closed anyway (§7). Removal fromverificationMethodremains the total-kill signal and now carries an explicit meaning: no signature by this key is trustworthy, at any time — appropriate when the compromise window cannot be bounded at all. - Rotation is not revocation. Removing a key from
assertionMethod(clean rotation) makes no compromise claim, triggers none of §7, and leaves history in the RFC-ACDP-0010 §10 regime. Consumers MUST NOT infer compromise from rotation. - The revoked key's
assertionMethodmembership becomes irrelevant to §7 — the boundary rule supersedes it for that fingerprint. Producers SHOULD nonetheless remove the revoked key fromassertionMethodpromptly (belt and braces: pre-0.3.0 registries keep rejecting new publishes under it).
10. Capabilities, Profile, Errors, and Compatibility
- No new profile — deliberately. A profile advertises a server capability surface; a revocation is carried entirely by surfaces that already exist: publish (
acdp-registry-core), search (acdp-registry-discovery), receipts (acdp-registry-receipts) for the §7 time anchor. There is no endpoint to advertise, no degraded mode to forbid, and a registry cannot meaningfully "not support" a context type. The obligations land where the behavior lives instead: the §4 shape validation binds toacdp_version≥0.3.0, its (0.5.0) predecessor-keyed supersession check binds toacdp_version≥0.5.0, and the §7 consumer semantics bind to theacdp-consumerprofile at 0.3.0 (fixturesrev-001/rev-002; a 0.1.0/0.2.0-pinned consumer is unaffected). Contrast RFC-ACDP-0013, whose endpoints and status derivation are a genuine optional server surface and getacdp-registry-lifecycle. - No new wire error code. Publish-side rejections reuse
schema_violation(§4 shape; also §10's (0.5.0) interim-form retirement),key_not_authorized(§5 step 2), and — (0.5.0) —superseded_target(§4's predecessor-keyed rule, carrying a newdetails.reasontoken,revocation_type_mismatch, in the existing reason-code table rather than a new entry in the wireerror.codeenum). Consumer-side, a §7 fail-closed is a verification verdict, not a wire condition — SDKs surface it via thekey_revocationstage/status (§7), not an error envelope. - Schema.
acdp-common.schema.json#/$defs/context_typegainskey-revocationin the standard enum (additive,v0.1.0namespace per VERSIONING.md). No other schema changes: the metadata constraints of §4 are type-conditional semantics (like DataRef invariants), normative in prose and pinned by fixture. - Interim form on pre-0.3.0 registries. A pre-0.3.0 registry's
context_typevocabulary rejects the barekey-revocation(standard values are a closed enum in v0.1.0 schemas). Producers needing to signal on such registries SHOULD publish the identical §4 metadata under the custom typeacdp:key-revocation(valid under the v0.1.0 namespaced-type pattern); 0.3.0 consumers MUST treatacdp:key-revocationas equivalent tokey-revocationwhen it satisfies §4–§5. New publications on 0.3.0 registries MUST use the standard form. (0.5.0) Retiring the interim form for new publications. A registry advertisingacdp_version≥0.5.0MUST reject a new publication whosetypeis the interimacdp:key-revocationwithschema_violation, unconditionally — regardless of whether the publish also carries asupersedestarget and regardless of that target's type (see the predecessor-keyed rule's precedence note above) — the standardkey-revocationtype has been available since 0.3.0, and a registry this current has no need to accept the workaround on a fresh publish. This binds publish time only: a body already published under the interim form remains retrievable, valid, and consumer-honoured forever (bodies are immutable, §4), and a ≥0.5.0 registry continues serving it unchanged across direct retrieval, search, and lineage walks — no rejection of new interim-form publications reaches an already-published one (rev-004). Registries advertisingacdp_versionin[0.3.0, 0.5.0)neither reject nor §4-validate the interim form: the sentence two above is a producer SHOULD, not a registry MUST, and this RFC deliberately does not extend §4 shape validation to a custom type — custom-typed metadata is architecturally opaque to registries (RFC-ACDP-0002 §5). A producer publishing across a mixed-version fleet during migration SHOULD send the standard form to every registry advertisingacdp_version≥0.3.0and reserve the interim form for registries that do not, consistent with §8's "publish on every registry where affected contexts live." - Compatibility. Nothing changes for existing bodies, signatures, hashes, or receipts. Pre-0.3.0 consumers ignore revocation contexts (they are ordinary contexts of an unknown type) and keep v0.1.0/0.2.0 verification behavior — the same honest upgrade posture as RFC-ACDP-0013 §9: the protection binds when the consumer upgrades.
11. Scope and Limitations (honest scope)
- T is the producer's claim. Nothing proves the compromise actually began at
compromised_since; a producer can (deliberately or through poor forensics) choose T to disown inconvenient signatures made while the key was still theirs. The receipt-attested publish time is cryptographic; the boundary it is compared against is testimony. Disputes about T are a governance matter, outside the protocol. - A revocation reaches only consumers who look (§8). No push, no propagation guarantee, no revocation-freshness proof. The window between compromise and consumer awareness is bounded by consumer polling policy, not by this RFC.
- The lost-everything fallback imports registry trust (§6) — stated plainly rather than hidden: where the producer has no key left, someone must vouch out of band, and ACDP names the registry as that someone with a distinct, weaker trust class.
- Fail-closed has a cost. §7 step 4 renders receipt-less post-rotation contexts signed by a revoked key unverifiable even if honestly published pre-compromise. This is the correct default (the alternative accepts attacker-mintable artifacts) but it makes receipts (RFC-ACDP-0010) the effective prerequisite for compromise-surviving history — an explicit design pressure, not an accident.
12. Conformance Fixtures
| ID | What it pins | Runner |
|---|---|---|
rev-001-revocation-context-golden | Full golden vector: a producer-signed key-revocation body (revoking the sig-001 key K1, fingerprint from rot-001/fp-001) signed by the current key K2 (the sig-003 test seed, matching rot-001's K2) — canonical form, content_hash, Ed25519 signature, §5 constraints (signer ≠ revoked fingerprint, public visibility, §4 metadata shape). | Executed arithmetically |
rev-002-before-after-boundary | §7 boundary semantics against the rot-001 scenario set: receipt-attested created_at before T → historically authorized (pre-compromise, receipt-attested); at/after T → fail closed despite valid receipt; no receipt → fail closed under strict; classification of producer-signed vs registry-attested trust classes. Scenarios E-G extend the same fixture to the §7 lineage fold: earliest compromised_since across a revocation lineage effective (E), retracted revocation still counted (F), non-revocation supersession does not disarm (G). Scenario H extends the same fold to a widening successor published under the §10 interim acdp:key-revocation form — it IS a revocation, so it MUST count in the fold rather than be mistaken for G's disarming non-revocation; unconditional at 0.3.0 like A-G, since §10 already requires 0.3.0 consumers to treat the interim form as fully equivalent. | Behavioral |
rev-003-revocation-publish-rejects | The publish-time rejection matrix for the §4/§5 obligations above: §4 shape violations (non-public visibility, absent/malformed revoked_key_fingerprint, absent/non-canonical compromised_since, reason over 1024 characters, and the revoked_key_controller binding in both directions) → schema_violation (400); self-signed by the revoked key → key_not_authorized (403), over did:web and — where the registry advertises the method — did:key. Four positive controls (producer-signed with the controller absent and with it present-and-equal; §6 registry-attested; a reason of exactly 1024 characters) pin the accept side. Adds no obligation: every outcome it asserts is already required by §4 (the metadata table plus the MUST-reject paragraph immediately following it) and §5 step 2 — rev-001 states only some of them, as free text on a happy-path vector. (0.5.0) Scenarios O–R extend the matrix to the §4/§10 registry-side amendments above, REQUIRED only for registries advertising acdp_version ≥ 0.5.0: a non-revocation superseding a key-revocation target, and one superseding the §10 interim acdp:key-revocation target, → superseded_target / revocation_type_mismatch (O, P); a new publish under the interim type → schema_violation (Q); a key-revocation properly superseding a key-revocation target, pinning that the new rule does not over-reject legitimate same-type supersession → success (R, positive control). | Behavioral |
rev-004-interim-form-retrieval-unaffected | (0.5.0) The retrieval-time half of §10's interim-form retirement, REQUIRED only for registries advertising acdp_version ≥ 0.5.0: a body already published under the §10 interim acdp:key-revocation form MUST continue to be served unfiltered and byte-identical across direct GET (A) and lineage-walk (C) retrieval, unconditionally, and via search (B) where the registry additionally advertises acdp-registry-discovery (a core-only registry MAY answer search with not_implemented, which trivially satisfies B) — rev-003 Q's rejection of a new publish under that form creates no retroactive retrieval-time obligation. | Behavioral |
rev-005-discovery-outcome-classes | (0.5.0) The §8 discovery outcome classes and the §7 caching rules (scenarios A–K): a rotated signer with a served receipt counts (historical arm); without one the outcome is unknown (unverifiable_candidate), never not-revoked; DID-host 404/503 → unknown (transient); a signer key newer than the cached DID document is found by the RFC-ACDP-0001 §5.11 forced re-fetch; a key absent after a fresh fetch is permanently invalid; cursor truncation → unknown (truncated); 403/501 search → unknown (unanswerable); negative-cache freshness bound, anti-rollback and vantage scope. REQUIRED for 0.5.0 acdp-consumer. | Behavioral |
rev-006-producer-scope | (0.5.0) §7 producer scope: a §5-valid revocation by another DID naming the producer's key, held out of band, changes no verdict; the same statement by the producer does. REQUIRED for 0.5.0 acdp-consumer. | Behavioral |
rev-007-classification-known-answers | (0.5.0) §7 classification known answers: 20 executed vectors (receipt rule, fold, scope, precedence); the stable anchors are in registries/rule-anchors.md |
(0.5.0) rev-002 additionally carries scenarios I–K (§7 attribution, the distinguishable unplaceable outcome, and cross-lookup precedence), each marked conditional: "0.5.0 consumers"; A–H keep their 0.3.0 status. rcpt-005 (RFC-ACDP-0010) pins the receipt-key status this RFC's §7 step 1 consumes.
13. Security Considerations
- Revocation as a weapon. A forged or coerced revocation is a targeted DoS on a producer's post-T history. Defenses: §5's current-key + not-self-signed rules (an attacker holding only the compromised key cannot mint a producer-signed revocation of anything), §6's explicit weaker classification for registry-attested claims, and the earliest-T monotonicity of §4 (an attacker who does obtain a current key can widen but never quietly shrink a window — and widening is loud: it is a signed public context).
- Cross-producer revocation. §5 constrains the signer's relationship to its own DID, not to the revoked fingerprint, and §5 step 3 / §9 forbid consumers from requiring the revoked key to be resolvable. Any DID holder may therefore publish a §5-valid revocation naming another producer's fingerprint. Because §7's trigger is fingerprint-keyed and not producer-scoped, a consumer holding a cross-producer revocation cache will act on it. The defenses above do not apply to this case: the attacker signs with a key they legitimately control. Mitigations are consumer-local and operational — the §7 attribution rule (0.5.0) (every acted-upon revocation's signer is reported), an operator override, and (systemically) the RFC-ACDP-0012 transparency log making the statement publicly attributable. Consumers SHOULD NOT attempt to validate controller standing from the signer's DID document: listing a key there requires no proof of possession. (0.5.0) The §7 producer-scope rule closes this case for conformant 0.5.0 consumers: a revocation signed by another DID never changes a context's verdict. The residual exposure is a producer whose key material is shared under more than one DID; such a producer must revoke under each DID.
- Front-running. An attacker holding the producer's only key may revoke the producer's new key the moment it appears. This is the lost-everything case (§6) in another costume; the resolution is out-of-band identity, not more signatures. Producers with a provisioned second key (§5) never enter this race.
- Registry collusion suppresses discovery (§8) and can backdate receipts at mint time (RFC-ACDP-0010 §13), which under §7 could smuggle an attacker context under the boundary. The backdating risk existed before this RFC (it defeats §10 historical verification generally); the transparency log (RFC-ACDP-0012, promoting the RFC-ACDP-0009 §2.11 reservation) is the systemic answer, and consumers SHOULD persist receipts and revocations as comparison evidence meanwhile.
- Clock discipline. T and receipt
created_atare compared directly; both are canonical millisecond UTC (RFC-ACDP-0001 §5.3). Producers choosing T SHOULD subtract their full forensic uncertainty plus clock-skew margin. - Revocation contexts are
publicand search-indexed: the RFC-ACDP-0005 injection and the RFC-ACDP-0007 §6 output-hygiene rules apply tometadata.reasonas to any indexed producer text.
14. References
- RFC-ACDP-0001 Core — §5.3 (time), §5.11 (key resolution, retention, total-kill removal, stage vocabulary), Appendix B (two-tier identity).
- RFC-ACDP-0002 Context Body — body shape, metadata limits, context types (§5).
- RFC-ACDP-0003 Publish
- RFC-ACDP-0005 Discovery — the §8 search surface.
- RFC-ACDP-0008 Security — §5 (the acknowledged gap this RFC closes), §7.3, §9.3.
- RFC-ACDP-0009 Extensions — §2.11 (transparency log: the discovery-suppression mitigation).
- RFC-ACDP-0010 Registry Receipts — §6 (fingerprint encoding), §8 (receipt verification), §10 (historical verification this RFC time-scopes).
- RFC-ACDP-0013 Lifecycle Events & Retraction — retraction of attacker-window contexts.
- Fixtures:
rot-001-historical-key-receipt.json(the scenario set §7 completes),fp-001-key-fingerprint-vectors.json. - [RFC 8032] Josefsson, S. and I. Liusvaara, "Edwards-Curve Digital Signature Algorithm (EdDSA)", RFC 8032, January 2017.
- [RFC 8785] Rundgren, A., Jordan, B., and S. Erdtman, "JSON Canonicalization Scheme (JCS)", RFC 8785, June 2020.