Skip to content

Commit

Permalink
py-JWT: updated to 2.4.0
Browse files Browse the repository at this point in the history
v2.4.0

Security
- [CVE-2022-29217] Prevent key confusion through non-blocklisted public key formats. GHSA-ffqj-6fqr-9h24

Changed
- Explicit check the key for ECAlgorithm by @estin in jpadilla/pyjwt#713
- Raise DeprecationWarning for jwt.decode(verify=...) by @akx in jpadilla/pyjwt#742

Fixed
- Don't use implicit optionals by @rekyungmin in jpadilla/pyjwt#705
- documentation fix: show correct scope for decode_complete() by @sseering in jpadilla/pyjwt#661
- fix: Update copyright information by @kkirsche in jpadilla/pyjwt#729
- Don't mutate options dictionary in .decode_complete() by @akx in jpadilla/pyjwt#743

Added
- Add support for Python 3.10 by @hugovk in jpadilla/pyjwt#699
- api_jwk: Add PyJWKSet.__getitem__ by @woodruffw in jpadilla/pyjwt#725
- Update usage.rst by @guneybilen in jpadilla/pyjwt#727
- Docs: mention performance reasons for reusing RSAPrivateKey when encoding by @dmahr1 in jpadilla/pyjwt#734
- Fixed typo in usage.rst by @israelabraham in jpadilla/pyjwt#738
- Add detached payload support for JWS encoding and decoding by @fviard in jpadilla/pyjwt#723
- Replace various string interpolations with f-strings by @akx in jpadilla/pyjwt#744
- Update CHANGELOG.rst
  • Loading branch information
adam committed May 25, 2022
1 parent 0c95c97 commit b5e1a28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions textproc/py-JWT/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.18 2022/01/04 20:54:51 wiz Exp $
# $NetBSD: Makefile,v 1.19 2022/05/25 12:20:55 adam Exp $

DISTNAME= PyJWT-2.3.0
DISTNAME= PyJWT-2.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Py//}
PKGREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/PyJWT/}

Expand All @@ -19,7 +18,7 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27

do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
8 changes: 4 additions & 4 deletions textproc/py-JWT/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.16 2021/10/26 11:22:59 nia Exp $
$NetBSD: distinfo,v 1.17 2022/05/25 12:20:55 adam Exp $

BLAKE2s (PyJWT-2.3.0.tar.gz) = 7801b7db39f2bcf9baa18466879ccea78a5be16ee8ab84905dba9754b8d4834e
SHA512 (PyJWT-2.3.0.tar.gz) = c6a1d8c3ce87d2122aa4ce4e19c5d2683aeffae6fb29b20fa17e2dfb1a07faf721beb8ca390d3acdeb85a1476025ca5af4fcdb1019f84c8c1bf229246a7aafe3
Size (PyJWT-2.3.0.tar.gz) = 62279 bytes
BLAKE2s (PyJWT-2.4.0.tar.gz) = 270cd5bd9d0ff384dedd4762780aecd4b18495f054f7895fb28748e5034e3f1b
SHA512 (PyJWT-2.4.0.tar.gz) = 6c60afe62f9341c0fd889be227cd9e44260bc88696a93d0c3398547e159001f04e402d207d2230641f0f3d37cfd7e6f9e50a42dadfb011d7087c32a864c792a4
Size (PyJWT-2.4.0.tar.gz) = 66327 bytes

0 comments on commit b5e1a28

Please sign in to comment.