Hello community,

here is the log from the commit of package python-jwcrypto for openSUSE:Factory 
checked in at 2017-07-25 11:41:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jwcrypto (Old)
 and      /work/SRC/openSUSE:Factory/.python-jwcrypto.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jwcrypto"

Tue Jul 25 11:41:20 2017 rev:2 rq:512359 version:0.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jwcrypto/python-jwcrypto.changes  
2017-01-25 23:22:02.330508481 +0100
+++ /work/SRC/openSUSE:Factory/.python-jwcrypto.new/python-jwcrypto.changes     
2017-07-25 11:41:34.634338269 +0200
@@ -1,0 +2,5 @@
+Mon Jul 24 19:54:55 UTC 2017 - mich...@stroeder.com
+
+- update to upstream release 0.4.1
+
+-------------------------------------------------------------------

Old:
----
  jwcrypto-0.4.0.tar.gz

New:
----
  jwcrypto-0.4.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jwcrypto.spec ++++++
--- /var/tmp/diff_new_pack.aqjq1J/_old  2017-07-25 11:41:35.106271639 +0200
+++ /var/tmp/diff_new_pack.aqjq1J/_new  2017-07-25 11:41:35.106271639 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-jwcrypto
-Version:        0.4.0
+Version:        0.4.1
 Release:        0
 Summary:        Python module package implementing JOSE Web standards
 License:        LGPL-3.0

++++++ jwcrypto-0.4.0.tar.gz -> jwcrypto-0.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jwcrypto-0.4.0/PKG-INFO new/jwcrypto-0.4.1/PKG-INFO
--- old/jwcrypto-0.4.0/PKG-INFO 2016-11-29 20:29:34.000000000 +0100
+++ new/jwcrypto-0.4.1/PKG-INFO 2017-07-24 11:16:07.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: jwcrypto
-Version: 0.4.0
+Version: 0.4.1
 Summary: Implementation of JOSE Web standards
 Home-page: https://github.com/latchset/jwcrypto
 Author: JWCrypto Project Contributors
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jwcrypto-0.4.0/jwcrypto/jwa.py 
new/jwcrypto-0.4.1/jwcrypto/jwa.py
--- old/jwcrypto-0.4.0/jwcrypto/jwa.py  2016-11-29 20:25:04.000000000 +0100
+++ new/jwcrypto-0.4.1/jwcrypto/jwa.py  2017-07-24 11:09:55.000000000 +0200
@@ -122,15 +122,11 @@
 
     def sign(self, key, payload):
         skey = key.get_op_key('sign')
-        signer = skey.signer(self.padfn, self.hashfn)
-        signer.update(payload)
-        return signer.finalize()
+        return skey.sign(payload, self.padfn, self.hashfn)
 
     def verify(self, key, payload, signature):
         pkey = key.get_op_key('verify')
-        verifier = pkey.verifier(signature, self.padfn, self.hashfn)
-        verifier.update(payload)
-        verifier.verify()
+        pkey.verify(signature, payload, self.padfn, self.hashfn)
 
 
 class _RawEC(_RawJWS):
@@ -144,9 +140,7 @@
 
     def sign(self, key, payload):
         skey = key.get_op_key('sign', self._curve)
-        signer = skey.signer(ec.ECDSA(self.hashfn))
-        signer.update(payload)
-        signature = signer.finalize()
+        signature = skey.sign(payload, ec.ECDSA(self.hashfn))
         r, s = ec_utils.decode_rfc6979_signature(signature)
         l = key.get_curve(self._curve).key_size
         return _encode_int(r, l) + _encode_int(s, l)
@@ -157,9 +151,7 @@
         s = signature[len(signature) // 2:]
         enc_signature = ec_utils.encode_rfc6979_signature(
             int(hexlify(r), 16), int(hexlify(s), 16))
-        verifier = pkey.verifier(enc_signature, ec.ECDSA(self.hashfn))
-        verifier.update(payload)
-        verifier.verify()
+        pkey.verify(enc_signature, payload, ec.ECDSA(self.hashfn))
 
 
 class _RawNone(_RawJWS):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jwcrypto-0.4.0/jwcrypto/jwk.py 
new/jwcrypto-0.4.1/jwcrypto/jwk.py
--- old/jwcrypto-0.4.0/jwcrypto/jwk.py  2016-11-29 20:25:04.000000000 +0100
+++ new/jwcrypto-0.4.1/jwcrypto/jwk.py  2017-07-24 11:09:55.000000000 +0200
@@ -166,7 +166,7 @@
 
     This object represent a Key.
     It must be instantiated by using the standard defined key/value pairs
-    as arguents of the initialization function.
+    as arguments of the initialization function.
     """
 
     def __init__(self, **kwargs):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jwcrypto-0.4.0/jwcrypto/jwt.py 
new/jwcrypto-0.4.1/jwcrypto/jwt.py
--- old/jwcrypto-0.4.0/jwcrypto/jwt.py  2016-11-29 20:25:04.000000000 +0100
+++ new/jwcrypto-0.4.1/jwcrypto/jwt.py  2017-07-24 11:09:55.000000000 +0200
@@ -191,15 +191,15 @@
         if header:
             self.header = header
 
-        if claims:
-            self.claims = claims
-
         if default_claims is not None:
             self._reg_claims = default_claims
 
         if check_claims is not None:
             self._check_claims = check_claims
 
+        if claims:
+            self.claims = claims
+
         if jwt is not None:
             self.deserialize(jwt, key)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jwcrypto-0.4.0/jwcrypto.egg-info/PKG-INFO 
new/jwcrypto-0.4.1/jwcrypto.egg-info/PKG-INFO
--- old/jwcrypto-0.4.0/jwcrypto.egg-info/PKG-INFO       2016-11-29 
20:29:33.000000000 +0100
+++ new/jwcrypto-0.4.1/jwcrypto.egg-info/PKG-INFO       2017-07-24 
11:16:07.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: jwcrypto
-Version: 0.4.0
+Version: 0.4.1
 Summary: Implementation of JOSE Web standards
 Home-page: https://github.com/latchset/jwcrypto
 Author: JWCrypto Project Contributors
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jwcrypto-0.4.0/jwcrypto.egg-info/requires.txt 
new/jwcrypto-0.4.1/jwcrypto.egg-info/requires.txt
--- old/jwcrypto-0.4.0/jwcrypto.egg-info/requires.txt   2016-11-29 
20:29:33.000000000 +0100
+++ new/jwcrypto-0.4.1/jwcrypto.egg-info/requires.txt   2017-07-24 
11:16:07.000000000 +0200
@@ -1 +1 @@
-cryptography >= 0.7.2
+cryptography>=1.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jwcrypto-0.4.0/setup.cfg new/jwcrypto-0.4.1/setup.cfg
--- old/jwcrypto-0.4.0/setup.cfg        2016-11-29 20:29:34.000000000 +0100
+++ new/jwcrypto-0.4.1/setup.cfg        2017-07-24 11:16:07.000000000 +0200
@@ -8,5 +8,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jwcrypto-0.4.0/setup.py new/jwcrypto-0.4.1/setup.py
--- old/jwcrypto-0.4.0/setup.py 2016-11-29 20:26:37.000000000 +0100
+++ new/jwcrypto-0.4.1/setup.py 2017-07-24 11:10:39.000000000 +0200
@@ -6,7 +6,7 @@
 
 setup(
     name = 'jwcrypto',
-    version = '0.4.0',
+    version = '0.4.1',
     license = 'LGPLv3+',
     maintainer = 'JWCrypto Project Contributors',
     maintainer_email = 's...@redhat.com',
@@ -23,7 +23,7 @@
     ],
     data_files = [('share/doc/jwcrypto', ['LICENSE', 'README.md'])],
     install_requires = [
-        'cryptography >= 0.7.2',
+        'cryptography >= 1.5',
     ],
 )
 


Reply via email to