pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-cryptodome



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Apr 18 04:34:13 UTC 2018

Modified Files:
        pkgsrc/security/py-cryptodome: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/security/py-cryptodome/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/security/py-cryptodome/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/security/py-cryptodome/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/py-cryptodome/Makefile
diff -u pkgsrc/security/py-cryptodome/Makefile:1.12 pkgsrc/security/py-cryptodome/Makefile:1.13
--- pkgsrc/security/py-cryptodome/Makefile:1.12 Fri Apr 13 07:28:39 2018
+++ pkgsrc/security/py-cryptodome/Makefile      Wed Apr 18 04:34:13 2018
@@ -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/}

Index: pkgsrc/security/py-cryptodome/PLIST
diff -u pkgsrc/security/py-cryptodome/PLIST:1.6 pkgsrc/security/py-cryptodome/PLIST:1.7
--- pkgsrc/security/py-cryptodome/PLIST:1.6     Fri Apr 13 07:28:39 2018
+++ pkgsrc/security/py-cryptodome/PLIST Wed Apr 18 04:34:13 2018
@@ -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
 ${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_v
 ${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/t
 ${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

Index: pkgsrc/security/py-cryptodome/distinfo
diff -u pkgsrc/security/py-cryptodome/distinfo:1.9 pkgsrc/security/py-cryptodome/distinfo:1.10
--- pkgsrc/security/py-cryptodome/distinfo:1.9  Fri Apr 13 07:28:39 2018
+++ pkgsrc/security/py-cryptodome/distinfo      Wed Apr 18 04:34:13 2018
@@ -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