forked from pool/python-PyJWT
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
This commit is contained in:
committed by
Git OBS Bridge
parent
5e8ec7efe7
commit
609318985d
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:87a831b7a3bfa8351511961469ed0462a769724d4da48a501cb8c96d1e17f570
|
||||
size 30486
|
3
PyJWT-1.5.2.tar.gz
Normal file
3
PyJWT-1.5.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1179f0bff86463b5308ee5f7aff1c350e1f38139d62a723e16fb2c557d1c795f
|
||||
size 72715
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user