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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/459a1aa6de37
branches:  trunk
changeset: 338943:459a1aa6de37
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Sep 02 09:46:19 2019 +0000

description:
py-cryptodome: updated to 3.9.0

3.9.0:

New features
* Add support for loading PEM files encrypted with AES256-CBC.
* Add support for XChaCha20 and XChaCha20-Poly1305 ciphers.
* Add support for bcrypt key derivation function (`Crypto.Protocol.KDF.bcrypt`).
* Add support for left multiplication of an EC point by a scalar.
* Add support for importing ECC and RSA keys in the new OpenSSH format.

Resolved issues
* it was not possible to invert an EC point anymore.
* fix printing of DSA keys.
* `DSA.generate()` was not always using the `randfunc` input.
* the MD2 hash had block size of 64 bytes instead of 16; as result the HMAC construction gave incorrect results.

diffstat:

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

diffs (123 lines):

diff -r 2a98f1817ded -r 459a1aa6de37 security/py-cryptodome/Makefile
--- a/security/py-cryptodome/Makefile   Mon Sep 02 09:40:15 2019 +0000
+++ b/security/py-cryptodome/Makefile   Mon Sep 02 09:46:19 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2019/05/31 12:40:50 adam Exp $
+# $NetBSD: Makefile,v 1.25 2019/09/02 09:46:19 adam Exp $
 
-DISTNAME=      pycryptodome-3.8.2
+DISTNAME=      pycryptodome-3.9.0
 PKGNAME=       ${DISTNAME:S/^py/${PYPKGPREFIX}-/}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pycryptodome/}
diff -r 2a98f1817ded -r 459a1aa6de37 security/py-cryptodome/PLIST
--- a/security/py-cryptodome/PLIST      Mon Sep 02 09:40:15 2019 +0000
+++ b/security/py-cryptodome/PLIST      Mon Sep 02 09:46:19 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2019/04/05 09:18:33 adam Exp $
+@comment $NetBSD: PLIST,v 1.16 2019/09/02 09:46:19 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -53,6 +53,10 @@
 ${PYSITELIB}/Crypto/Cipher/Salsa20.pyi
 ${PYSITELIB}/Crypto/Cipher/Salsa20.pyo
 ${PYSITELIB}/Crypto/Cipher/_ARC4.so
+${PYSITELIB}/Crypto/Cipher/_EKSBlowfish.py
+${PYSITELIB}/Crypto/Cipher/_EKSBlowfish.pyc
+${PYSITELIB}/Crypto/Cipher/_EKSBlowfish.pyi
+${PYSITELIB}/Crypto/Cipher/_EKSBlowfish.pyo
 ${PYSITELIB}/Crypto/Cipher/_Salsa20.so
 ${PYSITELIB}/Crypto/Cipher/__init__.py
 ${PYSITELIB}/Crypto/Cipher/__init__.pyc
@@ -113,6 +117,7 @@
 ${PYSITELIB}/Crypto/Cipher/_raw_des.so
 ${PYSITELIB}/Crypto/Cipher/_raw_des3.so
 ${PYSITELIB}/Crypto/Cipher/_raw_ecb.so
+${PYSITELIB}/Crypto/Cipher/_raw_eksblowfish.so
 ${PYSITELIB}/Crypto/Cipher/_raw_ocb.so
 ${PYSITELIB}/Crypto/Cipher/_raw_ofb.so
 ${PYSITELIB}/Crypto/Hash/BLAKE2b.py
@@ -302,6 +307,10 @@
 ${PYSITELIB}/Crypto/PublicKey/__init__.pyi
 ${PYSITELIB}/Crypto/PublicKey/__init__.pyo
 ${PYSITELIB}/Crypto/PublicKey/_ec_ws.so
+${PYSITELIB}/Crypto/PublicKey/_openssh.py
+${PYSITELIB}/Crypto/PublicKey/_openssh.pyc
+${PYSITELIB}/Crypto/PublicKey/_openssh.pyi
+${PYSITELIB}/Crypto/PublicKey/_openssh.pyo
 ${PYSITELIB}/Crypto/Random/__init__.py
 ${PYSITELIB}/Crypto/Random/__init__.pyc
 ${PYSITELIB}/Crypto/Random/__init__.pyi
@@ -648,8 +657,13 @@
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_private_ecparams.pem
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_private_enc_aes128.pem
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_private_enc_aes192.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_private_enc_aes256.pem
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_private_enc_aes256_gcm.pem
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_private_enc_des3.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_private_openssh.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_private_openssh_old.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_private_openssh_pwd.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_private_openssh_pwd_old.pem
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_private_p8.der
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_private_p8.pem
 ${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_private_p8_clear.der
@@ -666,8 +680,13 @@
 ${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.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_openssh.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_private_openssh_old.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_private_openssh_pwd.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_private_openssh_pwd_old.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
@@ -684,8 +703,13 @@
 ${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.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_openssh.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_private_openssh_old.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_private_openssh_pwd.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_private_openssh_pwd_old.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
@@ -706,6 +730,14 @@
 ${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/PublicKey/test_vectors/RSA/gen_rsa_2048.sh
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/RSA/openssl_version.txt
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/RSA/rsa2048_private.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/RSA/rsa2048_private_openssh.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/RSA/rsa2048_private_openssh_old.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/RSA/rsa2048_private_openssh_pwd.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/RSA/rsa2048_private_openssh_pwd_old.pem
+${PYSITELIB}/Crypto/SelfTest/PublicKey/test_vectors/RSA/rsa2048_public_openssh.txt
 ${PYSITELIB}/Crypto/SelfTest/Random/__init__.py
 ${PYSITELIB}/Crypto/SelfTest/Random/__init__.pyc
 ${PYSITELIB}/Crypto/SelfTest/Random/__init__.pyo
diff -r 2a98f1817ded -r 459a1aa6de37 security/py-cryptodome/distinfo
--- a/security/py-cryptodome/distinfo   Mon Sep 02 09:40:15 2019 +0000
+++ b/security/py-cryptodome/distinfo   Mon Sep 02 09:46:19 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.21 2019/05/31 12:40:50 adam Exp $
+$NetBSD: distinfo,v 1.22 2019/09/02 09:46:19 adam Exp $
 
-SHA1 (pycryptodome-3.8.2.tar.gz) = b24480b6a5db8f71d2a052503e2a89f3cfa2024f
-RMD160 (pycryptodome-3.8.2.tar.gz) = 4d35d9e19bfa2a2284fe257d8128ba8d75ed2cba
-SHA512 (pycryptodome-3.8.2.tar.gz) = 361909d479b3478b72f2723f2c94cafd4e9d50c2d4156535d217f0566c534dc27435f64e9ba0cdb8215c2c3d3800ad1e0befde95d9999eed481f33f9ed2ba318
-Size (pycryptodome-3.8.2.tar.gz) = 12441359 bytes
+SHA1 (pycryptodome-3.9.0.tar.gz) = 9a03c8adb366c8987910082417afdcf21eda109f
+RMD160 (pycryptodome-3.9.0.tar.gz) = 099128592e96ed092439d848a25bc75c06834b62
+SHA512 (pycryptodome-3.9.0.tar.gz) = 47c5b150b93166e95c9d5359d22d9498a03401a7c80e285fee7513588bd0c3aabdcd4f3873d3d3905946b73a47d7abd4f0469167d9123a17ef4a87433024b4a0
+Size (pycryptodome-3.9.0.tar.gz) = 11561613 bytes



Home | Main Index | Thread Index | Old Index