Wed Sep 27 15:36:14 2023 UTC ()
py-cryptodome: updated to 3.19.0

3.19.0 (16 September 2023)

New features
---------------
* The ``update()`` methods of TupleHash128 and TupleHash256 objects
  can now hash multiple items (byte strings) at once.
  Thanks to Sylvain Pelissier.
* Added support for ECDH, with ``Crypto.Protocol.DH``.

Resolved issues
---------------
* GH754: due to a bug in ``cffi``, do not use it on Windows with Python 3.12+.


(adam)
diff -r1.50 -r1.51 pkgsrc/security/py-cryptodome/Makefile
diff -r1.26 -r1.27 pkgsrc/security/py-cryptodome/PLIST
diff -r1.42 -r1.43 pkgsrc/security/py-cryptodome/distinfo

cvs diff -r1.50 -r1.51 pkgsrc/security/py-cryptodome/Makefile (expand / switch to unified diff)

--- pkgsrc/security/py-cryptodome/Makefile 2023/08/02 16:17:18 1.50
+++ pkgsrc/security/py-cryptodome/Makefile 2023/09/27 15:36:14 1.51
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.50 2023/08/02 16:17:18 nia Exp $ 1# $NetBSD: Makefile,v 1.51 2023/09/27 15:36:14 adam Exp $
2 2
3DISTNAME= pycryptodome-3.18.0 3DISTNAME= pycryptodome-3.19.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
5CATEGORIES= security python 5CATEGORIES= security python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycryptodome/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycryptodome/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://www.pycryptodome.org/ 9HOMEPAGE= https://www.pycryptodome.org/
10COMMENT= Cryptographic and hash functions for Python 10COMMENT= Cryptographic and hash functions for Python
11LICENSE= public-domain AND python-software-foundation 11LICENSE= public-domain AND python-software-foundation
12 12
13# "error: 'for' loop initial declarations are only allowed in C99 mode" 13# "error: 'for' loop initial declarations are only allowed in C99 mode"
14FORCE_C_STD= c99 14FORCE_C_STD= c99
15 15
16# XXX is this needed? 16# XXX is this needed?

cvs diff -r1.26 -r1.27 pkgsrc/security/py-cryptodome/PLIST (expand / switch to unified diff)

--- pkgsrc/security/py-cryptodome/PLIST 2022/07/06 18:50:12 1.26
+++ pkgsrc/security/py-cryptodome/PLIST 2023/09/27 15:36:14 1.27
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.26 2022/07/06 18:50:12 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.27 2023/09/27 15:36:14 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 5${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
6${PYSITELIB}/${EGG_INFODIR}/top_level.txt 6${PYSITELIB}/${EGG_INFODIR}/top_level.txt
7${PYSITELIB}/Crypto/Cipher/AES.py 7${PYSITELIB}/Crypto/Cipher/AES.py
8${PYSITELIB}/Crypto/Cipher/AES.pyc 8${PYSITELIB}/Crypto/Cipher/AES.pyc
9${PYSITELIB}/Crypto/Cipher/AES.pyi 9${PYSITELIB}/Crypto/Cipher/AES.pyi
10${PYSITELIB}/Crypto/Cipher/AES.pyo 10${PYSITELIB}/Crypto/Cipher/AES.pyo
11${PYSITELIB}/Crypto/Cipher/ARC2.py 11${PYSITELIB}/Crypto/Cipher/ARC2.py
12${PYSITELIB}/Crypto/Cipher/ARC2.pyc 12${PYSITELIB}/Crypto/Cipher/ARC2.pyc
13${PYSITELIB}/Crypto/Cipher/ARC2.pyi 13${PYSITELIB}/Crypto/Cipher/ARC2.pyi
14${PYSITELIB}/Crypto/Cipher/ARC2.pyo 14${PYSITELIB}/Crypto/Cipher/ARC2.pyo
@@ -293,26 +293,30 @@ ${PYSITELIB}/Crypto/Math/_IntegerCustom. @@ -293,26 +293,30 @@ ${PYSITELIB}/Crypto/Math/_IntegerCustom.
293${PYSITELIB}/Crypto/Math/_IntegerCustom.pyo 293${PYSITELIB}/Crypto/Math/_IntegerCustom.pyo
294${PYSITELIB}/Crypto/Math/_IntegerGMP.py 294${PYSITELIB}/Crypto/Math/_IntegerGMP.py
295${PYSITELIB}/Crypto/Math/_IntegerGMP.pyc 295${PYSITELIB}/Crypto/Math/_IntegerGMP.pyc
296${PYSITELIB}/Crypto/Math/_IntegerGMP.pyi 296${PYSITELIB}/Crypto/Math/_IntegerGMP.pyi
297${PYSITELIB}/Crypto/Math/_IntegerGMP.pyo 297${PYSITELIB}/Crypto/Math/_IntegerGMP.pyo
298${PYSITELIB}/Crypto/Math/_IntegerNative.py 298${PYSITELIB}/Crypto/Math/_IntegerNative.py
299${PYSITELIB}/Crypto/Math/_IntegerNative.pyc 299${PYSITELIB}/Crypto/Math/_IntegerNative.pyc
300${PYSITELIB}/Crypto/Math/_IntegerNative.pyi 300${PYSITELIB}/Crypto/Math/_IntegerNative.pyi
301${PYSITELIB}/Crypto/Math/_IntegerNative.pyo 301${PYSITELIB}/Crypto/Math/_IntegerNative.pyo
302${PYSITELIB}/Crypto/Math/__init__.py 302${PYSITELIB}/Crypto/Math/__init__.py
303${PYSITELIB}/Crypto/Math/__init__.pyc 303${PYSITELIB}/Crypto/Math/__init__.pyc
304${PYSITELIB}/Crypto/Math/__init__.pyo 304${PYSITELIB}/Crypto/Math/__init__.pyo
305${PYSITELIB}/Crypto/Math/_modexp.${SOEXT} 305${PYSITELIB}/Crypto/Math/_modexp.${SOEXT}
 306${PYSITELIB}/Crypto/Protocol/DH.py
 307${PYSITELIB}/Crypto/Protocol/DH.pyc
 308${PYSITELIB}/Crypto/Protocol/DH.pyi
 309${PYSITELIB}/Crypto/Protocol/DH.pyo
306${PYSITELIB}/Crypto/Protocol/KDF.py 310${PYSITELIB}/Crypto/Protocol/KDF.py
307${PYSITELIB}/Crypto/Protocol/KDF.pyc 311${PYSITELIB}/Crypto/Protocol/KDF.pyc
308${PYSITELIB}/Crypto/Protocol/KDF.pyi 312${PYSITELIB}/Crypto/Protocol/KDF.pyi
309${PYSITELIB}/Crypto/Protocol/KDF.pyo 313${PYSITELIB}/Crypto/Protocol/KDF.pyo
310${PYSITELIB}/Crypto/Protocol/SecretSharing.py 314${PYSITELIB}/Crypto/Protocol/SecretSharing.py
311${PYSITELIB}/Crypto/Protocol/SecretSharing.pyc 315${PYSITELIB}/Crypto/Protocol/SecretSharing.pyc
312${PYSITELIB}/Crypto/Protocol/SecretSharing.pyi 316${PYSITELIB}/Crypto/Protocol/SecretSharing.pyi
313${PYSITELIB}/Crypto/Protocol/SecretSharing.pyo 317${PYSITELIB}/Crypto/Protocol/SecretSharing.pyo
314${PYSITELIB}/Crypto/Protocol/__init__.py 318${PYSITELIB}/Crypto/Protocol/__init__.py
315${PYSITELIB}/Crypto/Protocol/__init__.pyc 319${PYSITELIB}/Crypto/Protocol/__init__.pyc
316${PYSITELIB}/Crypto/Protocol/__init__.pyi 320${PYSITELIB}/Crypto/Protocol/__init__.pyi
317${PYSITELIB}/Crypto/Protocol/__init__.pyo 321${PYSITELIB}/Crypto/Protocol/__init__.pyo
318${PYSITELIB}/Crypto/Protocol/_scrypt.${SOEXT} 322${PYSITELIB}/Crypto/Protocol/_scrypt.${SOEXT}
@@ -522,26 +526,29 @@ ${PYSITELIB}/Crypto/SelfTest/Math/test_P @@ -522,26 +526,29 @@ ${PYSITELIB}/Crypto/SelfTest/Math/test_P
522${PYSITELIB}/Crypto/SelfTest/Math/test_Primality.pyo 526${PYSITELIB}/Crypto/SelfTest/Math/test_Primality.pyo
523${PYSITELIB}/Crypto/SelfTest/Math/test_modexp.py 527${PYSITELIB}/Crypto/SelfTest/Math/test_modexp.py
524${PYSITELIB}/Crypto/SelfTest/Math/test_modexp.pyc 528${PYSITELIB}/Crypto/SelfTest/Math/test_modexp.pyc
525${PYSITELIB}/Crypto/SelfTest/Math/test_modexp.pyo 529${PYSITELIB}/Crypto/SelfTest/Math/test_modexp.pyo
526${PYSITELIB}/Crypto/SelfTest/Protocol/__init__.py 530${PYSITELIB}/Crypto/SelfTest/Protocol/__init__.py
527${PYSITELIB}/Crypto/SelfTest/Protocol/__init__.pyc 531${PYSITELIB}/Crypto/SelfTest/Protocol/__init__.pyc
528${PYSITELIB}/Crypto/SelfTest/Protocol/__init__.pyo 532${PYSITELIB}/Crypto/SelfTest/Protocol/__init__.pyo
529${PYSITELIB}/Crypto/SelfTest/Protocol/test_KDF.py 533${PYSITELIB}/Crypto/SelfTest/Protocol/test_KDF.py
530${PYSITELIB}/Crypto/SelfTest/Protocol/test_KDF.pyc 534${PYSITELIB}/Crypto/SelfTest/Protocol/test_KDF.pyc
531${PYSITELIB}/Crypto/SelfTest/Protocol/test_KDF.pyo 535${PYSITELIB}/Crypto/SelfTest/Protocol/test_KDF.pyo
532${PYSITELIB}/Crypto/SelfTest/Protocol/test_SecretSharing.py 536${PYSITELIB}/Crypto/SelfTest/Protocol/test_SecretSharing.py
533${PYSITELIB}/Crypto/SelfTest/Protocol/test_SecretSharing.pyc 537${PYSITELIB}/Crypto/SelfTest/Protocol/test_SecretSharing.pyc
534${PYSITELIB}/Crypto/SelfTest/Protocol/test_SecretSharing.pyo 538${PYSITELIB}/Crypto/SelfTest/Protocol/test_SecretSharing.pyo
 539${PYSITELIB}/Crypto/SelfTest/Protocol/test_ecdh.py
 540${PYSITELIB}/Crypto/SelfTest/Protocol/test_ecdh.pyc
 541${PYSITELIB}/Crypto/SelfTest/Protocol/test_ecdh.pyo
535${PYSITELIB}/Crypto/SelfTest/Protocol/test_rfc1751.py 542${PYSITELIB}/Crypto/SelfTest/Protocol/test_rfc1751.py
536${PYSITELIB}/Crypto/SelfTest/Protocol/test_rfc1751.pyc 543${PYSITELIB}/Crypto/SelfTest/Protocol/test_rfc1751.pyc
537${PYSITELIB}/Crypto/SelfTest/Protocol/test_rfc1751.pyo 544${PYSITELIB}/Crypto/SelfTest/Protocol/test_rfc1751.pyo
538${PYSITELIB}/Crypto/SelfTest/PublicKey/__init__.py 545${PYSITELIB}/Crypto/SelfTest/PublicKey/__init__.py
539${PYSITELIB}/Crypto/SelfTest/PublicKey/__init__.pyc 546${PYSITELIB}/Crypto/SelfTest/PublicKey/__init__.pyc
540${PYSITELIB}/Crypto/SelfTest/PublicKey/__init__.pyo 547${PYSITELIB}/Crypto/SelfTest/PublicKey/__init__.pyo
541${PYSITELIB}/Crypto/SelfTest/PublicKey/test_DSA.py 548${PYSITELIB}/Crypto/SelfTest/PublicKey/test_DSA.py
542${PYSITELIB}/Crypto/SelfTest/PublicKey/test_DSA.pyc 549${PYSITELIB}/Crypto/SelfTest/PublicKey/test_DSA.pyc
543${PYSITELIB}/Crypto/SelfTest/PublicKey/test_DSA.pyo 550${PYSITELIB}/Crypto/SelfTest/PublicKey/test_DSA.pyo
544${PYSITELIB}/Crypto/SelfTest/PublicKey/test_ECC_25519.py 551${PYSITELIB}/Crypto/SelfTest/PublicKey/test_ECC_25519.py
545${PYSITELIB}/Crypto/SelfTest/PublicKey/test_ECC_25519.pyc 552${PYSITELIB}/Crypto/SelfTest/PublicKey/test_ECC_25519.pyc
546${PYSITELIB}/Crypto/SelfTest/PublicKey/test_ECC_25519.pyo 553${PYSITELIB}/Crypto/SelfTest/PublicKey/test_ECC_25519.pyo
547${PYSITELIB}/Crypto/SelfTest/PublicKey/test_ECC_448.py 554${PYSITELIB}/Crypto/SelfTest/PublicKey/test_ECC_448.py

cvs diff -r1.42 -r1.43 pkgsrc/security/py-cryptodome/distinfo (expand / switch to unified diff)

--- pkgsrc/security/py-cryptodome/distinfo 2023/05/21 17:44:16 1.42
+++ pkgsrc/security/py-cryptodome/distinfo 2023/09/27 15:36:14 1.43
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.42 2023/05/21 17:44:16 wiz Exp $ 1$NetBSD: distinfo,v 1.43 2023/09/27 15:36:14 adam Exp $
2 2
3BLAKE2s (pycryptodome-3.18.0.tar.gz) = b53ac880941731ed197aebcfd7527fadb491ff003736d14e20f145edc7548672 3BLAKE2s (pycryptodome-3.19.0.tar.gz) = 9a3fbcc808137e88ab3282f81c67af4da5f6efdd545f027c674184b689894a4a
4SHA512 (pycryptodome-3.18.0.tar.gz) = 393e1e3a4b8a872e3e3525daadf8ab6d947b2b199697a85a9eef042d3dce709a46648684fbe416e4c3a56402b7396bf84dd5aa2cabc13767adb74de93b89e30b 4SHA512 (pycryptodome-3.19.0.tar.gz) = 845d8e2b43eef79e5b9cd4028ba4dc4aec77a7272bdfd18f5c8af4a778df26cfa04b2488bd1689894426653e3817ed916ba7a06d8dcbd584d88a491e76415324
5Size (pycryptodome-3.18.0.tar.gz) = 4639231 bytes 5Size (pycryptodome-3.19.0.tar.gz) = 4778190 bytes