summaryrefslogtreecommitdiff
path: root/security/py-cryptodome
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-03-24 10:41:01 +0000
committeradam <adam@pkgsrc.org>2019-03-24 10:41:01 +0000
commite4dd0d259dc907b112f91d2e826bd4a8e43d4d33 (patch)
tree3db2c5f8753a9dfb77463f5e5480f54011878fc6 /security/py-cryptodome
parent6937e41d78942cab55d87fc9667e6534b0f88c98 (diff)
downloadpkgsrc-e4dd0d259dc907b112f91d2e826bd4a8e43d4d33.tar.gz
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.
Diffstat (limited to 'security/py-cryptodome')
-rwxr-xr-xsecurity/py-cryptodome/Makefile4
-rw-r--r--security/py-cryptodome/PLIST68
-rw-r--r--security/py-cryptodome/distinfo10
3 files changed, 73 insertions, 9 deletions
diff --git a/security/py-cryptodome/Makefile b/security/py-cryptodome/Makefile
index 61284c6e526..7bb939d7e3a 100755
--- a/security/py-cryptodome/Makefile
+++ b/security/py-cryptodome/Makefile
@@ -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/}
diff --git a/security/py-cryptodome/PLIST b/security/py-cryptodome/PLIST
index 188986b705e..174f0556792 100644
--- a/security/py-cryptodome/PLIST
+++ b/security/py-cryptodome/PLIST
@@ -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.pyo
${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__.py
${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_vectors/AES/OFBVarKey256.rsp
${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/test_vectors/ECC/ecc_p256_public_compress
${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/test_vectors/PKCS1-v1.5/SigGen15_186-3.tx
${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
diff --git a/security/py-cryptodome/distinfo b/security/py-cryptodome/distinfo
index 109c5ea1213..2b4b2fdb4cd 100644
--- a/security/py-cryptodome/distinfo
+++ b/security/py-cryptodome/distinfo
@@ -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