Skip to content

v3.12.0

Choose a tag to compare

@luisgf luisgf released this 09 Jul 11:02
· 259 commits to master since this release

Feature release: publish SD-JWT VC Type Metadata for the badge vct — a library-issued SD-JWT badge is now self-describing to EUDI wallets.

Added

  • feat(eudi): SD-JWT VC Type Metadata (draft-ietf-oauth-sd-jwt-vc §4) for the OB 3.0 badge type, so a HAIP wallet resolving the badge's vct can validate it fail-closed (#176). New pure-Python openbadgeslib.ob3.eudi helpers build the document for the badge claim set (badge_type_metadata — achievement/name/validFrom mandatory, the recipient credentialSubject selectively disclosable), serialize the exact bytes to serve (type_metadata_document_bytes) and compute their vct#integrity W3C SRI pin (type_metadata_integrity); issue_badge_sd_jwt(vct_integrity=…) embeds the pin. Opt-in publishing: set [issuer] sd_jwt_vct to an issuer-hosted vct under publish_url and openbadges-publish -V 3 writes the document into the webroot at that path (byte-exact, --check-live-verified) — the imsglobal purl stays the default, so nothing changes for existing issuers. openvc-core ≥1.2 does the verifier side; this is the issuer/publisher side.

Docs

  • docs(ob3): an end-to-end OpenID4VP ldp_vc presentation walkthrough — issue a Data Integrity badge here → a wallet presents it as a W3C VP with a holder authentication proof → verify via openvc-core verify_vp_token. Runnable examples/ob3_openid4vp_presentation.py (CI-guarded) plus a wiki section; the LDP verify docs now reflect that ecdsa-sd-2023 is a supported (delegated) verify cryptosuite as of v3.11.0. (#179)

Verified: the full local gate — flake8, mypy, and the complete suite (1091 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