From 9ae1dc08a07d9cbf2ea423c385bd62cf71d1a9862968badc139edc3d957bfb0d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 4 Mar 2021 21:02:59 +0000 Subject: [PATCH] - update to 3.10.1: * Fixed a potential memory leak when initializing block ciphers. * GH#466: ``Crypto.Math.miller_rabin_test()`` was still using the system random source and not the one provided as parameter. * GH#469: RSA objects have the method ``public_key()`` like ECC objects. The old method ``publickey()`` is still available for backward compatibility. * GH#476: ``Crypto.Util.Padding.unpad()`` was raising an incorrect exception in case of zero-length inputs. Thanks to Captainowie. * GH#491: better exception message when ``Counter.new()`` is called with an integer ``initial_value`` than doesn't fit into ``nbits`` bits. * GH#496: added missing ``block_size`` member for ECB cipher objects. Thanks to willem. * GH#500: ``nonce`` member of an XChaCha20 cipher object was not matching the original nonce. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycryptodome?expand=0&rev=41 --- python-pycryptodome.changes | 16 ++++++++++++++++ python-pycryptodome.spec | 4 ++-- v3.10.1.tar.gz | 3 +++ v3.9.9.tar.gz | 3 --- 4 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 v3.10.1.tar.gz delete mode 100644 v3.9.9.tar.gz diff --git a/python-pycryptodome.changes b/python-pycryptodome.changes index a25aba3..55bb74e 100644 --- a/python-pycryptodome.changes +++ b/python-pycryptodome.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Mar 4 21:00:08 UTC 2021 - Dirk Müller + +- update to 3.10.1: + * Fixed a potential memory leak when initializing block ciphers. + * GH#466: ``Crypto.Math.miller_rabin_test()`` was still using the system random + source and not the one provided as parameter. + * GH#469: RSA objects have the method ``public_key()`` like ECC objects. + The old method ``publickey()`` is still available for backward compatibility. + * GH#476: ``Crypto.Util.Padding.unpad()`` was raising an incorrect exception + in case of zero-length inputs. Thanks to Captainowie. + * GH#491: better exception message when ``Counter.new()`` is called with an integer + ``initial_value`` than doesn't fit into ``nbits`` bits. + * GH#496: added missing ``block_size`` member for ECB cipher objects. Thanks to willem. + * GH#500: ``nonce`` member of an XChaCha20 cipher object was not matching the original nonce. + ------------------------------------------------------------------- Tue Dec 1 09:48:51 UTC 2020 - Hans-Peter Jansen diff --git a/python-pycryptodome.spec b/python-pycryptodome.spec index e38c2a4..cc4ba4b 100644 --- a/python-pycryptodome.spec +++ b/python-pycryptodome.spec @@ -1,7 +1,7 @@ # # spec file for package python-pycryptodome # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-pycryptodome -Version: 3.9.9 +Version: 3.10.1 Release: 0 Summary: Cryptographic library for Python License: BSD-2-Clause diff --git a/v3.10.1.tar.gz b/v3.10.1.tar.gz new file mode 100644 index 0000000..4982e59 --- /dev/null +++ b/v3.10.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11f07d59a0e35a477ce8d73b90047fa11b7e3af4ebbac23745858d0f37e4f7c2 +size 15545471 diff --git a/v3.9.9.tar.gz b/v3.9.9.tar.gz deleted file mode 100644 index 14e792c..0000000 --- a/v3.9.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:abb476e10b4266472d709697a9ec96eb4bdcaaa8708badcfec64daadbacbcef0 -size 15551299