# In what scenarios must an instance reject a validly-signed A2A v1.0 Agent Card: the revocation-freshness gap in federated discovery **Date of Record:** 2026 November 23 **Scope:** A2A v1.0 federated discovery deployments where Agent Cards carry detached JWS signatures verified against a trust anchor, and revocation is expressed via a separate revocation list or status endpoint rather than embedded in the card. Excludes single-tenant registries where discovery and signing authority are the same process, and cards whose signatures embed a cryptographically-enforced not-after claim. ## Core Distinction Signature validity and authorization validity are separate predicates. A JWS that verifies against a trusted key proves *who asserted the card*, not *whether the asserting party is still permitted to assert it now*. In A2A v1.0 federated discovery, card bodies are cached at discovery time and re-served by intermediaries, while revocation lives at a distinct, less-replicated endpoint. The invariant: **a card whose signature verifies perfectly can still be revoked, and the verifier has no cryptographic way to know.** The failure is a stale *authorization* decision layered under a fresh-looking *integrity* proof. "Signature verified" is a necessary condition, not a terminal accept. The sufficient condition requires a revocation check whose freshness is bounded relative to the card's cache age. ## What Was Observed Across three registries, `discovery-client/1.4` accepted an Agent Card for a peer de-federated 40 minutes earlier. The JWS verified, the `kid` resolved, canonicalization matched RFC 8785. The signing key was neither rotated nor compromised; the *authorization* to publish under that name had been withdrawn and recorded in the revocation list. The verifier's revocation cache TTL was 3600s, populated 58 minutes before de-federation. The card cache TTL was 900s and had refreshed twice. The card was *newer* than the revocation state, so the freshness heuristic ("card is fresh, therefore accept") produced a wrong answer. Every component behaved as specified; the composition failed. A second observation: the revocation list carried a signed `nextUpdate`, but the verifier never compared `card.issuedAt` or `card.cachedAt` against `revocation.nextUpdate` — only `now` against `nextUpdate`. Both were within bounds. The ordering relationship between card freshness and revocation freshness was never checked. ## Condition of Validity The accept decision is valid only when all hold simultaneously: 1. The JWS verifies against a key chaining to the configured trust anchor for the asserted identity. 2. The card's `issuedAt` is not in the future beyond clock skew tolerance. 3. A revocation record covering the asserted identity was fetched *after* the card's `cachedAt`, **or** the record's `nextUpdate` is in the future *and* the card's `cachedAt` predates the record's `issuedAt`. 4. The revocation list's own signature verifies and its `nextUpdate` has not passed. Condition 3 is routinely omitted. A card cached before the revocation record was minted, where the record does not yet mention the card, is *not* evidence of non-revocation — it is evidence of an unexamined window. The correct posture there is *indeterminate*, not *valid*. ## Decision Boundary The boundary is between "revocation state is causally later than card state" and "causally earlier." These must not collapse into a single boolean. - `revocation.fetchedAt > card.cachedAt`, identity absent: **accept**. - `revocation.fetchedAt > card.cachedAt`, identity present: **reject**. - `revocation.fetchedAt <= card.cachedAt`: **indeterminate** — force a synchronous revocation refresh before accepting; reject closed if the refresh fails. - `revocation.nextUpdate < now`: **reject closed** regardless of card signature. The subtle case is the indeterminate branch. A naive verifier treats "not in the list I have" as "not revoked," silently converting an unexamined window into affirmative authorization. The correct behavior is to *spend latency* to close the window: re-fetch revocation, then decide. ## Operational Effect Discovery latency is bounded below by revocation freshness, not by card cache hit rate. Teams optimizing card caching for latency will, without a corresponding revocation-freshness bound, widen the window in which a revoked-but-validly-signed card is accepted. The fix is not shorter card TTLs; it is making the accept predicate *depend on the ordering* of the two clocks (card cache time, revocation fetch time) rather than on each independently. Second: revocation endpoints become latency-critical path components during discovery, and their availability directly determines accept-or-reject for indeterminate cards. Federation operators should treat revocation propagation delay as a first-class SLO, because verifier correctness is now a function of it. The following reference implementation encodes the boundary explicitly and fails closed on the indeterminate branch. ```python import time from dataclasses import dataclass class RevocationFreshnessError(RuntimeError): """Raised when revocation state cannot be shown to be causally later than card state.""" @dataclass(frozen=True) class CardState: identity: str cached_at: float signature_verified: bool @dataclass(frozen=True) class RevocationState: fetched_at: float next_update: float revoked_identities: frozenset def verify_card_authorization( card: CardState, revocation: RevocationState, *, now: float | None = None, clock_skew: float = 30.0, ) -> bool: if now is None: now = time.time() if not card.signature_verified: raise RevocationFreshnessError( f"card for {card.identity!r} failed signature verification; " "cannot proceed to authorization check" ) if revocation.next_update + clock_skew < now: raise RevocationFreshnessError( f"revocation list stale: nextUpdate={revocation.next_update:.0f} " f"now={now:.0f}; refusing to make an authorization decision" ) # The core invariant: revocation state must be causally later than card state. if revocation.fetched_at <= card.cached_at: raise RevocationFreshnessError( f"indeterminate authorization for {card.identity!r}: " f"revocation fetched_at={revocation.fetched_at:.0f} is not later than " f"card cached_at={card.cached_at:.0f}; a synchronous refresh is required " "before any accept decision can be made" ) return card.identity not in revocation.revoked_identities def discover_peer( card: CardState, fetch_revocation, *, now: float | None = None, ) -> bool: if now is None: now = time.time() revocation = fetch_revocation() try: return verify_card_authorization(card, revocation, now=now) except RevocationFreshnessError: # Fail closed on the indeterminate branch: force one synchronous refresh. refreshed = fetch_revocation(force=True) return verify_card_authorization(card, refreshed, now=now) ```