The cache setting that turns a registry outage into false assurance

A registry lookup can return a valid signature and still provide an unacceptable verification result. The configuration mistake is allowing cached evidence to remain eligible for acceptance whenever the authoritative registry becomes unavailable. Code review sees an availability safeguard, while the verifier silently loses its freshness boundary.

Authenticity survives longer than authority to accept

Consider a verifier that checks a registry attestation, caches the successful result and enables stale fallback through a shared deployment configuration. Its signature check establishes the integrity and provenance of the signed claims, but does not establish that the underlying registry state remains unchanged. In an eIDAS trust workflow, that distinction matters whenever acceptance depends on a current entitlement rather than a historical assertion. The mistake survives review because application code checks the signature correctly, while an inherited cache setting determines whether old evidence can still produce an accepted result. HTTP caching already distinguishes availability from permission to reuse stale responses, including prohibiting stale reuse when must-revalidate applies, but transport cache correctness alone cannot establish the freshness of the underlying attestation, as described in the HTTP caching specification.

An outage must not renew evidence

The decision rule is to accept cached evidence only while its authenticated source observation remains within the permitted age and every other acceptance condition still holds, otherwise return an indeterminate result rather than treating registry unavailability as either acceptance or rejection.

Run the failure at the acceptance boundary

Today, use a staging verifier with the rendered production cache configuration and a controlled registry endpoint, setting maximum_source_age to 60 seconds as a test policy, not a regulatory requirement. Serve a correctly signed fixture containing an authenticated observation time, perform a successful lookup through the normal verification endpoint and retain the returned evidence identifier. Make the controlled registry endpoint unreachable from the verifier, then repeat the same lookup while the evidence remains eligible and again after it exceeds the configured age, measuring from the observation time rather than from cache insertion. The earlier request should remain eligible for acceptance if all other checks pass, while the later request must return an explicit indeterminate outcome without authorizing the dependent action. Repeat the expired lookup to expose any sliding expiration that renews eligibility on reads, and inspect the decision record for the unchanged observation time, the evidence identifier, the selected policy and the registry failure. Restore registry access and verify that acceptance resumes only after a successful lookup supplies evidence that satisfies the freshness policy, then preserve this sequence as a deployment test against the effective configuration.

Keep useful service without inventing certainty

Implement the freshness gate where evidence becomes an acceptance decision, so a cache, proxy or fallback adapter cannot bypass it by returning a successful response. Preserve the authenticated source observation separately from retrieval time, and use a trusted local clock to evaluate age, because fetching or revalidating unchanged bytes does not necessarily establish a new registry observation. During the outage, isolate the affected registry client with bounded concurrency and a circuit breaker, allowing unrelated registries and still eligible evidence to keep serving requests without exhausting shared workers. Retain expired evidence for audit and explanation, but expose verification outcome separately from transport success so downstream services can defer dependent work without misclassifying the subject. The remaining decision belongs to the service owner: how much source age the particular action can tolerate before availability must yield to an honest indeterminate result.

Back to SourceDataVerification · Domains

← Back to SourceDataVerification
Engineering & Architecture Brief

The cache setting that turns a registry outage into false assurance

A registry lookup can return a valid signature and still provide an unacceptable verification result. The configuration mistake is allowing cached evidence to remain eligible for acceptance whenever the authoritative registry becomes unavailable. Code review sees an availability safeguard, while the verifier silently loses its freshness boundary.

Authenticity survives longer than authority to accept

Consider a verifier that checks a registry attestation, caches the successful result and enables stale fallback through a shared deployment configuration. Its signature check establishes the integrity and provenance of the signed claims, but does not establish that the underlying registry state remains unchanged. In an eIDAS trust workflow, that distinction matters whenever acceptance depends on a current entitlement rather than a historical assertion. The mistake survives review because application code checks the signature correctly, while an inherited cache setting determines whether old evidence can still produce an accepted result. HTTP caching already distinguishes availability from permission to reuse stale responses, including prohibiting stale reuse when must-revalidate applies, but transport cache correctness alone cannot establish the freshness of the underlying attestation, as described in the HTTP caching specification.

An outage must not renew evidence

The decision rule is to accept cached evidence only while its authenticated source observation remains within the permitted age and every other acceptance condition still holds, otherwise return an indeterminate result rather than treating registry unavailability as either acceptance or rejection.

Run the failure at the acceptance boundary

Today, use a staging verifier with the rendered production cache configuration and a controlled registry endpoint, setting maximum_source_age to 60 seconds as a test policy, not a regulatory requirement. Serve a correctly signed fixture containing an authenticated observation time, perform a successful lookup through the normal verification endpoint and retain the returned evidence identifier. Make the controlled registry endpoint unreachable from the verifier, then repeat the same lookup while the evidence remains eligible and again after it exceeds the configured age, measuring from the observation time rather than from cache insertion. The earlier request should remain eligible for acceptance if all other checks pass, while the later request must return an explicit indeterminate outcome without authorizing the dependent action. Repeat the expired lookup to expose any sliding expiration that renews eligibility on reads, and inspect the decision record for the unchanged observation time, the evidence identifier, the selected policy and the registry failure. Restore registry access and verify that acceptance resumes only after a successful lookup supplies evidence that satisfies the freshness policy, then preserve this sequence as a deployment test against the effective configuration.

Keep useful service without inventing certainty

Implement the freshness gate where evidence becomes an acceptance decision, so a cache, proxy or fallback adapter cannot bypass it by returning a successful response. Preserve the authenticated source observation separately from retrieval time, and use a trusted local clock to evaluate age, because fetching or revalidating unchanged bytes does not necessarily establish a new registry observation. During the outage, isolate the affected registry client with bounded concurrency and a circuit breaker, allowing unrelated registries and still eligible evidence to keep serving requests without exhausting shared workers. Retain expired evidence for audit and explanation, but expose verification outcome separately from transport success so downstream services can defer dependent work without misclassifying the subject. The remaining decision belongs to the service owner: how much source age the particular action can tolerate before availability must yield to an honest indeterminate result.

Related Architecture Specifications (EIDASTRUST): eidasready.com · dtxcompliance.com · ap2trust.com

More Technical Articles on sourcedataverification.com

Sparse Merkle Trees for National Registry State Attestation: Throughput Benchmarks →Optimizing Database-to-Crypto Ingestion Pipelines for Real-Time Credential Issuance →The Trusted List Cache That Never Expires: Fail-Open Verification Hiding in Plain YAML →The Cache TTL That Keeps Trusting a Revoked Signer →