pypi openbadgeslib 3.13.0
v3.13.0

latest releases: 4.6.5, 4.6.4, 4.6.3...
4 months ago

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 an x5c chain by routing through openvc-core's verify_credential pipeline, which path-validates the chain to the caller's X.509 roots and binds it to iss before using the leaf key — the eIDAS trust root the JWK-pinned suite path cannot reach. Build the anchors from an EU Trusted List with openvc.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 of pubkey_pem / x5c_trust_anchors is required — and the return type is unchanged (openvc-core's VerifiedSdJwt). 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

Don't miss a new openbadgeslib release

NewReleases is sending notifications on new releases.