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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dce5e44b2450
branches:  trunk
changeset: 378964:dce5e44b2450
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Apr 18 04:34:13 2018 +0000

description:
py-cryptodome: updated to 3.6.1

3.6.1:
New features
Added Google Wycheproof tests (https://github.com/google/wycheproof) for RSA, DSA, ECDSA, GCM, SIV, EAX, CMAC.
New parameter mac_len (length of MAC tag) for CMAC.

Resolved issues
In certain circumstances (at counter wrapping, which happens on average after 32 GBi) AES GCM produced wrong ciphertexts.
Method encrypt() of AES SIV cipher could be still called, whereas only encrypt_and_digest() should be allowed.

diffstat:

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

diffs (65 lines):

diff -r 83eff7fcded1 -r dce5e44b2450 security/py-cryptodome/Makefile
--- a/security/py-cryptodome/Makefile   Wed Apr 18 04:30:09 2018 +0000
+++ b/security/py-cryptodome/Makefile   Wed Apr 18 04:34:13 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2018/04/13 07:28:39 adam Exp $
+# $NetBSD: Makefile,v 1.13 2018/04/18 04:34:13 adam Exp $
 
-DISTNAME=      pycryptodome-3.6.0
+DISTNAME=      pycryptodome-3.6.1
 PKGNAME=       ${DISTNAME:S/^py/${PYPKGPREFIX}-/}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pycryptodome/}
diff -r 83eff7fcded1 -r dce5e44b2450 security/py-cryptodome/PLIST
--- a/security/py-cryptodome/PLIST      Wed Apr 18 04:30:09 2018 +0000
+++ b/security/py-cryptodome/PLIST      Wed Apr 18 04:34:13 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2018/04/13 07:28:39 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2018/04/18 04:34:13 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -405,6 +405,9 @@
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/TDES/TOFBsubtab.rsp
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/TDES/TOFBvarkey.rsp
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/TDES/TOFBvartext.rsp
+${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/Hash/__init__.py
 ${PYSITELIB}/Crypto/SelfTest/Hash/__init__.pyc
 ${PYSITELIB}/Crypto/SelfTest/Hash/__init__.pyo
@@ -494,6 +497,7 @@
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_vectors/keccak/ShortMsgKAT_384.txt
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_vectors/keccak/ShortMsgKAT_512.txt
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_vectors/keccak/readme.txt
+${PYSITELIB}/Crypto/SelfTest/Hash/test_vectors/wycheproof/aes_cmac_test.json
 ${PYSITELIB}/Crypto/SelfTest/IO/__init__.py
 ${PYSITELIB}/Crypto/SelfTest/IO/__init__.pyc
 ${PYSITELIB}/Crypto/SelfTest/IO/__init__.pyo
@@ -601,6 +605,10 @@
 ${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/PKCS1-v1.5/SigGen15_186-2.txt
 ${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/PKCS1-v1.5/SigGen15_186-3.txt
 ${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/PKCS1-v1.5/SigVer15_186-3.rsp
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/dsa_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp256r1_sha256_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_test.json
 ${PYSITELIB}/Crypto/SelfTest/Util/__init__.py
 ${PYSITELIB}/Crypto/SelfTest/Util/__init__.pyc
 ${PYSITELIB}/Crypto/SelfTest/Util/__init__.pyo
diff -r 83eff7fcded1 -r dce5e44b2450 security/py-cryptodome/distinfo
--- a/security/py-cryptodome/distinfo   Wed Apr 18 04:30:09 2018 +0000
+++ b/security/py-cryptodome/distinfo   Wed Apr 18 04:34:13 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2018/04/13 07:28:39 adam Exp $
+$NetBSD: distinfo,v 1.10 2018/04/18 04:34:13 adam Exp $
 
-SHA1 (pycryptodome-3.6.0.tar.gz) = 96c229e1c877aad3ac7c9b6f491e81b5c1f3c3ce
-RMD160 (pycryptodome-3.6.0.tar.gz) = 550204e96085eeac4fdf51f9c2db5cc80e691a35
-SHA512 (pycryptodome-3.6.0.tar.gz) = 6cebf3107fac6f4da994aef9dcbebe3c6590584382ea178f63b6516ac48a8af209f06c4e176f454046dd5c6707dccbcd7b90da1e3ad9400e43f77d3181716513
-Size (pycryptodome-3.6.0.tar.gz) = 6778248 bytes
+SHA1 (pycryptodome-3.6.1.tar.gz) = 07a84b4345f475a442c83b29ce01e6cbeac1c5ce
+RMD160 (pycryptodome-3.6.1.tar.gz) = f61a2baf98e76ef961d9014fd67716fda29b20ef
+SHA512 (pycryptodome-3.6.1.tar.gz) = e8fe48e91ff3decd13908ccc45aa483bf9b3dbc7bdaf3625ab11c2b90663deb4d0eb634cab138d9aa8f1ce8df7400da3c5bf86688133b9047e7c9baebd74a3b8
+Size (pycryptodome-3.6.1.tar.gz) = 7167199 bytes



Home | Main Index | Thread Index | Old Index