From 609318985de032441c2924799b53642f82ad71774a484a085f7b50d815aef2b2 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Mon, 21 Aug 2017 15:57:22 +0000 Subject: [PATCH] Accepting request 517964 from home:tbechtold:branches:devel:languages:python - update to 1.5.2: - Ensure correct arguments order in decode super call [7c1e61d][7c1e61d] - Change optparse for argparse. [#238][238] - Guard against PKCS1 PEM encododed public keys [#277][277] - Add deprecation warning when decoding without specifying `algorithms` [#277][277] - Improve deprecation messages [#270][270] - PyJWT.decode: move verify param into options [#271][271] - Support for Python 3.6 [#262][262] - Expose jwt.InvalidAlgorithmError [#264][264] - Add support for ECDSA public keys in RFC 4253 (OpenSSH) format [#244][244] - Renamed commandline script `jwt` to `jwt-cli` to avoid issues with the script clobbering the `jwt` module in some circumstances. [#187][187] - Better error messages when using an algorithm that requires the cryptography package, but it isn't available [#230][230] - Tokens with future 'iat' values are no longer rejected [#190][190] - Non-numeric 'iat' values now raise InvalidIssuedAtError instead of DecodeError - Remove rejection of future 'iat' claims [#252][252] - Add back 'ES512' for backward compatibility (for now) [#225][225] - Fix incorrectly named ECDSA algorithm [#219][219] - Fix rpm build [#196][196] - Add JWK support for HMAC and RSA keys [#202][202] OBS-URL: https://build.opensuse.org/request/show/517964 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=26 --- PyJWT-1.4.2.tar.gz | 3 --- PyJWT-1.5.2.tar.gz | 3 +++ python-PyJWT.changes | 23 +++++++++++++++++++++++ python-PyJWT.spec | 12 ++++++------ 4 files changed, 32 insertions(+), 9 deletions(-) delete mode 100644 PyJWT-1.4.2.tar.gz create mode 100644 PyJWT-1.5.2.tar.gz diff --git a/PyJWT-1.4.2.tar.gz b/PyJWT-1.4.2.tar.gz deleted file mode 100644 index f1ab6be..0000000 --- a/PyJWT-1.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:87a831b7a3bfa8351511961469ed0462a769724d4da48a501cb8c96d1e17f570 -size 30486 diff --git a/PyJWT-1.5.2.tar.gz b/PyJWT-1.5.2.tar.gz new file mode 100644 index 0000000..07685e1 --- /dev/null +++ b/PyJWT-1.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1179f0bff86463b5308ee5f7aff1c350e1f38139d62a723e16fb2c557d1c795f +size 72715 diff --git a/python-PyJWT.changes b/python-PyJWT.changes index 1dad8e0..0f19801 100644 --- a/python-PyJWT.changes +++ b/python-PyJWT.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Mon Aug 21 15:51:40 UTC 2017 - tbechtold@suse.com + +- update to 1.5.2: + - Ensure correct arguments order in decode super call [7c1e61d][7c1e61d] + - Change optparse for argparse. [#238][238] + - Guard against PKCS1 PEM encododed public keys [#277][277] + - Add deprecation warning when decoding without specifying `algorithms` [#277][277] + - Improve deprecation messages [#270][270] + - PyJWT.decode: move verify param into options [#271][271] + - Support for Python 3.6 [#262][262] + - Expose jwt.InvalidAlgorithmError [#264][264] + - Add support for ECDSA public keys in RFC 4253 (OpenSSH) format [#244][244] + - Renamed commandline script `jwt` to `jwt-cli` to avoid issues with the script clobbering the `jwt` module in some circumstances. [#187][187] + - Better error messages when using an algorithm that requires the cryptography package, but it isn't available [#230][230] + - Tokens with future 'iat' values are no longer rejected [#190][190] + - Non-numeric 'iat' values now raise InvalidIssuedAtError instead of DecodeError + - Remove rejection of future 'iat' claims [#252][252] + - Add back 'ES512' for backward compatibility (for now) [#225][225] + - Fix incorrectly named ECDSA algorithm [#219][219] + - Fix rpm build [#196][196] + - Add JWK support for HMAC and RSA keys [#202][202] + ------------------------------------------------------------------- Fri Apr 28 12:25:53 UTC 2017 - pousaduarte@gmail.com diff --git a/python-PyJWT.spec b/python-PyJWT.spec index e580140..7daec3e 100644 --- a/python-PyJWT.spec +++ b/python-PyJWT.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-PyJWT -Version: 1.4.2 +Version: 1.5.2 Release: 0 Summary: JSON Web Token implementation in Python License: MIT @@ -62,24 +62,24 @@ find ./ -type f -name "*.py" -perm 644 -exec sed -i -e '1{\@^#!/usr/bin/env pyth %install %python_install -%python_clone -a %{buildroot}%{_bindir}/jwt +%python_clone -a %{buildroot}%{_bindir}/pyjwt #hardlink duplicated files %fdupes %{buildroot} %post -%python_install_alternative jwt +%python_install_alternative pyjwt %postun -%python_uninstall_alternative jwt +%python_uninstall_alternative pyjwt %check %{python_expand PYTHONPATH=%{buildroot}%{python_sitelib} py.test-%{py_ver} -k "not test_verify_false_deprecated" } %files %python_files %defattr(-,root,root,-) -%doc AUTHORS CHANGELOG.md LICENSE README.md +%doc AUTHORS CHANGELOG.md LICENSE README.rst %{python_sitelib}/* -%python_alternative %{_bindir}/jwt +%python_alternative %{_bindir}/pyjwt %changelog