The Stale Trusted List That Passes Every Review

The validation stack most likely to burn you is the one that keeps saying "qualified" after it has lost contact with the source of truth. When the trusted list fetch fails, a common fallback is to keep validating against the last cached copy. In the pull request that fallback looks like resilience. In production, a provider whose qualified status was withdrawn last week keeps being treated as qualified.

Why the diff looks harmless

The change rarely says "accept expired trust anchors". It says something like cacheMaxAge set to thirty days, or offlineFallback enabled, with a commit message about surviving outages at the Commission's list endpoint or at a national scheme operator. Reviewers read that as an availability fix, and they're half right. The trouble is that a trusted list already carries its own expiry in the NextUpdate field, defined by the ETSI trusted list specification. A local cache age that ignores that field quietly replaces the issuer's freshness contract with yours. Nobody notices, because every signature still validates and nothing pages.

What actually fails

The failure mode is a status drift rather than a crash: the validator keeps a supervision status of granted for a service that the member state has since moved to withdrawn, so new seals and signatures from that service are reported as qualified under Regulation (EU) 2024/1183 when they no longer are. This combines badly with revocation soft-fail. If OCSP or CRL retrieval is also allowed to fail open, the system has two independent sources of trust state, both stale, and both returning a green result. The signature validation standards in the ETSI EN 319 family give you the right outcome for this case, which is INDETERMINATE with a subindication meaning try later. Many integrations map INDETERMINATE to pass because product owners don't want users to see it, and that mapping is where the incident gets built.

Detection you can run today

Pull the NextUpdate value from every trusted list your validator currently holds, for example with xmllint --xpath "string(//*[local-name()='NextUpdate']/*)" on each cached XML file, compare it with date -u, and flag any list where the current time is past NextUpdate while the service still reports healthy.

The rule that keeps the rest standing

Keeping things working when one part fails means making sure the right part stops. Signing and timestamping can carry on during a list outage, since they don't depend on your copy of the list. Qualified status assertions should not. The decision rule I'd apply: past NextUpdate, plus a grace window of 6 hours, the validator stops issuing qualified results and returns INDETERMINATE, while it keeps reporting the cryptographic validity of the signature. That grace window is the one parameter worth arguing over in review, and it should come from how often your list sources publish late, not from someone's gut feeling. My rough estimate is that most teams who run the check above will find at least one national list in their cache past its NextUpdate, usually because a single scheme URL moved and the fetch has been throwing 404s into a log nobody reads. Alert on staleness per list, not on fetch errors, because fetch errors are noisy enough that people learn to mute them.

Won't failing closed on qualified status break relying parties during a Commission endpoint outage?

Only for the qualified assertion, and only once the grace window runs out. Relying parties still get a cryptographically valid result plus an explicit retry signal, which is more honest than a qualified label you can't back up. If that is unacceptable for a given flow, the fix is a second independent mirror of the lists you depend on, not a longer cache.

Back to AP2Cert · Domains

← Back to AP2Cert
Engineering & Architecture Brief

The Stale Trusted List That Passes Every Review

The validation stack most likely to burn you is the one that keeps saying "qualified" after it has lost contact with the source of truth. When the trusted list fetch fails, a common fallback is to keep validating against the last cached copy. In the pull request that fallback looks like resilience. In production, a provider whose qualified status was withdrawn last week keeps being treated as qualified.

Why the diff looks harmless

The change rarely says "accept expired trust anchors". It says something like cacheMaxAge set to thirty days, or offlineFallback enabled, with a commit message about surviving outages at the Commission's list endpoint or at a national scheme operator. Reviewers read that as an availability fix, and they're half right. The trouble is that a trusted list already carries its own expiry in the NextUpdate field, defined by the ETSI trusted list specification. A local cache age that ignores that field quietly replaces the issuer's freshness contract with yours. Nobody notices, because every signature still validates and nothing pages.

What actually fails

The failure mode is a status drift rather than a crash: the validator keeps a supervision status of granted for a service that the member state has since moved to withdrawn, so new seals and signatures from that service are reported as qualified under Regulation (EU) 2024/1183 when they no longer are. This combines badly with revocation soft-fail. If OCSP or CRL retrieval is also allowed to fail open, the system has two independent sources of trust state, both stale, and both returning a green result. The signature validation standards in the ETSI EN 319 family give you the right outcome for this case, which is INDETERMINATE with a subindication meaning try later. Many integrations map INDETERMINATE to pass because product owners don't want users to see it, and that mapping is where the incident gets built.

Detection you can run today

Pull the NextUpdate value from every trusted list your validator currently holds, for example with xmllint --xpath "string(//*[local-name()='NextUpdate']/*)" on each cached XML file, compare it with date -u, and flag any list where the current time is past NextUpdate while the service still reports healthy.

The rule that keeps the rest standing

Keeping things working when one part fails means making sure the right part stops. Signing and timestamping can carry on during a list outage, since they don't depend on your copy of the list. Qualified status assertions should not. The decision rule I'd apply: past NextUpdate, plus a grace window of 6 hours, the validator stops issuing qualified results and returns INDETERMINATE, while it keeps reporting the cryptographic validity of the signature. That grace window is the one parameter worth arguing over in review, and it should come from how often your list sources publish late, not from someone's gut feeling. My rough estimate is that most teams who run the check above will find at least one national list in their cache past its NextUpdate, usually because a single scheme URL moved and the fetch has been throwing 404s into a log nobody reads. Alert on staleness per list, not on fetch errors, because fetch errors are noisy enough that people learn to mute them.

Technical FAQ: Won't failing closed on qualified status break relying parties during a Commission endpoint outage?

Only for the qualified assertion, and only once the grace window runs out. Relying parties still get a cryptographically valid result plus an explicit retry signal, which is more honest than a qualified label you can't back up. If that is unacceptable for a given flow, the fix is a second independent mirror of the lists you depend on, not a longer cache.

Related Architecture Specifications (EIDASTRUST): ap2spec.com · eidassafe.com · dtxcompliance.com

More Technical Articles on ap2cert.com

Side-Channel Resilience Benchmarking of QSCD Remote Signature Hardware Enclaves →Continuous Compliance Monitoring and Real-Time Telemetry for QTSP Trust Chains →