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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/33e221fbce1e
branches:  trunk
changeset: 411052:33e221fbce1e
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Feb 04 09:36:21 2020 +0000

description:
py-cryptodome: updated to 3.9.6

3.9.6:

Resolved issues
* Fix building of wheels for OSX by explicitly setting `sysroot` location.


3.9.5:

Resolved issues
* RSA OAEP decryption was not verifying that all ``PS`` bytes are zero.
* GH-372: fixed memory leak for operations that use memoryviews when `cffi` is not installed.
* Fixed wrong ASN.1 OID for HMAC-SHA512 in PBE2.

New features
* Updated Wycheproof test vectors to version 0.8r12.

diffstat:

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

diffs (144 lines):

diff -r 857287f62f5f -r 33e221fbce1e security/py-cryptodome/Makefile
--- a/security/py-cryptodome/Makefile   Tue Feb 04 09:15:51 2020 +0000
+++ b/security/py-cryptodome/Makefile   Tue Feb 04 09:36:21 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2019/11/25 06:18:14 adam Exp $
+# $NetBSD: Makefile,v 1.29 2020/02/04 09:36:21 adam Exp $
 
-DISTNAME=      pycryptodome-3.9.4
+DISTNAME=      pycryptodome-3.9.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pycryptodome/}
diff -r 857287f62f5f -r 33e221fbce1e security/py-cryptodome/PLIST
--- a/security/py-cryptodome/PLIST      Tue Feb 04 09:15:51 2020 +0000
+++ b/security/py-cryptodome/PLIST      Tue Feb 04 09:36:21 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2019/11/25 06:18:14 adam Exp $
+@comment $NetBSD: PLIST,v 1.18 2020/02/04 09:36:21 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -497,10 +497,34 @@
 ${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/aead_aes_siv_cmac_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/aes_ccm_test.json
 ${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/Cipher/test_vectors/wycheproof/rsa_oaep_2048_sha1_mgf1sha1_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_2048_sha224_mgf1sha1_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_2048_sha224_mgf1sha224_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_2048_sha256_mgf1sha1_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_2048_sha256_mgf1sha256_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_2048_sha384_mgf1sha1_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_2048_sha384_mgf1sha384_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_2048_sha512_mgf1sha1_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_2048_sha512_mgf1sha512_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_3072_sha256_mgf1sha1_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_3072_sha256_mgf1sha256_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_3072_sha512_mgf1sha1_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_3072_sha512_mgf1sha512_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_4096_sha256_mgf1sha1_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_4096_sha256_mgf1sha256_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_4096_sha512_mgf1sha1_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_4096_sha512_mgf1sha512_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_oaep_misc_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_pkcs1_2048_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_pkcs1_3072_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/rsa_pkcs1_4096_test.json
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_vectors/wycheproof/xchacha20_poly1305_test.json
 ${PYSITELIB}/Crypto/SelfTest/Hash/__init__.py
 ${PYSITELIB}/Crypto/SelfTest/Hash/__init__.pyc
 ${PYSITELIB}/Crypto/SelfTest/Hash/__init__.pyo
@@ -627,6 +651,10 @@
 ${PYSITELIB}/Crypto/SelfTest/Protocol/test_rfc1751.py
 ${PYSITELIB}/Crypto/SelfTest/Protocol/test_rfc1751.pyc
 ${PYSITELIB}/Crypto/SelfTest/Protocol/test_rfc1751.pyo
+${PYSITELIB}/Crypto/SelfTest/Protocol/test_vectors/wycheproof/hkdf_sha1_test.json
+${PYSITELIB}/Crypto/SelfTest/Protocol/test_vectors/wycheproof/hkdf_sha256_test.json
+${PYSITELIB}/Crypto/SelfTest/Protocol/test_vectors/wycheproof/hkdf_sha384_test.json
+${PYSITELIB}/Crypto/SelfTest/Protocol/test_vectors/wycheproof/hkdf_sha512_test.json
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/__init__.py
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/__init__.pyc
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/__init__.pyo
@@ -768,26 +796,61 @@
 ${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_secp224r1_sha224_p1363_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp224r1_sha224_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp224r1_sha256_p1363_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp224r1_sha256_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp224r1_sha3_224_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp224r1_sha3_256_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp224r1_sha3_512_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp224r1_sha512_p1363_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp224r1_sha512_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp256r1_sha256_p1363_test.json
 ${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp256r1_sha256_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp256r1_sha3_256_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp256r1_sha3_512_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp256r1_sha512_p1363_test.json
 ${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp256r1_sha512_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp384r1_sha384_p1363_test.json
 ${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp384r1_sha384_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp384r1_sha3_384_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp384r1_sha3_512_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp384r1_sha512_p1363_test.json
 ${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp384r1_sha512_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp521r1_sha3_512_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/ecdsa_secp521r1_sha512_p1363_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/ecdsa_webcrypto_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_2048_sha512_256_mgf1_28_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_pss_2048_sha512_256_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_sig_gen_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_sha384_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_2048_sha3_224_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_2048_sha3_256_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_2048_sha3_384_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_2048_sha3_512_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_2048_sha512_224_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_2048_sha512_256_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_sha3_256_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_3072_sha3_384_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_3072_sha3_512_test.json
+${PYSITELIB}/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_3072_sha512_256_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_256_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
diff -r 857287f62f5f -r 33e221fbce1e security/py-cryptodome/distinfo
--- a/security/py-cryptodome/distinfo   Tue Feb 04 09:15:51 2020 +0000
+++ b/security/py-cryptodome/distinfo   Tue Feb 04 09:36:21 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.25 2019/11/25 06:18:14 adam Exp $
+$NetBSD: distinfo,v 1.26 2020/02/04 09:36:21 adam Exp $
 
-SHA1 (pycryptodome-3.9.4.tar.gz) = 54fa0f4aa98084a42d7aa2cd8a330a7501b739ca
-RMD160 (pycryptodome-3.9.4.tar.gz) = 16a27a73ca3b205a86d2a72b664290766d4e4916
-SHA512 (pycryptodome-3.9.4.tar.gz) = d99e4e431d77856ce3ae33526984cadf2fa6aa82b1f692a2ad0ae893f6a1e9538e6d71d281578e6bd733a816664d1683364c64441196cbc6ee1278f9d6eac62c
-Size (pycryptodome-3.9.4.tar.gz) = 11575825 bytes
+SHA1 (pycryptodome-3.9.6.tar.gz) = 827fea2e3606f447f32b655fcd88464d9e56f8ee
+RMD160 (pycryptodome-3.9.6.tar.gz) = c296cf79800b433109c608323ece16861a0c34be
+SHA512 (pycryptodome-3.9.6.tar.gz) = c1fc4dc9e993d77c6928d0accdddafb4de4157a6db8a4c0f81fa7eb75a529a1cff04db77ff0d926a29030c98549329143b4bb2bbf198ef8811d7fee9803a8f2a
+Size (pycryptodome-3.9.6.tar.gz) = 15451600 bytes



Home | Main Index | Thread Index | Old Index