Repository navigation
v3.12.0
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'svctcan validate it fail-closed (#176). New pure-Pythonopenbadgeslib.ob3.eudihelpers build the document for the badge claim set (badge_type_metadata—achievement/name/validFrommandatory, the recipientcredentialSubjectselectively disclosable), serialize the exact bytes to serve (type_metadata_document_bytes) and compute theirvct#integrityW3C SRI pin (type_metadata_integrity);issue_badge_sd_jwt(vct_integrity=…)embeds the pin. Opt-in publishing: set[issuer] sd_jwt_vctto an issuer-hosted vct underpublish_urlandopenbadges-publish -V 3writes 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 OpenID4VPldp_vcpresentation walkthrough — issue a Data Integrity badge here → a wallet presents it as a W3C VP with a holderauthenticationproof → verify via openvc-coreverify_vp_token. Runnableexamples/ob3_openid4vp_presentation.py(CI-guarded) plus a wiki section; the LDP verify docs now reflect thatecdsa-sd-2023is 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