Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-SecretStorage for 
openSUSE:Factory checked in at 2021-03-05 13:43:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-SecretStorage (Old)
 and      /work/SRC/openSUSE:Factory/.python-SecretStorage.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-SecretStorage"

Fri Mar  5 13:43:06 2021 rev:11 rq:876091 version:3.3.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-SecretStorage/python-SecretStorage.changes    
    2021-02-04 20:23:58.538817260 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-SecretStorage.new.2378/python-SecretStorage.changes
      2021-03-05 13:43:08.075505383 +0100
@@ -1,0 +2,7 @@
+Tue Mar  2 00:28:57 UTC 2021 - Dirk M??ller <dmuel...@suse.com>
+
+- update to 3.3.1:
+  * Fixed a deprecation warning from cryptography module.
+  * Added a :PEP:`561` ``py.typed`` file to declare typing support.
+
+-------------------------------------------------------------------

Old:
----
  SecretStorage-3.3.0.tar.gz

New:
----
  SecretStorage-3.3.1.tar.gz

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

Other differences:
------------------
++++++ python-SecretStorage.spec ++++++
--- /var/tmp/diff_new_pack.As5oUC/_old  2021-03-05 13:43:08.571505834 +0100
+++ /var/tmp/diff_new_pack.As5oUC/_new  2021-03-05 13:43:08.575505838 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-SecretStorage
-Version:        3.3.0
+Version:        3.3.1
 Release:        0
 Summary:        Python bindings to FreeDesktoporg Secret Service API
 License:        BSD-3-Clause

++++++ SecretStorage-3.3.0.tar.gz -> SecretStorage-3.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SecretStorage-3.3.0/PKG-INFO 
new/SecretStorage-3.3.1/PKG-INFO
--- old/SecretStorage-3.3.0/PKG-INFO    2020-11-24 13:53:29.875572400 +0100
+++ new/SecretStorage-3.3.1/PKG-INFO    2021-02-09 13:02:35.160884400 +0100
@@ -1,14 +1,14 @@
 Metadata-Version: 2.1
 Name: SecretStorage
-Version: 3.3.0
+Version: 3.3.1
 Summary: Python bindings to FreeDesktop.org Secret Service API
 Home-page: https://github.com/mitya57/secretstorage
 Author: Dmitry Shachnev
 Author-email: mity...@gmail.com
 License: BSD 3-Clause License
-Description: .. image:: https://api.travis-ci.org/mitya57/secretstorage.svg
-           :target: https://travis-ci.org/mitya57/secretstorage
-           :alt: Travis CI status
+Description: .. image:: 
https://github.com/mitya57/secretstorage/workflows/tests/badge.svg
+           :target: https://github.com/mitya57/secretstorage/actions
+           :alt: GitHub Actions status
         .. image:: 
https://codecov.io/gh/mitya57/secretstorage/branch/master/graph/badge.svg
            :target: https://codecov.io/gh/mitya57/secretstorage
            :alt: Coverage status
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SecretStorage-3.3.0/README.rst 
new/SecretStorage-3.3.1/README.rst
--- old/SecretStorage-3.3.0/README.rst  2020-11-17 17:34:25.000000000 +0100
+++ new/SecretStorage-3.3.1/README.rst  2021-02-08 19:54:02.000000000 +0100
@@ -1,6 +1,6 @@
-.. image:: https://api.travis-ci.org/mitya57/secretstorage.svg
-   :target: https://travis-ci.org/mitya57/secretstorage
-   :alt: Travis CI status
+.. image:: https://github.com/mitya57/secretstorage/workflows/tests/badge.svg
+   :target: https://github.com/mitya57/secretstorage/actions
+   :alt: GitHub Actions status
 .. image:: 
https://codecov.io/gh/mitya57/secretstorage/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/mitya57/secretstorage
    :alt: Coverage status
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SecretStorage-3.3.0/SecretStorage.egg-info/PKG-INFO 
new/SecretStorage-3.3.1/SecretStorage.egg-info/PKG-INFO
--- old/SecretStorage-3.3.0/SecretStorage.egg-info/PKG-INFO     2020-11-24 
13:53:29.000000000 +0100
+++ new/SecretStorage-3.3.1/SecretStorage.egg-info/PKG-INFO     2021-02-09 
13:02:34.000000000 +0100
@@ -1,14 +1,14 @@
 Metadata-Version: 2.1
 Name: SecretStorage
-Version: 3.3.0
+Version: 3.3.1
 Summary: Python bindings to FreeDesktop.org Secret Service API
 Home-page: https://github.com/mitya57/secretstorage
 Author: Dmitry Shachnev
 Author-email: mity...@gmail.com
 License: BSD 3-Clause License
-Description: .. image:: https://api.travis-ci.org/mitya57/secretstorage.svg
-           :target: https://travis-ci.org/mitya57/secretstorage
-           :alt: Travis CI status
+Description: .. image:: 
https://github.com/mitya57/secretstorage/workflows/tests/badge.svg
+           :target: https://github.com/mitya57/secretstorage/actions
+           :alt: GitHub Actions status
         .. image:: 
https://codecov.io/gh/mitya57/secretstorage/branch/master/graph/badge.svg
            :target: https://codecov.io/gh/mitya57/secretstorage
            :alt: Coverage status
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/SecretStorage-3.3.0/SecretStorage.egg-info/SOURCES.txt 
new/SecretStorage-3.3.1/SecretStorage.egg-info/SOURCES.txt
--- old/SecretStorage-3.3.0/SecretStorage.egg-info/SOURCES.txt  2020-11-24 
13:53:29.000000000 +0100
+++ new/SecretStorage-3.3.1/SecretStorage.egg-info/SOURCES.txt  2021-02-09 
13:02:35.000000000 +0100
@@ -23,6 +23,7 @@
 secretstorage/dhcrypto.py
 secretstorage/exceptions.py
 secretstorage/item.py
+secretstorage/py.typed
 secretstorage/util.py
 tests/__init__.py
 tests/cleanup_test_items.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SecretStorage-3.3.0/changelog 
new/SecretStorage-3.3.1/changelog
--- old/SecretStorage-3.3.0/changelog   2020-11-24 13:52:17.000000000 +0100
+++ new/SecretStorage-3.3.1/changelog   2021-02-09 12:46:26.000000000 +0100
@@ -1,3 +1,10 @@
+SecretStorage 3.3.1, 2021-02-09
+===============================
+
+* Fixed a deprecation warning from cryptography module.
+  Thanks to Jante Jomppanen for the pull request!
+* Added a :PEP:`561` ``py.typed`` file to declare typing support.
+
 SecretStorage 3.3.0, 2020-11-24
 ===============================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SecretStorage-3.3.0/docs/conf.py 
new/SecretStorage-3.3.1/docs/conf.py
--- old/SecretStorage-3.3.0/docs/conf.py        2020-11-24 13:48:19.000000000 
+0100
+++ new/SecretStorage-3.3.1/docs/conf.py        2021-02-09 12:57:26.000000000 
+0100
@@ -24,7 +24,7 @@
 
 # General information about the project.
 project = 'SecretStorage'
-copyright = '2020, Dmitry Shachnev'
+copyright = '2021, Dmitry Shachnev'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
@@ -33,7 +33,7 @@
 # The short X.Y version.
 version = '3.3'
 # The full version, including alpha/beta/rc tags.
-release = '3.3.0'
+release = '3.3.1'
 
 # The name of the Pygments (syntax highlighting) style to use.
 pygments_style = 'sphinx'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SecretStorage-3.3.0/secretstorage/__init__.py 
new/SecretStorage-3.3.1/secretstorage/__init__.py
--- old/SecretStorage-3.3.0/secretstorage/__init__.py   2020-11-24 
13:48:29.000000000 +0100
+++ new/SecretStorage-3.3.1/secretstorage/__init__.py   2021-02-09 
13:01:22.000000000 +0100
@@ -19,7 +19,7 @@
  ItemNotFoundException, PromptDismissedException
 from secretstorage.util import add_match_rules
 
-__version_tuple__ = (3, 3, 0)
+__version_tuple__ = (3, 3, 1)
 __version__ = '.'.join(map(str, __version_tuple__))
 
 __all__ = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SecretStorage-3.3.0/secretstorage/dhcrypto.py 
new/SecretStorage-3.3.1/secretstorage/dhcrypto.py
--- old/SecretStorage-3.3.0/secretstorage/dhcrypto.py   2018-09-02 
20:50:34.000000000 +0200
+++ new/SecretStorage-3.3.1/secretstorage/dhcrypto.py   2021-02-08 
19:18:46.000000000 +0100
@@ -13,7 +13,6 @@
 
 from hashlib import sha256
 from typing import Optional  # Needed for mypy
-from cryptography.utils import int_from_bytes
 
 # A standard 1024 bits (128 bytes) prime number for use in Diffie-Hellman 
exchange
 DH_PRIME_1024_BYTES = (
@@ -30,7 +29,7 @@
 def int_to_bytes(number: int) -> bytes:
        return number.to_bytes(math.ceil(number.bit_length() / 8), 'big')
 
-DH_PRIME_1024 = int_from_bytes(DH_PRIME_1024_BYTES, 'big')
+DH_PRIME_1024 = int.from_bytes(DH_PRIME_1024_BYTES, 'big')
 
 class Session(object):
        def __init__(self) -> None:
@@ -38,13 +37,13 @@
                self.aes_key = None  # type: Optional[bytes]
                self.encrypted = True
                # 128-bytes-long strong random number
-               self.my_private_key = int_from_bytes(os.urandom(0x80), 'big')
+               self.my_private_key = int.from_bytes(os.urandom(0x80), 'big')
                self.my_public_key = pow(2, self.my_private_key, DH_PRIME_1024)
 
        def set_server_public_key(self, server_public_key: int) -> None:
-               common_secret = pow(server_public_key, self.my_private_key,
+               common_secret_int = pow(server_public_key, self.my_private_key,
                        DH_PRIME_1024)
-               common_secret = int_to_bytes(common_secret)
+               common_secret = int_to_bytes(common_secret_int)
                # Prepend NULL bytes if needed
                common_secret = b'\x00' * (0x80 - len(common_secret)) + 
common_secret
                # HKDF with null salt, empty info and SHA-256 hash
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SecretStorage-3.3.0/secretstorage/util.py 
new/SecretStorage-3.3.1/secretstorage/util.py
--- old/SecretStorage-3.3.0/secretstorage/util.py       2020-11-20 
13:50:34.000000000 +0100
+++ new/SecretStorage-3.3.1/secretstorage/util.py       2021-02-08 
19:18:46.000000000 +0100
@@ -22,7 +22,6 @@
  SecretServiceNotAvailableException
 from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
 from cryptography.hazmat.backends import default_backend
-from cryptography.utils import int_from_bytes
 
 BUS_NAME = 'org.freedesktop.secrets'
 SERVICE_IFACE = SS_PREFIX + 'Service'
@@ -88,7 +87,7 @@
        else:
                signature, value = output
                assert signature == 'ay'
-               key = int_from_bytes(value, 'big')
+               key = int.from_bytes(value, 'big')
                session.set_server_public_key(key)
        session.object_path = result
        return session
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SecretStorage-3.3.0/setup.cfg 
new/SecretStorage-3.3.1/setup.cfg
--- old/SecretStorage-3.3.0/setup.cfg   2020-11-24 13:53:29.875572400 +0100
+++ new/SecretStorage-3.3.1/setup.cfg   2021-02-09 13:02:35.160884400 +0100
@@ -1,6 +1,6 @@
 [metadata]
 name = SecretStorage
-version = 3.3.0
+version = 3.3.1
 description = Python bindings to FreeDesktop.org Secret Service API
 long_description = file: README.rst
 long_description_content_type = text/x-rst
@@ -27,6 +27,9 @@
 python_requires = >=3.6
 install_requires = cryptography>=2.0; jeepney>=0.6
 
+[options.package_data]
+secretstorage = py.typed
+
 [egg_info]
 tag_build = 
 tag_date = 0

Reply via email to