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.7.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7bd70f261a3d
branches:  trunk
changeset: 386781:7bd70f261a3d
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Oct 29 11:07:21 2018 +0000

description:
py-cryptodome: updated to 3.7.0

3.7.0:

New features
* Added support for Poly1305 MAC (with AES and ChaCha20 ciphers for key derivation).
* Added support for ChaCha20-Poly1305 AEAD cipher.
* New parameter output for Crypto.Util.strxor.strxor, Crypto.Util.strxor.strxor_c,
  encrypt and decrypt methods in symmetric ciphers (Crypto.Cipher package).
  output is a pre-allocated buffer (a bytearray or a writeable memoryview)
  where the result must be stored.
  This requires less memory for very large payloads; it is also more efficient when
  encrypting (or decrypting) several small payloads.

Resolved issues
* AES-GCM hangs when processing more than 4GB at a time on x86 with PCLMULQDQ instruction.

Breaks in compatibility
* Drop support for Python 3.3.
* Remove Crypto.Util.py3compat.unhexlify and Crypto.Util.py3compat.hexlify.
* With the old Python 2.6, use only ctypes (and not cffi) to interface to native code.

diffstat:

 security/py-cryptodome/Makefile |   4 ++--
 security/py-cryptodome/PLIST    |  16 +++++++++++++++-
 security/py-cryptodome/distinfo |  10 +++++-----
 3 files changed, 22 insertions(+), 8 deletions(-)

diffs (92 lines):

diff -r a13532a85f65 -r 7bd70f261a3d security/py-cryptodome/Makefile
--- a/security/py-cryptodome/Makefile   Mon Oct 29 10:53:31 2018 +0000
+++ b/security/py-cryptodome/Makefile   Mon Oct 29 11:07:21 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2018/08/18 20:57:30 adam Exp $
+# $NetBSD: Makefile,v 1.18 2018/10/29 11:07:21 adam Exp $
 
-DISTNAME=      pycryptodome-3.6.6
+DISTNAME=      pycryptodome-3.7.0
 PKGNAME=       ${DISTNAME:S/^py/${PYPKGPREFIX}-/}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pycryptodome/}
diff -r a13532a85f65 -r 7bd70f261a3d security/py-cryptodome/PLIST
--- a/security/py-cryptodome/PLIST      Mon Oct 29 10:53:31 2018 +0000
+++ b/security/py-cryptodome/PLIST      Mon Oct 29 11:07:21 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2018/07/11 07:59:33 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2018/10/29 11:07:21 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -22,6 +22,9 @@
 ${PYSITELIB}/Crypto/Cipher/ChaCha20.py
 ${PYSITELIB}/Crypto/Cipher/ChaCha20.pyc
 ${PYSITELIB}/Crypto/Cipher/ChaCha20.pyo
+${PYSITELIB}/Crypto/Cipher/ChaCha20_Poly1305.py
+${PYSITELIB}/Crypto/Cipher/ChaCha20_Poly1305.pyc
+${PYSITELIB}/Crypto/Cipher/ChaCha20_Poly1305.pyo
 ${PYSITELIB}/Crypto/Cipher/DES.py
 ${PYSITELIB}/Crypto/Cipher/DES.pyc
 ${PYSITELIB}/Crypto/Cipher/DES.pyo
@@ -110,6 +113,9 @@
 ${PYSITELIB}/Crypto/Hash/MD5.py
 ${PYSITELIB}/Crypto/Hash/MD5.pyc
 ${PYSITELIB}/Crypto/Hash/MD5.pyo
+${PYSITELIB}/Crypto/Hash/Poly1305.py
+${PYSITELIB}/Crypto/Hash/Poly1305.pyc
+${PYSITELIB}/Crypto/Hash/Poly1305.pyo
 ${PYSITELIB}/Crypto/Hash/RIPEMD.py
 ${PYSITELIB}/Crypto/Hash/RIPEMD.pyc
 ${PYSITELIB}/Crypto/Hash/RIPEMD.pyo
@@ -169,6 +175,7 @@
 ${PYSITELIB}/Crypto/Hash/_ghash_clmul.so
 ${PYSITELIB}/Crypto/Hash/_ghash_portable.so
 ${PYSITELIB}/Crypto/Hash/_keccak.so
+${PYSITELIB}/Crypto/Hash/_poly1305.so
 ${PYSITELIB}/Crypto/Hash/keccak.py
 ${PYSITELIB}/Crypto/Hash/keccak.pyc
 ${PYSITELIB}/Crypto/Hash/keccak.pyo
@@ -270,6 +277,9 @@
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_ChaCha20.py
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_ChaCha20.pyc
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_ChaCha20.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_ChaCha20_Poly1305.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_ChaCha20_Poly1305.pyc
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_ChaCha20_Poly1305.pyo
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_DES.py
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_DES.pyc
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_DES.pyo
@@ -410,6 +420,7 @@
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/aes_eax_test.json
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/aes_gcm_test.json
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/aes_siv_cmac_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/chacha20_poly1305_test.json
 ${PYSITELIB}/Crypto/SelfTest/Hash/__init__.py
 ${PYSITELIB}/Crypto/SelfTest/Hash/__init__.pyc
 ${PYSITELIB}/Crypto/SelfTest/Hash/__init__.pyo
@@ -434,6 +445,9 @@
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_MD5.py
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_MD5.pyc
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_MD5.pyo
+${PYSITELIB}/Crypto/SelfTest/Hash/test_Poly1305.py
+${PYSITELIB}/Crypto/SelfTest/Hash/test_Poly1305.pyc
+${PYSITELIB}/Crypto/SelfTest/Hash/test_Poly1305.pyo
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_RIPEMD160.py
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_RIPEMD160.pyc
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_RIPEMD160.pyo
diff -r a13532a85f65 -r 7bd70f261a3d security/py-cryptodome/distinfo
--- a/security/py-cryptodome/distinfo   Mon Oct 29 10:53:31 2018 +0000
+++ b/security/py-cryptodome/distinfo   Mon Oct 29 11:07:21 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2018/08/18 20:57:30 adam Exp $
+$NetBSD: distinfo,v 1.15 2018/10/29 11:07:21 adam Exp $
 
-SHA1 (pycryptodome-3.6.6.tar.gz) = eb3e762b2958a3a905ea269a93ccd12a027e6dcc
-RMD160 (pycryptodome-3.6.6.tar.gz) = e1caad12bb8d099b0828b942c5927123e898f5b2
-SHA512 (pycryptodome-3.6.6.tar.gz) = ce03d9940c23ce59e19bcd795c300dbddeddd49756a4bfcc6933da66dfb8b7bedb8d6eaa2b01727c53e72c8e84dfcab2961d1580a188afa9c9451bd2099bdc61
-Size (pycryptodome-3.6.6.tar.gz) = 7137656 bytes
+SHA1 (pycryptodome-3.7.0.tar.gz) = 37dcc0f7aed9d8cd56ccc74257f9bc0380b99238
+RMD160 (pycryptodome-3.7.0.tar.gz) = 668ac65c1155bc985fc77df2b90ea11961748c95
+SHA512 (pycryptodome-3.7.0.tar.gz) = 8a25ad339901cf0823f8035380f514de1b86a2468ba303b6c5c3f27cc0bea7cb0ea6d7e911e57b1e5a35d3089b0290f4dda7670525ce33b7e8dfb6b3277e1ecc
+Size (pycryptodome-3.7.0.tar.gz) = 7180132 bytes



Home | Main Index | Thread Index | Old Index