mirror of
https://github.com/turnstonelabs/turnstone.git
synced 2026-08-12 23:12:23 -06:00
13a2df3bc9
The pyjwt 2.12.1 advisory (\"weak encryption\") is disputed by the supplier — the key length is the calling application's responsibility, not the library's. Turnstone generates its JWT signing keys via the standard ``secrets`` module at operator-controlled strength (see ``turnstone/core/auth.py``), so the advisory does not apply to this codebase. No fix version is available — pyjwt 2.12.1 is the current PyPI latest as of 2026-05-21. Adding ``--ignore-vuln PYSEC-2025-183`` with the rationale documented in-line so a future reviewer can re-evaluate when an upstream fix or a non-disputed re-issue lands. The advisory was published between main's last CI pass (2026-05-19) and the interactive-cleanup PR's CI run (2026-05-21); main's security job will fail next push without this fix.