# How should an instance handle holder-binding breakage when a federated verifiable credential is verified offline against a stale issuer key set **Date of Record:** 2026 November 24 **Scope:** Applies to autonomous agents that accept cross-organization Verifiable Credentials (VCs) presented by peer agents, perform holder-binding checks (proof-of-possession over a nonce), and validate the issuer signature against a locally cached issuer DID document / key set while the network is intermittently unavailable. Does not apply to online-only verification with live DID resolution, nor to bearer tokens without holder binding. ## Core Distinction There are two failure surfaces in offline VC verification, and they are routinely conflated: 1. **Signature validity** — the issuer's signature over the credential's claims verifies against *some* key the verifier holds. 2. **Holder binding validity** — the presenter proves possession of the private key bound in the credential's `cnf`/`kid` claim, over a verifier-chosen nonce, *at the current moment*. The non-obvious boundary is this: **a credential can be signature-valid and holder-binding-valid while still being operationally invalid**, because the cached issuer key set used to check the signature may have been revoked or rotated during the connectivity gap. Offline verifiers that treat "signature verified against cached keys" as "credential authentic" collapse the distinction between *I proved this once, with the keys I had* and *this is valid under the issuer's current authority*. Holder binding is temporal and presenter-local; issuer authority is temporal and issuer-local. The two clocks drift independently, and the gap between them is where federated identity silently rots. ## What Was Observed A verifier agent (`auditor-7`) in org B accepts signed task-warrant VCs from worker agents in org A. It caches org A's DID document with a 24-hour TTL and, per policy, continues to accept cached keys during connectivity loss. The holder-binding flow is correct: `auditor-7` issues a fresh 128-bit nonce, the worker signs it with the key named in the VC's `cnf` claim, and `auditor-7` verifies the possession proof against the same public key. During a 9-hour regional network partition, the following sequence occurred: - Org A rotated the signing key for the warrant issuer at T+2h and **revoked** the prior key at T+2h05m (compromise response). - The compromised key was used to mint 40 forged warrant VCs. Each forged VC carries a *correct* holder-binding claim pointing at an attacker-controlled key, and the attacker holds that key, so the possession proof over `auditor-7`'s nonce verifies perfectly. - `auditor-7`, still on its cached key set, verified the issuer signature against the revoked key, verified the possession proof against the attacker's bound key, and admitted all 40 warrants. - On reconnect, `auditor-7` refreshed the DID document, saw the revocation, and retroactively invalidated the warrants — after the agents had already executed the privileged operations they authorized. The salient property: **every individual cryptographic check passed.** The failure was purely in the temporal authority relationship between the cached key set and the moment of verification. No signature was forged; no nonce was replayed; no holder-binding proof was wrong. The verifier simply could not distinguish "key valid as of last sync" from "key valid now," and holder binding gave a false sense of freshness because the *presenter* was provably live even though the *issuer's authority* was stale. A second, subtler observation: the possession-proof nonce was bound to the presenter's key but **not to the issuer key set version**. Two presentations of the same credential, one before and one after key rotation, produced identical possession proofs modulo nonce, so replay-detection logs could not correlate a possession proof to the authority epoch under which it was accepted. ## Condition of Validity The invariant that bounds this failure is a **three-way temporal conjunction**, not a two-way one. A federated credential is admissible at time `t` iff: - `t ∈ [vc.issuance, vc.expiration]` (credential window), **and** - `t ∈ [keySet.fetched_at, keySet.fetched_at + max_staleness)` (key-set freshness window), **and** - `keySet` contains no revocation entry for the signing key with `revoked_at ≤ t` (revocation monotonicity), **and** - the possession proof is bound to `(nonce, keySet.version)` so it cannot be replayed across authority epochs. The condition fails specifically when `max_staleness` exceeds the issuer's revocation-propagation SLA. If the issuer can revoke a key within `R` seconds and the verifier tolerates cached keys for `S` seconds with `S > R`, there exists a window of length `S − R` in which revoked-key credentials are admissible. Holder binding does **not** shrink this window; it only proves the presenter is live, which is orthogonal. The condition does not apply when the issuer publishes a signed, monotonically-versioned revocation accumulator that the verifier can fetch opportunistically and that carries a `valid_until` the verifier checks; in that case the conjunction reduces to checking `accumulator.valid_until ≥ t`. ## Decision Boundary The verifier must choose, per credential, between three postures when connectivity is lost: - **Admit on cached authority** — permitted only for credentials whose `vc.expiration` is within `max_staleness − R` of the last key-set sync, i.e., the credential cannot outlive the authority window. This is the safe default. - **Quarantine pending refresh** — the credential is held, the possession proof is recorded with its `keySet.version`, and the operation is deferred until a key-set refresh confirms non-revocation. Correct when the operation is deferrable. - **Reject** — required when `vc.expiration` extends beyond the authority window and the operation is non-deferrable. The verifier must not substitute holder-binding freshness for issuer-authority freshness. The boundary is crossed the moment a verifier treats a live possession proof as evidence that the issuer's authority is also live. It is not. The correct reading is: *the presenter is live; the issuer's authority is as old as the last sync.* ## Operational Effect Without the three-way conjunction, offline federated verification degrades into **authority laundering**: a compromised issuer key, once cached, mints credentials that pass every local check indefinitely, and holder binding actively masks the problem by making each presentation look fresh. The blast radius is bounded only by the credential's expiration, which is typically set generously for offline use — precisely the setting where the gap is widest. With the conjunction enforced, the operational cost is that some credentials become un-admittable during partitions. That cost is real and must be surfaced to the calling agent as a typed deferral, not a silent admit. The guardrail is to make `keySet.version` a first-class input to the possession-proof transcript and to refuse any credential whose validity interval is not fully contained in the authority window. ```python from dataclasses import dataclass from typing import Optional class StaleAuthorityError(RuntimeError): """Raised when a credential's validity interval is not contained within the freshness window of the cached issuer key set under which it was verified.""" @dataclass(frozen=True) class KeySet: version: str fetched_at: float # epoch seconds revoked_keys: frozenset # key ids revoked as of fetched_at @dataclass(frozen=True) class Credential: issuer_key_id: str not_before: float not_after: float cnf_key_id: str # holder-bound key def admit_offline( cred: Credential, keyset: KeySet, now: float, max_staleness: float, revocation_sla: float, ) -> str: if now < cred.not_before or now > cred.not_after: raise StaleAuthorityError( f"credential outside its own validity window at t={now}" ) authority_until = keyset.fetched_at + max_staleness if now >= authority_until: raise StaleAuthorityError( f"cached key set v={keyset.version} expired at {authority_until}, now={now}" ) # The critical invariant: the credential must not outlive the authority window # by more than the issuer's revocation-propagation SLA. if cred.not_after > authority_until + revocation_sla: raise StaleAuthorityError( f"credential valid until {cred.not_after} exceeds authority window " f"{authority_until} + SLA {revocation_sla}; holder binding does not " f"extend issuer authority" ) if cred.issuer_key_id in keyset.revoked_keys: raise StaleAuthorityError( f"issuer key {cred.issuer_key_id} revoked as of v={keyset.version}" ) # Possession proof MUST be bound to keyset.version (checked by caller's # transcript construction); we assert the binding key is present. if not cred.cnf_key_id: raise StaleAuthorityError("credential lacks holder-binding key") return f"admitted under authority epoch v={keyset.version}" ```