From f5861bd78066602ee26ecc6fb6fa75217b70c7adc19fb2728aff7d8adf326e01 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 16 Oct 2021 22:51:19 +0000 Subject: [PATCH] - update to 3.11.0: * GH#512: Especially for very small bit sizes, ``Crypto.Util.number.getPrime()`` was occasionally generating primes larger than given the bit size. * GH#552: Correct typing annotations for ``PKCS115_Cipher.decrypt()``. * GH#555: ``decrypt()`` method of a PKCS#1v1.5 cipher returned a ``bytearray`` instead of ``bytes``. * GH#557: External DSA domain parameters were accepted even when the modulus (``p``) was not prime. This affected ``Crypto.PublicKey.DSA.generate()`` and ``Crypto.PublicKey.DSA.construct()``. * Added cSHAKE128 and cSHAKE256 (of SHA-3 family). * GH#558: The flag RTLD_DEEPBIND passed to ``dlopen()`` is not well supported by `address sanitizers `_. It is now possible to set the environment variable ``PYCRYPTDOME_DISABLE_DEEPBIND`` to drop that flag and allow security testing. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycryptodome?expand=0&rev=43 --- python-pycryptodome.changes | 16 ++++++++++++++++ python-pycryptodome.spec | 2 +- v3.10.1.tar.gz | 3 --- v3.11.0.tar.gz | 3 +++ 4 files changed, 20 insertions(+), 4 deletions(-) delete mode 100644 v3.10.1.tar.gz create mode 100644 v3.11.0.tar.gz diff --git a/python-pycryptodome.changes b/python-pycryptodome.changes index 55bb74e..4566c1f 100644 --- a/python-pycryptodome.changes +++ b/python-pycryptodome.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sat Oct 16 22:36:27 UTC 2021 - Dirk Müller + +- update to 3.11.0: + * GH#512: Especially for very small bit sizes, ``Crypto.Util.number.getPrime()`` was + occasionally generating primes larger than given the bit size. + * GH#552: Correct typing annotations for ``PKCS115_Cipher.decrypt()``. + * GH#555: ``decrypt()`` method of a PKCS#1v1.5 cipher returned a ``bytearray`` instead of ``bytes``. + * GH#557: External DSA domain parameters were accepted even when the modulus (``p``) was not prime. + This affected ``Crypto.PublicKey.DSA.generate()`` and ``Crypto.PublicKey.DSA.construct()``. + * Added cSHAKE128 and cSHAKE256 (of SHA-3 family). + * GH#558: The flag RTLD_DEEPBIND passed to ``dlopen()`` is not well supported by + `address sanitizers `_. + It is now possible to set the environment variable ``PYCRYPTDOME_DISABLE_DEEPBIND`` + to drop that flag and allow security testing. + ------------------------------------------------------------------- Thu Mar 4 21:00:08 UTC 2021 - Dirk Müller diff --git a/python-pycryptodome.spec b/python-pycryptodome.spec index cc4ba4b..4fd40a7 100644 --- a/python-pycryptodome.spec +++ b/python-pycryptodome.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-pycryptodome -Version: 3.10.1 +Version: 3.11.0 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 deleted file mode 100644 index 4982e59..0000000 --- a/v3.10.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:11f07d59a0e35a477ce8d73b90047fa11b7e3af4ebbac23745858d0f37e4f7c2 -size 15545471 diff --git a/v3.11.0.tar.gz b/v3.11.0.tar.gz new file mode 100644 index 0000000..3eb9c8e --- /dev/null +++ b/v3.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:401b147d44eb9cfe075883ea8748bbb5e9cdfcb936a03f4dcbdef6d095f17073 +size 15555515