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:           Sun Mar 24 10:41:02 UTC 2019

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

Log Message:
py-cryptodome: updated to 3.8.0

3.8.0:

New features
* Speed-up ECC performance. ECDSA is 33 times faster on the NIST P-256 curve.
* Added support for NIST P-384 and P-521 curves.
* EccKey has new methods size_in_bits() and size_in_bytes().
* Support HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, and HMAC-SHA512 in PBE2/PBKDF2.

Resolved issues
* DER objects were not rejected if their length field had a leading zero.
* Allow legacy RC2 ciphers to have 40-bit keys.
* ASN.1 Object IDs did not allow the value 0 in the path.

Breaks in compatibility
* point_at_infinity() becomes an instance method for Crypto.PublicKey.ECC.EccKey, from a static one.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/security/py-cryptodome/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/security/py-cryptodome/PLIST
cvs rdiff -u -r1.18 -r1.19 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.21 pkgsrc/security/py-cryptodome/Makefile:1.22
--- pkgsrc/security/py-cryptodome/Makefile:1.21 Sun Jan 20 11:54:23 2019
+++ pkgsrc/security/py-cryptodome/Makefile      Sun Mar 24 10:41:01 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2019/01/20 11:54:23 adam Exp $
+# $NetBSD: Makefile,v 1.22 2019/03/24 10:41:01 adam Exp $
 
-DISTNAME=      pycryptodome-3.7.3
+DISTNAME=      pycryptodome-3.8.0
 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.12 pkgsrc/security/py-cryptodome/PLIST:1.13
--- pkgsrc/security/py-cryptodome/PLIST:1.12    Sun Jan 20 11:54:23 2019
+++ pkgsrc/security/py-cryptodome/PLIST Sun Mar 24 10:41:01 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2019/01/20 11:54:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.13 2019/03/24 10:41:01 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -269,7 +269,7 @@ ${PYSITELIB}/Crypto/Math/_IntegerNative.
 ${PYSITELIB}/Crypto/Math/__init__.py
 ${PYSITELIB}/Crypto/Math/__init__.pyc
 ${PYSITELIB}/Crypto/Math/__init__.pyo
-${PYSITELIB}/Crypto/Math/_montgomery.so
+${PYSITELIB}/Crypto/Math/_modexp.so
 ${PYSITELIB}/Crypto/Protocol/KDF.py
 ${PYSITELIB}/Crypto/Protocol/KDF.pyc
 ${PYSITELIB}/Crypto/Protocol/KDF.pyi
@@ -303,6 +303,7 @@ ${PYSITELIB}/Crypto/PublicKey/__init__.p
 ${PYSITELIB}/Crypto/PublicKey/__init__.pyc
 ${PYSITELIB}/Crypto/PublicKey/__init__.pyi
 ${PYSITELIB}/Crypto/PublicKey/__init__.pyo
+${PYSITELIB}/Crypto/PublicKey/_ec_ws.so
 ${PYSITELIB}/Crypto/Random/__init__.py
 ${PYSITELIB}/Crypto/Random/__init__.pyc
 ${PYSITELIB}/Crypto/Random/__init__.pyi
@@ -455,8 +456,10 @@ ${PYSITELIB}/Crypto/SelfTest/Cipher/test
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/AES/OFBVarTxt128.rsp
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/AES/OFBVarTxt192.rsp
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/AES/OFBVarTxt256.rsp
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/AES/README.txt
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/AES/gcmDecrypt128.rsp
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/AES/gcmEncryptExtIV128.rsp
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/TDES/README.txt
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/TDES/TCBCMMT2.rsp
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/TDES/TCBCMMT3.rsp
 ${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/TDES/TCBCinvperm.rsp
@@ -659,9 +662,51 @@ ${PYSITELIB}/Crypto/SelfTest/PublicKey/t
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_public_openssh.txt
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_x509.der
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_x509.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384.txt
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_private.der
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_private.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_private_enc_aes128.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_private_enc_aes192.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_private_enc_aes256_gcm.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_private_enc_des3.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_private_p8.der
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_private_p8.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_private_p8_clear.der
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_private_p8_clear.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_public.der
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_public.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_public_compressed.der
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_public_compressed.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_public_openssh.txt
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_x509.der
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_x509.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521.txt
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_private.der
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_private.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_private_enc_aes128.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_private_enc_aes192.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_private_enc_aes256_gcm.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_private_enc_des3.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_private_p8.der
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_private_p8.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_private_p8_clear.der
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_private_p8_clear.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_public.der
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_public.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_public_compressed.der
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_public_compressed.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_public_openssh.txt
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_x509.der
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_x509.pem
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/gen_ecc_p256.sh
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/gen_ecc_p384.sh
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/gen_ecc_p521.sh
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/openssl_version.txt
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/openssl_version_p384.txt
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/openssl_version_p521.txt
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/point-at-infinity.org-P256.txt
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/point-at-infinity.org-P384.txt
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/point-at-infinity.org-P521.txt
 ${PYSITELIB}/Crypto/SelfTest/Random/__init__.py
 ${PYSITELIB}/Crypto/SelfTest/Random/__init__.pyc
 ${PYSITELIB}/Crypto/SelfTest/Random/__init__.pyo
@@ -693,7 +738,26 @@ ${PYSITELIB}/Crypto/SelfTest/Signature/t
 ${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_secp256r1_sha512_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp384r1_sha384_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp384r1_sha512_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp521r1_sha512_test.json
 ${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_pss_2048_sha1_mgf1_20_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_pss_2048_sha256_mgf1_0_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_pss_2048_sha256_mgf1_32_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_pss_3072_sha256_mgf1_32_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_pss_4096_sha256_mgf1_32_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_pss_4096_sha512_mgf1_32_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_pss_misc_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_2048_sha224_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_2048_sha256_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_2048_sha512_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_3072_sha256_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_3072_sha384_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_3072_sha512_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_4096_sha384_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_4096_sha512_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

Index: pkgsrc/security/py-cryptodome/distinfo
diff -u pkgsrc/security/py-cryptodome/distinfo:1.18 pkgsrc/security/py-cryptodome/distinfo:1.19
--- pkgsrc/security/py-cryptodome/distinfo:1.18 Sun Jan 20 11:54:23 2019
+++ pkgsrc/security/py-cryptodome/distinfo      Sun Mar 24 10:41:01 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2019/01/20 11:54:23 adam Exp $
+$NetBSD: distinfo,v 1.19 2019/03/24 10:41:01 adam Exp $
 
-SHA1 (pycryptodome-3.7.3.tar.gz) = 30972e2bf7384721277dcc568e825f108c26d685
-RMD160 (pycryptodome-3.7.3.tar.gz) = 2b3bf255c087fd7bba8d6956a18df2885b79e36c
-SHA512 (pycryptodome-3.7.3.tar.gz) = b5e09c08cd252cad4d76249be84ce29e16a9bba4f2c5e81594c24d9a39df0f3fc67822698497eb9daa4cb6a43311c5d5a2543f187a5d5f801288596c2941f08f
-Size (pycryptodome-3.7.3.tar.gz) = 9285823 bytes
+SHA1 (pycryptodome-3.8.0.tar.gz) = 85a6c923420176f4b9b332db68c89230803c5dcc
+RMD160 (pycryptodome-3.8.0.tar.gz) = a54a9e618c9cbc5da2610c12bea36cbfe9cef875
+SHA512 (pycryptodome-3.8.0.tar.gz) = f7f3928e71a87accd9edf88e981b52c55bcd59a3da4c470ecf3d3e5f26f0cc265bedfb97bb1e5142f306a4678a1286f9ca8efc9cd84801a6a3db5b1824c91648
+Size (pycryptodome-3.8.0.tar.gz) = 11495774 bytes



Home | Main Index | Thread Index | Old Index