From 5dd1c7eb074d8b0089163f8283751676c756d2bc Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Thu, 14 Oct 2021 18:23:12 +0800 Subject: [PATCH] python3-pycryptodome: upgrade 3.10.1 -> 3.11.0 3.11.0 (8 October 2021) Resolved issues GH#512: Especially for very small bit sizes, Crypto.Util.number.getPrime() was occasionally generating primes larger than given the bit size. Thanks to Koki Takahashi. 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(). Thanks to Koki Takahashi. New features Added cSHAKE128 and cSHAKE256 (of SHA-3 family). Thanks to Michael Schaffner. 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. Signed-off-by: Zheng Ruoqin Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-pycryptodome_3.10.1.bb | 5 ----- meta/recipes-devtools/python/python3-pycryptodome_3.11.0.bb | 5 +++++ ...cryptodomex_3.10.1.bb => python3-pycryptodomex_3.11.0.bb} | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-pycryptodome_3.10.1.bb create mode 100644 meta/recipes-devtools/python/python3-pycryptodome_3.11.0.bb rename meta/recipes-devtools/python/{python3-pycryptodomex_3.10.1.bb => python3-pycryptodomex_3.11.0.bb} (69%) diff --git a/meta/recipes-devtools/python/python3-pycryptodome_3.10.1.bb b/meta/recipes-devtools/python/python3-pycryptodome_3.10.1.bb deleted file mode 100644 index 28448b84fe..0000000000 --- a/meta/recipes-devtools/python/python3-pycryptodome_3.10.1.bb +++ /dev/null @@ -1,5 +0,0 @@ -require python-pycryptodome.inc -inherit setuptools3 - -SRC_URI[sha256sum] = "3e2e3a06580c5f190df843cdb90ea28d61099cf4924334d5297a995de68e4673" - diff --git a/meta/recipes-devtools/python/python3-pycryptodome_3.11.0.bb b/meta/recipes-devtools/python/python3-pycryptodome_3.11.0.bb new file mode 100644 index 0000000000..b0e37178e0 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pycryptodome_3.11.0.bb @@ -0,0 +1,5 @@ +require python-pycryptodome.inc +inherit setuptools3 + +SRC_URI[sha256sum] = "428096bbf7a77e207f418dfd4d7c284df8ade81d2dc80f010e92753a3e406ad0" + diff --git a/meta/recipes-devtools/python/python3-pycryptodomex_3.10.1.bb b/meta/recipes-devtools/python/python3-pycryptodomex_3.11.0.bb similarity index 69% rename from meta/recipes-devtools/python/python3-pycryptodomex_3.10.1.bb rename to meta/recipes-devtools/python/python3-pycryptodomex_3.11.0.bb index 2d929f11d0..f1132c21ac 100644 --- a/meta/recipes-devtools/python/python3-pycryptodomex_3.10.1.bb +++ b/meta/recipes-devtools/python/python3-pycryptodomex_3.11.0.bb @@ -1,7 +1,7 @@ require python-pycryptodome.inc inherit setuptools3 -SRC_URI[sha256sum] = "541cd3e3e252fb19a7b48f420b798b53483302b7fe4d9954c947605d0a263d62" +SRC_URI[sha256sum] = "0398366656bb55ebdb1d1d493a7175fc48ade449283086db254ac44c7d318d6d" FILES:${PN}-tests = " \ ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \ -- 2.40.1