Repository navigation
v3.13.0
Feature release: verify third-party EUDI badges via eIDAS X.509 / EU Trusted Lists — trust beyond a pinned issuer key.
Added
feat(eudi): opt-in X.509 / EU Trusted List trust for received SD-JWT badges (#178).verify_badge_sd_jwt(..., x5c_trust_anchors=…)verifies a third-party badge whose issuer JWT carries anx5cchain by routing through openvc-core'sverify_credentialpipeline, which path-validates the chain to the caller's X.509 roots and binds it toissbefore using the leaf key — the eIDAS trust root the JWK-pinned suite path cannot reach. Build the anchors from an EU Trusted List withopenvc.trustlist.walk_lotl(...).certificates(LOTL → national TLs, fail-closed, caller-pinned signers, XXE-hardened) or pass your own roots. JWK-pinning stays the default — exactly one ofpubkey_pem/x5c_trust_anchorsis required — and the return type is unchanged (openvc-core'sVerifiedSdJwt). Status is not checked on this path, as on the pinned one. A new wiki recipe ("Verifying a third-party badge via eIDAS X.509 / EU Trusted Lists") walks it through.
Verified: the full local gate — flake8, mypy, and the complete suite (1096 tests, [ldp] extra, coverage floor 93%) — plus the CI matrix on Python 3.10–3.14 and the dedicated [eudi] drift job, which gated the (OIDC Trusted Publishing) publish to PyPI.
Full history: Changelog.txt