The Trusted List Cache That Never Expires: Fail-Open Verification Hiding in Plain YAML
The most expensive bug in a source data verification pipeline is a verifier that keeps answering "valid" after it has lost contact with the registry it attests against. It usually comes from two config lines that each look sensible on their own: a cache TTL, and a fallback that serves the cached trust list when a fetch fails. Code review approves both because neither is wrong by itself. Put together, they hide revocations, and nothing alerts.
Why reviewers approve it
The diff usually reads like this: refresh interval of seven days, and on fetch or signature error, use cached. The first line keeps you from hammering the European list of trusted lists and the national lists behind it. The second keeps verification running when the publication endpoint is slow, and that is a reasonable resilience instinct. Neither the author nor the reviewer notices that the fallback path ignores the TTL completely, so a cache entry that should have expired becomes permanent the moment refreshes start failing. The fallback also counts "signature did not validate" as a transient fetch error, and that mistake turns a security event into a silent downgrade.
The failure mode that actually triggers it
Fetches rarely fail because a network is down. They fail because the certificates that sign the list of trusted lists rotate, the rotation is announced through an official publication channel that SRE teams don't watch, and the pinned signer bundle in your config repo is the one file nobody has touched in a year. From the next reissue onward, every refresh fails XML signature validation, the fallback serves the old list, and every QES and QSeal check goes on resolving against trust service statuses frozen on the day of the rotation. A trust service provider withdrawn after that date stays granted as far as your verifier is concerned. Every downstream registry attestation chained to it inherits the false positive, including real-time lookups against business or credential registries that rely on the same anchor. The ETSI specifications for trusted lists and signature validation already give you what you need to prevent this: every list carries a signed NextUpdate field, and validation policy explicitly allows an indeterminate result when trust status can't be established.
Detection you can run before lunch
Run `curl https://ec.europa.eu/tools/lotl/eu-lotl.xml | grep dateTime` to print the NextUpdate timestamp of the live list of trusted lists, then ask your verifier which list issue date it is currently using, whether that comes from its health endpoint, its trust store metadata, or the receipt it attaches to each attestation, and if the cached list's own NextUpdate is already in the past, you are failing open today.
What keeps it working when the registry side breaks
The fix is a decision rule, not a longer TTL. Derive cache validity from the NextUpdate value in the signed list rather than from a fixed duration. Once that moment passes, return indeterminate for the affected trust services, never valid, and keep serving verified results only for lists that are still inside their own declared window. That is degraded service, not an outage, because national lists expire independently and one stale member state doesn't take down the others. Expose the age of each trust anchor relative to its NextUpdate as a gauge and alert on it separately from fetch errors. Fetch errors are noisy and get silenced. Anchor age only moves in one direction and can't be argued away. Treat signature validation failure on a refresh as a page, not a retry, because it almost always means your pinned signers are out of date, and the remedy is a reviewed config change, not waiting it out.
Technical FAQ: Isn't returning indeterminate worse for availability than serving a slightly stale list?
That only holds if "slightly" has a limit, and the fallback configuration described here has none. National lists may declare a NextUpdate as far as six months out, so honouring the signed window still gives you a long grace period during real outages. As a rough estimate, most teams would see no indeterminate results at all in normal operation. What you lose is the ability to approve signatures indefinitely against a revocation state you can no longer see, and the relying parties consuming your attestations never agreed to take on that risk.