pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-cryptodome py-cryptodome: updated to 3.4.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea4add78c382
branches:  trunk
changeset: 374886:ea4add78c382
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 31 07:57:25 2018 +0000

description:
py-cryptodome: updated to 3.4.8

3.4.8:

New features
* Added a native extension in pure C for modular exponentiation, optimized for SSE2 on x86.
  In the process, we drop support for the arbitrary arithmetic library MPIR
  on Windows, which is painful to compile and deploy.
  The custom  modular exponentiation is 130% (160%) slower on an Intel CPU in 32-bit (64-bit) mode,
  compared to MPIR. Still, that is much faster that CPython's own `pow()` function which
  is 900% (855%) slower than MPIR. Support for the GMP library on Unix remains.
* Added support for *manylinux* wheels.
* Support for Python 3.7.

Resolved issues
* The DSA parameter 'p' prime was created with 255 bits cleared
  (but still with the correct strength).
* Not all docs were included in the tar ball.
* ECDSA verification failed for DER encoded signatures.
* Human-friendly messages for padding errors with ECB and CBC.

diffstat:

 security/py-cryptodome/Makefile |   4 ++--
 security/py-cryptodome/PLIST    |  18 +++++++++++++-----
 security/py-cryptodome/distinfo |  10 +++++-----
 3 files changed, 20 insertions(+), 12 deletions(-)

diffs (77 lines):

diff -r 362d08e8814e -r ea4add78c382 security/py-cryptodome/Makefile
--- a/security/py-cryptodome/Makefile   Wed Jan 31 07:50:46 2018 +0000
+++ b/security/py-cryptodome/Makefile   Wed Jan 31 07:57:25 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2017/09/27 20:10:56 adam Exp $
+# $NetBSD: Makefile,v 1.8 2018/01/31 07:57:25 adam Exp $
 
-DISTNAME=      pycryptodome-3.4.7
+DISTNAME=      pycryptodome-3.4.8
 PKGNAME=       ${DISTNAME:S/^py/${PYPKGPREFIX}-/}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pycryptodome/}
diff -r 362d08e8814e -r ea4add78c382 security/py-cryptodome/PLIST
--- a/security/py-cryptodome/PLIST      Wed Jan 31 07:50:46 2018 +0000
+++ b/security/py-cryptodome/PLIST      Wed Jan 31 07:57:25 2018 +0000
@@ -1,4 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2017/03/07 16:28:17 maya Exp $
+@comment $NetBSD: PLIST,v 1.4 2018/01/31 07:57:25 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/Crypto/Cipher/AES.py
 ${PYSITELIB}/Crypto/Cipher/AES.pyc
 ${PYSITELIB}/Crypto/Cipher/AES.pyo
@@ -181,6 +186,9 @@
 ${PYSITELIB}/Crypto/Math/Primality.py
 ${PYSITELIB}/Crypto/Math/Primality.pyc
 ${PYSITELIB}/Crypto/Math/Primality.pyo
+${PYSITELIB}/Crypto/Math/_Numbers_custom.py
+${PYSITELIB}/Crypto/Math/_Numbers_custom.pyc
+${PYSITELIB}/Crypto/Math/_Numbers_custom.pyo
 ${PYSITELIB}/Crypto/Math/_Numbers_gmp.py
 ${PYSITELIB}/Crypto/Math/_Numbers_gmp.pyc
 ${PYSITELIB}/Crypto/Math/_Numbers_gmp.pyo
@@ -190,6 +198,7 @@
 ${PYSITELIB}/Crypto/Math/__init__.py
 ${PYSITELIB}/Crypto/Math/__init__.pyc
 ${PYSITELIB}/Crypto/Math/__init__.pyo
+${PYSITELIB}/Crypto/Math/_montgomery.so
 ${PYSITELIB}/Crypto/Protocol/KDF.py
 ${PYSITELIB}/Crypto/Protocol/KDF.pyc
 ${PYSITELIB}/Crypto/Protocol/KDF.pyo
@@ -497,6 +506,9 @@
 ${PYSITELIB}/Crypto/SelfTest/Math/test_Primality.py
 ${PYSITELIB}/Crypto/SelfTest/Math/test_Primality.pyc
 ${PYSITELIB}/Crypto/SelfTest/Math/test_Primality.pyo
+${PYSITELIB}/Crypto/SelfTest/Math/test_modexp.py
+${PYSITELIB}/Crypto/SelfTest/Math/test_modexp.pyc
+${PYSITELIB}/Crypto/SelfTest/Math/test_modexp.pyo
 ${PYSITELIB}/Crypto/SelfTest/Protocol/__init__.py
 ${PYSITELIB}/Crypto/SelfTest/Protocol/__init__.pyc
 ${PYSITELIB}/Crypto/SelfTest/Protocol/__init__.pyo
@@ -668,7 +680,3 @@
 ${PYSITELIB}/Crypto/__init__.py
 ${PYSITELIB}/Crypto/__init__.pyc
 ${PYSITELIB}/Crypto/__init__.pyo
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff -r 362d08e8814e -r ea4add78c382 security/py-cryptodome/distinfo
--- a/security/py-cryptodome/distinfo   Wed Jan 31 07:50:46 2018 +0000
+++ b/security/py-cryptodome/distinfo   Wed Jan 31 07:57:25 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2017/09/27 20:10:56 adam Exp $
+$NetBSD: distinfo,v 1.5 2018/01/31 07:57:25 adam Exp $
 
-SHA1 (pycryptodome-3.4.7.tar.gz) = 19e7035789179fd2574fb36baf2ea548323f5b40
-RMD160 (pycryptodome-3.4.7.tar.gz) = 72065fe6e79de640c548a76c1b87cdef4fc4b082
-SHA512 (pycryptodome-3.4.7.tar.gz) = a328df1f3b2cfeccbb5984aca4c5cbd59e8a352c817e82411d2876b2494476027f63e61200b0cc87e9420e8b47e91fffe71865fb2c23a66da0276814641eaab0
-Size (pycryptodome-3.4.7.tar.gz) = 6483140 bytes
+SHA1 (pycryptodome-3.4.8.tar.gz) = b17f4d64009a636b3b1b1cdc7404a9ab95862daf
+RMD160 (pycryptodome-3.4.8.tar.gz) = 125315cea76e8260a3ffb211c00a82ae448835c1
+SHA512 (pycryptodome-3.4.8.tar.gz) = b211dad8f74b3c37c43adf0f6389a3df1bb56d7ebc2083fe36ea657ed5290a106b4c61b855e21c0ab1271d0bbc847e7d81a63984f80384b47a0196daa7e3867c
+Size (pycryptodome-3.4.8.tar.gz) = 6699353 bytes



Home | Main Index | Thread Index | Old Index