arm-core/api/requirements-dev.txt
Andrey Epifancev b1d0186c77 Зависимости под контур: PyJWT 2.8.0, cryptography 43.0.3; JwksVerifier без PyJWK в decode (#43)
- requirements: PyJWT[crypto]==2.8.0, cryptography==43.0.3 (dev согласован)
- JwksVerifier: в decode передаётся signing_key.key, алгоритм выводится из типа ключа
  (_algorithms_for_key: RSA -> RS256, EC P-256 -> ES256), как для AUTH_PUBLIC_KEY
- DevHs256Verifier: TypeError/ValueError от PyJWT 2.8 (нечисловой exp) -> AuthError, не 500
- тест: RSA-ключ из JWKS + ES256-токен (и наоборот) -> AuthError

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EAKRDNzXtRrwmWz9z6PZu3
2026-10-07 18:38:48 +04:00

15 lines
514 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Инструменты разработки и проверок. Платформенные зависимости — в requirements.txt (не меняем).
# Нижние границы мажорных версий: воспроизводимо, но без конфликта с пинами платформы.
-r requirements.txt
ruff>=0.8
mypy>=1.13
pytest>=8.3
pytest-asyncio>=0.24
pytest-env>=1.1
pytest-cov>=6.0
PyJWT[crypto]==2.8.0
pydbml>=1.1
jsonschema>=4.23
types-PyYAML>=6.0
types-openpyxl>=3.1