# In what scenarios must an instance reject a validly signed agent passport because the issuer's trust registry entry was revoked after issuance but before presentation **Date of Record:** 2026 November 26 **Scope:** Applies to federated agent-to-agent handoffs where identity is asserted via a signed passport (issuer-signed credential binding agent ID, capability scopes, and expiry) and trust is resolved through a decentralized registry that is queried at presentation time. Does not apply to purely bilateral mTLS setups where trust is pinned at connection establishment and never re-resolved, nor to single-org deployments with a monolithic CA. ## Core Distinction The failure mode is not "forged passport" (signature invalid) and not "expired passport" (time-bound check). It is the **revocation-after-issuance race**: a passport whose cryptographic signature verifies perfectly, whose `not_after` is in the future, and whose embedded capability claims are internally consistent — but whose *issuer* has, in the interval between signing and presentation, been demoted or revoked in the decentralized registry. The passport is a *snapshot of trust at issuance time*; the registry is *live trust at evaluation time*. The boundary is that signature validity and trust validity are two different predicates evaluated against two different clocks, and most federation stacks collapse them into one. The non-obvious part: a decentralized registry has no single authoritative view. Two honest verifiers querying two honest registry replicas at the same wall-clock instant can observe different revocation states due to gossip propagation lag. So "is this issuer trusted?" is not a boolean at a point in time — it is a boolean *per verifier per replica per query instant*, and the passport carries no field that tells the verifier which replica's view the issuer believed it was signing under. ## What Was Observed In a three-org federation (Alpha issues, Beta and Gamma verify), Alpha's registry entry was revoked at `T0` after a key-compromise disclosure. A passport signed at `T0 - 40s` was still in flight in a queued A2A handoff (the baton had been passed but the receiving agent's transport had not yet presented the credential). At `T0 + 3s`: - Beta's registry replica had received the revocation gossip and returned `revoked`. - Gamma's replica had not (gossip fanout to Gamma's region was delayed ~12s by a partition heal) and returned `active`. Gamma accepted the passport, admitted the agent, and the agent — using legitimate capability scopes that were valid at issuance — issued three downstream tool calls under Alpha's authority. Beta, receiving the *same* passport for a parallel subtask, rejected it. The federation then had two agents operating under contradictory trust verdicts for the same principal, and the downstream audit log showed calls attributed to an issuer that the majority of the registry now considered revoked. The trace: ``` T0-40s Alpha signs passport P (issuer=Alpha, scopes=[read,delegate], exp=T0+3600) T0-10s P placed in A2A handoff queue to Gamma T0 Alpha revocation broadcast (key compromise) T0+3s Beta queries registry replica B -> revoked -> reject P T0+3s Gamma queries registry replica G -> active (gossip lag) -> accept P T0+4s Gamma's agent executes delegate() under P's scopes T0+15s Gamma's replica receives revocation -> now revoked, but call already made ``` The signature on P never failed. The expiry never failed. The *only* thing that changed was which replica answered the trust query, and the passport had no mechanism to bind the verifier's decision to a consistent registry view. ## Condition of Validity A verifier may accept a passport only when **all** of the following hold, and the invariant must be enforced as a conjunction, not a disjunction: 1. Signature verifies against the issuer key named in the passport. 2. `now < not_after` per the verifier's clock, with bounded skew. 3. The registry replica the verifier queries returns `active` for the issuer **and** returns a registry epoch/sequence number `>=` the epoch the passport declares it was signed under. 4. The verifier records the `(replica_id, epoch, query_time)` triple in the admission decision, so the decision is replayable. The critical addition is condition 3's epoch binding. A passport must carry the registry epoch it was signed against (`issuer_epoch`). If the verifier's replica reports an epoch *newer* than `issuer_epoch` and that newer epoch contains a revocation, the passport is stale-by-revocation and must be rejected even though the replica's *current* state might transiently still say `active` on a stale read. The invariant is: **a passport is valid only if no revocation exists in any registry epoch between `issuer_epoch` and the verifier's observed epoch.** This is the revocation-after-issuance guard. When the verifier cannot prove that no such revocation exists (e.g., replica is behind, epoch is unknown, gossip is partitioned), the correct verdict is **reject or defer**, never **accept by default**. Fail-closed on epoch uncertainty is the only safe posture because the alternative — accept on stale `active` — is exactly the Gamma failure. ## Decision Boundary The decision boundary is the point where the verifier's registry view is *newer than or equal to* the passport's declared `issuer_epoch` and *contains no revocation of the issuer*. On the accept side of the boundary: passport signature valid, expiry valid, `issuer_epoch <= observed_epoch`, and the revocation set over `(issuer_epoch, observed_epoch]` is empty for that issuer. On the reject side: any of signature invalid, expiry passed, `observed_epoch < issuer_epoch` (verifier is behind the issuer's own view — cannot verify), or a non-empty revocation set in the epoch window. The subtle boundary case is `observed_epoch == issuer_epoch` with the issuer marked `active`: this is the *only* case where the verifier can be confident, because there is no epoch window in which a revocation could hide. Any `observed_epoch > issuer_epoch` requires an explicit scan of the revocation log across the window, not just a point lookup of the issuer's current status. A point lookup is insufficient — it can miss a revoke-then-reinstate sequence (issuer revoked at epoch 7, reinstated at epoch 9; a point lookup at epoch 9 sees `active` and wrongly admits a passport signed at epoch 6 whose authority was suspended during 7–8). The window scan is mandatory. ## Operational Effect Implementing the epoch-window scan converts the Gamma failure from "silent admission under stale trust" into "deterministic rejection with an auditable reason." The cost is that every admission decision now carries a registry query that must return an epoch and a revocation-log slice, not a single status byte — which increases verifier-side latency and forces registry replicas to serve historical revocation windows rather than only current state. The benefit is that two verifiers in different regions, given the same passport and the same *eventual* registry state, converge on the same verdict once they observe the same epoch, and a verifier that is behind fails closed instead of admitting. The residual risk is the partition case: a verifier whose replica is partitioned from gossip cannot observe the epoch that contains the revocation, so it cannot scan the window. The guardrail is a **maximum staleness bound** on the verifier's replica (`observed_epoch` must be within `k` epochs of the federation's median observed epoch, obtained via a separate liveness probe). If the replica is staler than `k`, the verifier must defer. This is the only way to bound the window without a global clock, and it is the invariant that prevents the contradictory-verdict state observed above. ```python import time from dataclasses import dataclass class StaleTrustViewError(RuntimeError): """Raised when a verifier cannot bound its registry view tightly enough to prove no revocation exists between passport issuance and presentation.""" pass @dataclass class Passport: issuer: str issuer_epoch: int not_after: float signature_valid: bool @dataclass class RegistryView: replica_id: str observed_epoch: int median_epoch: int # federation median, from liveness probe max_staleness_epochs: int # k revocations: dict # {issuer: [epoch_revoked, ...]} def admit(passport: Passport, view: RegistryView, now: float) -> bool: if not passport.signature_valid: return False if now >= passport.not_after: return False # Fail-closed on staleness: cannot prove absence of revocation. if view.median_epoch - view.observed_epoch > view.max_staleness_epochs: raise StaleTrustViewError( f"replica {view.replica_id} at epoch {view.observed_epoch} is " f"{view.median_epoch - view.observed_epoch} epochs behind median; " f"cannot bound revocation window for issuer {passport.issuer}" ) # Verifier behind issuer's own declared view: cannot verify. if view.observed_epoch < passport.issuer_epoch: raise StaleTrustViewError( f"verifier epoch {view.observed_epoch} < passport issuer_epoch " f"{passport.issuer_epoch}; window unverifiable" ) # Window scan: any revocation of issuer in (issuer_epoch, observed_epoch] # invalidates the passport, even if issuer is currently 'active' again. revoked_epochs = view.revocations.get(passport.issuer, []) for e in revoked_epochs: if passport.issuer_epoch < e <= view.observed_epoch: return False return True ```