summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-01-31 07:57:25 +0000
committeradam <adam@pkgsrc.org>2018-01-31 07:57:25 +0000
commitdea1e056885b887f42e52fa72525320fd899ed0e (patch)
tree20cfe416bb8440a834413dca1358a9850dc684ac /security
parentb54f8154c965c865cb8dce28f9fc18f82ab7ffbc (diff)
downloadpkgsrc-dea1e056885b887f42e52fa72525320fd899ed0e.tar.gz
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 (limited to 'security')
-rwxr-xr-xsecurity/py-cryptodome/Makefile4
-rw-r--r--security/py-cryptodome/PLIST18
-rw-r--r--security/py-cryptodome/distinfo10
3 files changed, 20 insertions, 12 deletions
diff --git a/security/py-cryptodome/Makefile b/security/py-cryptodome/Makefile
index 15392eaf199..f1e473c3996 100755
--- a/security/py-cryptodome/Makefile
+++ b/security/py-cryptodome/Makefile
@@ -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 --git a/security/py-cryptodome/PLIST b/security/py-cryptodome/PLIST
index 2909d18c2a5..4d7ab5490bf 100644
--- a/security/py-cryptodome/PLIST
+++ b/security/py-cryptodome/PLIST
@@ -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/Numbers.pyo
${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/_Numbers_int.pyo
${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_Numbers.pyo
${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/Util/strxor.pyo
${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 --git a/security/py-cryptodome/distinfo b/security/py-cryptodome/distinfo
index 1b8b0c6b89f..ab0e1562367 100644
--- a/security/py-cryptodome/distinfo
+++ b/security/py-cryptodome/distinfo
@@ -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