Maintenance release: a round of correctness and UX fixes across OB3, OB2 and the CLI, plus supply-chain hardening.
Fixed
fix(ob3): a naive datetime passed as issuance/expiration is now assumed UTC (matching the status registry), sovalidFrom/validUntilno longer shift by the host's local offset and stay consistent with thenbf/expJWT claims.fix(ob3): the JWT verifier cross-checks thejticlaim against the credentialid(OB3 §8.2) — a validly signed token whose jti disagrees with, or omits, the id is rejected.fix(ob3):_b58btc_decodebounds its input length (128 chars) before the O(n²) base58 decode, so a hostiledid:key/publicKeyMultibasein a fetched document cannot burn CPU.fix(ob2): anevidencearray is preserved instead of silently dropped when parsing an Assertion (a single value still collapses to its IRI).fix(cli):-M/--mail-badgenow prints a clear notice on the default OB3 path instead of being a silent no-op; the staleopenbadges-keygenerator -t ED25519hint is corrected to the realkey_type = ED25519config; and the OB1 mail path reads its[smtp]config inside the try, so a missing section reports cleanly instead of a traceback.fix(publish):openbadges-publish -V 3no longer aborts mid-loop on a badge with an unreadable key/corrupt registry — it skips it with a notice (like the did.json path), regenerates the rest, and exits non-zero with a summary, so an urgent revocation is not masked by an unrelated badge.
Changed
refactor(keygen):openbadges-keygeneratorusesenable_debug_logginginstead of the legacyLogger(removed from logs.py), so key generation no longer requires the[paths]/[logs]config sections just to emit console lines.ci: supply-chain hardening — Dependabot (pip + actions), a weeklypip-audit, least-privilegeGITHUB_TOKENpermissions, and the PyPI publish migrated to Trusted Publishing (OIDC) — this is the first release published without a long-lived API token.
Verified: the full local gate — flake8, mypy and the complete suite (838 tests, [ldp] and [eudi] extras installed) — plus the CI matrix on Python 3.10–3.14, which gated the publish.
Full history: Changelog.txt