Repository navigation
v3.8.0
Security release: status lists gain replay protection and opt-in proof verification — a stale or forged revocation list can no longer silently resurrect a revoked badge.
Security
-
security(ob3): two documented status-list trust gaps, closed as one coherent change. (#164)- Replay protection (freshness). A per-badge
status_validity_daysmakesopenbadges-publish -V 3stamp published lists withvalidUntil = now + N days, and the reader now enforces the list'svalidFrom/validUntilwindow. A lapsedrevocation.jwt— a replayed old copy, or an issuer that stopped republishing — is rejected instead of silently un-revoking a credential. A list with novalidUntilnever expires (backward compatible). - Proof + issuer binding (opt-in).
check_credential_status(..., verify_list=True)— andOB3Verifier.check_status(..., verify_list=True), which reuses the badge's own key — verifies the status list credential's own JWT-VC signature and requires its issuer to equal the badge's issuer, so a compromised status host cannot serve a validly-shaped list that silently un-revokes. Adid:web/did:keyissuer is resolved otherwise;list_pubkey_pempins the key explicitly.
Both are opt-in / absent by default — a status check stays a single offline-friendly fetch, so there is no behaviour break.
- Replay protection (freshness). A per-badge
Not included (deferred): the --check-live publish flag — a separate "cheaper companion" from the same analysis (download the published did.json + status lists and byte-compare against what was just regenerated). Tracked on #164.
Verified: the full local gate — flake8, mypy --strict, and the complete suite (917 tests, [ldp] extra) — plus the CI matrix on Python 3.10–3.14, which gated the (OIDC Trusted Publishing) publish.
Full history: Changelog.txt