Skip to content

v3.11.0

Choose a tag to compare

@luisgf luisgf released this 09 Jul 07:57
· 262 commits to master since this release

Feature release: verify-only support for the ecdsa-sd-2023 selective-disclosure Data Integrity cryptosuite — delegated to openvc-core, closing the #171 go/no-go.

Added

  • feat(ldp): verify OB 3.0 credentials secured with ecdsa-sd-2023 (selective disclosure, W3C vc-di-ecdsa) — the second Data Integrity suite a Displayer must verify to conform to the 1EdTech OB 3.0 certification. The large, security-sensitive crypto (CBOR base/derived proofs, HMAC label maps, per-statement P-256 signatures) is delegated to openvc-core's audited EcdsaSdProofSuite rather than reimplemented — ~107 lines of wiring vs the ~1000 of native crypto avoided. openbadgeslib keeps the OB3 model, the trust binding (proof verificationMethod ↔ credential issuer) and the lifecycle checks, and hands the delegate its pinned OB3 @context allowlist so canonicalization stays fail-closed and never touches the network. It plugs into the _CRYPTOSUITES registry beside eddsa-rdfc-2022, so OB3LdpVerifier accepts both transparently. Needs the new [ldp-sd] extra (openvc-core[data-integrity], self-contained — pulls its own pyld, works without [ldp]); a missing extra fails closed with an actionable install hint. (#171)

Changed / infra

  • build(eudi): the [eudi] extra now tracks openvc-core>=1.13,<2 (was >=1.8), matching the version the suite is tested against — openvc-core is 1.x Production/Stable. (#172)
  • ci(eudi): a dedicated [eudi] CI job installs the extra in isolation (no [ldp]) and runs the SD-JWT tests + mypy against a floor-vs-latest openvc-core matrix, so an upstream bump is caught before users hit it. (#172)

Not included (deferred)

  • Issuing ecdsa-sd-2023 — verify-only was the #171 scope (Displayer parity); issuance stays out until named demand.

Verified: the full local gate — flake8, mypy, and the complete suite (1076 tests, [ldp] extra, coverage 93%) — plus the CI matrix on Python 3.10–3.14 and a clean-venv [ldp-sd]-isolation run, which gated the (OIDC Trusted Publishing) publish to PyPI.

Full history: Changelog.txt