pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-JWT py-JWT: updated to 2.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c69c11febda7
branches:  trunk
changeset: 453142:c69c11febda7
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon May 24 09:20:10 2021 +0000

description:
py-JWT: updated to 2.1.0

v2.1.0

Changed
- Allow claims validation without making JWT signature validation mandatory.

Fixed
- Remove padding from JWK test data.
- Make `kty` mandatory in JWK to be compliant with RFC7517.
- Allow JWK without `alg` to be compliant with RFC7517.
- Allow to verify with private key on ECAlgorithm, as well as on Ed25519Algorithm.

Added
- Add caching by default to PyJWKClient
- Add missing exceptions.InvalidKeyError to jwt module __init__ imports
- Add support for ES256K algorithm
- Add `from_jwk()` to Ed25519Algorithm
- Add `to_jwk()` to Ed25519Algorithm
- Export `PyJWK` and `PyJWKSet`

diffstat:

 textproc/py-JWT/Makefile |   4 ++--
 textproc/py-JWT/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 55ac0604669d -r c69c11febda7 textproc/py-JWT/Makefile
--- a/textproc/py-JWT/Makefile  Mon May 24 09:17:53 2021 +0000
+++ b/textproc/py-JWT/Makefile  Mon May 24 09:20:10 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2021/03/07 17:14:41 adam Exp $
+# $NetBSD: Makefile,v 1.15 2021/05/24 09:20:10 adam Exp $
 
-DISTNAME=      PyJWT-2.0.1
+DISTNAME=      PyJWT-2.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/Py//}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=P/PyJWT/}
diff -r 55ac0604669d -r c69c11febda7 textproc/py-JWT/distinfo
--- a/textproc/py-JWT/distinfo  Mon May 24 09:17:53 2021 +0000
+++ b/textproc/py-JWT/distinfo  Mon May 24 09:20:10 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.11 2021/03/07 17:14:41 adam Exp $
+$NetBSD: distinfo,v 1.12 2021/05/24 09:20:10 adam Exp $
 
-SHA1 (PyJWT-2.0.1.tar.gz) = 5c79722727ced3d9524fda667034a949c1047ff9
-RMD160 (PyJWT-2.0.1.tar.gz) = b0adbd8f466e723e48a60ab8efadfc2bfcd42c9c
-SHA512 (PyJWT-2.0.1.tar.gz) = a59b975fb465b44e4d84e3ef0380ed5107438e202e073238700bd700e8871098b9c59a849d157ade7888eef32609078571e2b8af09dca0752d7a18c370c2a0a5
-Size (PyJWT-2.0.1.tar.gz) = 57496 bytes
+SHA1 (PyJWT-2.1.0.tar.gz) = cb03f1715029f256fd20b81c5d638bb40798662b
+RMD160 (PyJWT-2.1.0.tar.gz) = 3aaf0f2fe2ed6f6faed1ec9bd3900baff27bb1ae
+SHA512 (PyJWT-2.1.0.tar.gz) = d701919c6cf06acb45cb0762a4ab7cc5e6ea247fbc0de80d0efdd1fc4b966c0d27c7400869858bbdc457b200586635aeefa8a38b85db818df6a8713f9bda8ab8
+Size (PyJWT-2.1.0.tar.gz) = 60092 bytes



Home | Main Index | Thread Index | Old Index