Path to this page: ./
textproc/py-JWT,
JSON Web Token implementation in Python
Branch: CURRENT,
Version: 2.12.1,
Package name: py313-JWT-2.12.1,
Maintainer: pkgsrc-usersA Python implementation of JSON Web Token draft 32.
Required to run:[
security/py-cryptography] [
lang/python310]
Master sites:
Filesize: 100.16 KB
Version history: (Expand)
- (2026-03-14) Updated to version: py313-JWT-2.12.1
- (2026-03-13) Updated to version: py313-JWT-2.12.0
- (2026-02-01) Updated to version: py313-JWT-2.11.0
- (2025-04-13) Updated to version: py312-JWT-2.10.1nb2
- (2025-03-03) Updated to version: py312-JWT-2.10.1nb1
- (2024-12-02) Updated to version: py312-JWT-2.10.1
CVS history: (Expand)
2026-03-14 13:50:06 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message: py-JWT: updated to 2.12.1 2.12.1 Fixed - Add missing ``typing_extensions`` dependency for Python < 3.11 |
2026-03-13 08:14:17 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message: py-JWT: updated to 2.12.0 v2.12.0 <https://github.com/jpadilla/pyjwt/compare/2.11.0...2.12.0>`__ Fixed - Annotate PyJWKSet.keys for pyright - Close ``HTTPError`` response to prevent ``ResourceWarning`` on Python 3.14 - Do not keep ``algorithms`` dict in PyJWK instances - Validate the crit (Critical) Header Parameter defined in RFC 7515 ยง4.1.11. - Use PyJWK algorithm when encoding without explicit algorithm Added - Docs: Add ``PyJWKClient`` API reference and document the two-tier caching \ system (JWK Set cache and signing key LRU cache). |
2026-02-01 18:52:54 by Thomas Klausner | Files touched by this commit (2) |  |
Log message: py-JWT: update to 2.11.0. All tests pass. `v2.11.0 <https://github.com/jpadilla/pyjwt/compare/2.10.1...2.11.0>`__ ----------------------------------------------------------------------- Fixed ~~~~~ - Enforce ECDSA curve validation per RFC 7518 Section 3.4. - Fix build system warnings by @kurtmckee in `#1105 \ <https://github.com/jpadilla/pyjwt/pull/1105>`__ - Validate key against allowed types for Algorithm family in `#964 \ <https://github.com/jpadilla/pyjwt/pull/964>`__ - Add iterator for JWKSet in `#1041 \ <https://github.com/jpadilla/pyjwt/pull/1041>`__ - Validate `iss` claim is a string during encoding and decoding by @pachewise in \ `#1040 <https://github.com/jpadilla/pyjwt/pull/1040>`__ - Improve typing/logic for `options` in decode, decode_complete by @pachewise in \ `#1045 <https://github.com/jpadilla/pyjwt/pull/1045>`__ - Declare float supported type for lifespan and timeout by @nikitagashkov in \ `#1068 <https://github.com/jpadilla/pyjwt/pull/1068>`__ - Fix ``SyntaxWarning``\s/``DeprecationWarning``\s caused by invalid escape \ sequences by @kurtmckee in `#1103 \ <https://github.com/jpadilla/pyjwt/pull/1103>`__ - Development: Build a shared wheel once to speed up test suite setup times by \ @kurtmckee in `#1114 <https://github.com/jpadilla/pyjwt/pull/1114>`__ - Development: Test type annotations across all supported Python versions, increase the strictness of the type checking, and remove the mypy pre-commit hook by @kurtmckee in `#1112 <https://github.com/jpadilla/pyjwt/pull/1112>`__ Added ~~~~~ - Support Python 3.14, and test against PyPy 3.10 and 3.11 by @kurtmckee in \ `#1104 <https://github.com/jpadilla/pyjwt/pull/1104>`__ - Development: Migrate to ``build`` to test package building in CI by @kurtmckee \ in `#1108 <https://github.com/jpadilla/pyjwt/pull/1108>`__ - Development: Improve coverage config and eliminate unused test suite code by \ @kurtmckee in `#1115 <https://github.com/jpadilla/pyjwt/pull/1115>`__ - Docs: Standardize CHANGELOG links to PRs by @kurtmckee in `#1110 \ <https://github.com/jpadilla/pyjwt/pull/1110>`__ - Docs: Fix Read the Docs builds by @kurtmckee in `#1111 \ <https://github.com/jpadilla/pyjwt/pull/1111>`__ - Docs: Add example of using leeway with nbf by @djw8605 in `#1034 \ <https://github.com/jpadilla/pyjwt/pull/1034>`__ - Docs: Refactored docs with ``autodoc``; added ``PyJWS`` and ``jwt.algorithms`` \ docs by @pachewise in `#1045 \ <https://github.com/jpadilla/pyjwt/pull/1045>`__ - Docs: Documentation improvements for "sub" and "jti" \ claims by @cleder in `#1088 \ <https://github.com/jpadilla/pyjwt/pull/1088>`__ - Development: Add pyupgrade as a pre-commit hook by @kurtmckee in `#1109 \ <https://github.com/jpadilla/pyjwt/pull/1109>`__ - Add minimum key length validation for HMAC and RSA keys (CWE-326). Warns by default via ``InsecureKeyLengthWarning`` when keys are below minimum recommended lengths per RFC 7518 Section 3.2 (HMAC) and NIST SP 800-131A (RSA). Pass ``enforce_minimum_key_length=True`` in options to ``PyJWT`` or ``PyJWS`` to raise ``InvalidKeyError`` instead. - Refactor ``PyJWT`` to own an internal ``PyJWS`` instance instead of calling global ``api_jws`` functions. |
| 2025-04-13 14:20:51 by Thomas Klausner | Files touched by this commit (2) |
Log message: py-JWT: fix for setuptools>=78 |
| 2025-03-03 07:54:35 by Thomas Klausner | Files touched by this commit (1) |
Log message: py-JWT: fix wheel name for latest setuptools and depend on it Bump PKGREVISION. |
2024-12-02 10:05:50 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message: py-JWT: updated to 2.10.1 2.10.1 Fixed - Prevent partial matching of `iss` claim |
2024-11-24 11:13:05 by Thomas Klausner | Files touched by this commit (2) |  |
Log message: py-JWT: update to 2.10.0. v2.10.0 ------- Changed ~~~~~~~ - Remove algorithm requirement from JWT API, instead relying on JWS API for \ enforcement, by @luhn - Use ``Sequence`` for parameter types rather than ``List`` where applicable by \ @imnotjames - Add JWK support to JWT encode by @luhn - Encoding and decoding payloads using the `none` algorithm by @jpadilla - Added validation for 'sub' (subject) and 'jti' (JWT ID) claims in tokens by \ @Divan009 - Refactor project configuration files from ``setup.cfg`` to ``pyproject.toml`` \ by @cleder - Ruff linter and formatter changes by @gagandeepp - Drop support for Python 3.8 (EOL) by @kkirsche Fixed ~~~~~ - Encode EC keys with a fixed bit length by @etianen - Add an RTD config file to resolve Read the Docs build failures by @kurtmckee - Docs: Update ``iat`` exception docs by @pachewise - Docs: Fix ``decode_complete`` scope and algorithms by @RbnRncn - Fix doctest for ``docs/usage.rst`` by @pachewise - Fix ``test_utils.py`` not to xfail by @pachewise - Docs: Correct `jwt.decode` audience param doc expression by @peter279k Added ~~~~~ - Add support for python 3.13 by @hugovk - Create SECURITY.md by @auvipy and @jpadilla - Docs: Add PS256 encoding and decoding usage by @peter279k - Docs: Add API docs for PyJWK by @luhn - Docs: Add EdDSA algorithm encoding/decoding usage by @peter279k - Include checkers and linters for ``pyproject.toml`` - Docs: Add ES256 decoding usage by @Gautam-Hegde |
| 2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message: py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays |