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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3700ee2aaa1e
branches:  trunk
changeset: 770674:3700ee2aaa1e
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Dec 06 19:20:37 2021 +0000

description:
py-cryptodome: updated to 3.12.0

3.12.0

New features

ECC keys in the SEC1 format can be exported and imported.
Add support for KMAC128, KMAC256, TupleHash128, and TupleHash256 (NIST SP-800 185).
Add support for KangarooTwelve.

Resolved issues

An asymmetric key could not be imported as a memoryview.
cSHAKE128/256 generated a wrong output for customization strings longer than 255 bytes.
CBC decryption generated the wrong plaintext when the input and the output were the same buffer.

diffstat:

 security/py-cryptodome/Makefile |   5 +++--
 security/py-cryptodome/PLIST    |  31 ++++++++++++++++++++++++++++++-
 security/py-cryptodome/distinfo |   8 ++++----
 3 files changed, 37 insertions(+), 7 deletions(-)

diffs (95 lines):

diff -r f616ca82a886 -r 3700ee2aaa1e security/py-cryptodome/Makefile
--- a/security/py-cryptodome/Makefile   Mon Dec 06 19:19:45 2021 +0000
+++ b/security/py-cryptodome/Makefile   Mon Dec 06 19:20:37 2021 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.37 2021/10/09 08:40:21 adam Exp $
+# $NetBSD: Makefile,v 1.38 2021/12/06 19:20:37 adam Exp $
 
-DISTNAME=      pycryptodome-3.11.0
+DISTNAME=      pycryptodome-3.12.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pycryptodome/}
+EXTRACT_SUFX=  .zip
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://www.pycryptodome.org/
diff -r f616ca82a886 -r 3700ee2aaa1e security/py-cryptodome/PLIST
--- a/security/py-cryptodome/PLIST      Mon Dec 06 19:19:45 2021 +0000
+++ b/security/py-cryptodome/PLIST      Mon Dec 06 19:20:37 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.23 2021/10/09 08:40:21 adam Exp $
+@comment $NetBSD: PLIST,v 1.24 2021/12/06 19:20:37 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -138,6 +138,18 @@
 ${PYSITELIB}/Crypto/Hash/HMAC.pyc
 ${PYSITELIB}/Crypto/Hash/HMAC.pyi
 ${PYSITELIB}/Crypto/Hash/HMAC.pyo
+${PYSITELIB}/Crypto/Hash/KMAC128.py
+${PYSITELIB}/Crypto/Hash/KMAC128.pyc
+${PYSITELIB}/Crypto/Hash/KMAC128.pyi
+${PYSITELIB}/Crypto/Hash/KMAC128.pyo
+${PYSITELIB}/Crypto/Hash/KMAC256.py
+${PYSITELIB}/Crypto/Hash/KMAC256.pyc
+${PYSITELIB}/Crypto/Hash/KMAC256.pyi
+${PYSITELIB}/Crypto/Hash/KMAC256.pyo
+${PYSITELIB}/Crypto/Hash/KangarooTwelve.py
+${PYSITELIB}/Crypto/Hash/KangarooTwelve.pyc
+${PYSITELIB}/Crypto/Hash/KangarooTwelve.pyi
+${PYSITELIB}/Crypto/Hash/KangarooTwelve.pyo
 ${PYSITELIB}/Crypto/Hash/MD2.py
 ${PYSITELIB}/Crypto/Hash/MD2.pyc
 ${PYSITELIB}/Crypto/Hash/MD2.pyi
@@ -210,6 +222,14 @@
 ${PYSITELIB}/Crypto/Hash/SHAKE256.pyc
 ${PYSITELIB}/Crypto/Hash/SHAKE256.pyi
 ${PYSITELIB}/Crypto/Hash/SHAKE256.pyo
+${PYSITELIB}/Crypto/Hash/TupleHash128.py
+${PYSITELIB}/Crypto/Hash/TupleHash128.pyc
+${PYSITELIB}/Crypto/Hash/TupleHash128.pyi
+${PYSITELIB}/Crypto/Hash/TupleHash128.pyo
+${PYSITELIB}/Crypto/Hash/TupleHash256.py
+${PYSITELIB}/Crypto/Hash/TupleHash256.pyc
+${PYSITELIB}/Crypto/Hash/TupleHash256.pyi
+${PYSITELIB}/Crypto/Hash/TupleHash256.pyo
 ${PYSITELIB}/Crypto/Hash/_BLAKE2b.${SOEXT}
 ${PYSITELIB}/Crypto/Hash/_BLAKE2s.${SOEXT}
 ${PYSITELIB}/Crypto/Hash/_MD2.${SOEXT}
@@ -416,6 +436,12 @@
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_HMAC.py
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_HMAC.pyc
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_HMAC.pyo
+${PYSITELIB}/Crypto/SelfTest/Hash/test_KMAC.py
+${PYSITELIB}/Crypto/SelfTest/Hash/test_KMAC.pyc
+${PYSITELIB}/Crypto/SelfTest/Hash/test_KMAC.pyo
+${PYSITELIB}/Crypto/SelfTest/Hash/test_KangarooTwelve.py
+${PYSITELIB}/Crypto/SelfTest/Hash/test_KangarooTwelve.pyc
+${PYSITELIB}/Crypto/SelfTest/Hash/test_KangarooTwelve.pyo
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_MD2.py
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_MD2.pyc
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_MD2.pyo
@@ -461,6 +487,9 @@
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_SHAKE.py
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_SHAKE.pyc
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_SHAKE.pyo
+${PYSITELIB}/Crypto/SelfTest/Hash/test_TupleHash.py
+${PYSITELIB}/Crypto/SelfTest/Hash/test_TupleHash.pyc
+${PYSITELIB}/Crypto/SelfTest/Hash/test_TupleHash.pyo
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_cSHAKE.py
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_cSHAKE.pyc
 ${PYSITELIB}/Crypto/SelfTest/Hash/test_cSHAKE.pyo
diff -r f616ca82a886 -r 3700ee2aaa1e security/py-cryptodome/distinfo
--- a/security/py-cryptodome/distinfo   Mon Dec 06 19:19:45 2021 +0000
+++ b/security/py-cryptodome/distinfo   Mon Dec 06 19:20:37 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.34 2021/10/26 11:17:44 nia Exp $
+$NetBSD: distinfo,v 1.35 2021/12/06 19:20:37 adam Exp $
 
-BLAKE2s (pycryptodome-3.11.0.tar.gz) = 772b1f3938257573da51b467510c33570ef48cbf103da8e727750519288ec3f6
-SHA512 (pycryptodome-3.11.0.tar.gz) = f5b7e9a94b6e649fd9aac045bd4a0c8f3adabf5a33bab78596795c6383bc5eda345d9b9c71263d744af932add726a19d2cf0ed61ab931af3fb626207391184d1
-Size (pycryptodome-3.11.0.tar.gz) = 3791781 bytes
+BLAKE2s (pycryptodome-3.12.0.zip) = 701e19039e62dc8dbbc7603151200d2974e1b11982430d5561f531a46e1e0f10
+SHA512 (pycryptodome-3.12.0.zip) = bca064a6c544f639c2fef8bab4737db92dd9707c9496e715402a3b51c80e6b887097ef3ba9da12cbe8165d5acb57e9e4f17680e7f93794d2abe42a1339ce5da7
+Size (pycryptodome-3.12.0.zip) = 3717073 bytes



Home | Main Index | Thread Index | Old Index