pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/py-cryptodome



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Oct 12 13:23:36 UTC 2026

Modified Files:
        pkgsrc/security/py-cryptodome: Makefile distinfo

Log Message:
py-cryptodome: update to 3.24.0.

3.24.0 (4 October 2026)
++++++++++++++++++++++++++

New features
---------------
* Speed up KangarooTwelve by 50% for long messages (1MB or more).
* New parameter ``threads`` for ``Crypto.Hash.KangarooTwelve.new()``,
  to hash long messages on several CPU cores (``threads=0`` for all of them).
  The output does not depend on the number of threads.

Resolved issues
---------------
* GH#875: Fixed the Object Identifiers (OID) for BLAKE2.
* Fixed a potential DOS attack when decrypting a password-encrypted PKCS#8 key,
  when the iteration count is enourmous. Decryption will now fail if it exceeds
  50M iterations; the limit can be changed or removed  via
  the new ``max_iteration_count`` option. Thanks to afldl for reporting.
* Fixed the maximum number of bytes that GCM should encrypt. Thanks to Loganaden Velvindron.
* Fixed ECC operations on 32-bit Windows (x86) wheels: due to a compiler bug in
  Visual Studio 2022, the modular inversion skipped half of the exponent bits,
  producing wrong results.
* Fixed a bug in KangarooTwelve in the scenario where customization string is very
  long (8190 bytes or longer) and the message to hash is empty.

Other changes
-------------
* Build Windows wheel with Visual Studio 2022, from Visual Studio 2019.
* Remove support for Python 3.7.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/security/py-cryptodome/Makefile
cvs rdiff -u -r1.48 -r1.49 pkgsrc/security/py-cryptodome/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/py-cryptodome/Makefile
diff -u pkgsrc/security/py-cryptodome/Makefile:1.59 pkgsrc/security/py-cryptodome/Makefile:1.60
--- pkgsrc/security/py-cryptodome/Makefile:1.59 Sun May 18 10:02:14 2025
+++ pkgsrc/security/py-cryptodome/Makefile      Mon Oct 12 13:23:36 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.59 2025/05/18 10:02:14 wiz Exp $
+# $NetBSD: Makefile,v 1.60 2026/10/12 13:23:36 wiz Exp $
 
-DISTNAME=      pycryptodome-3.23.0
+DISTNAME=      pycryptodome-3.24.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pycryptodome/}

Index: pkgsrc/security/py-cryptodome/distinfo
diff -u pkgsrc/security/py-cryptodome/distinfo:1.48 pkgsrc/security/py-cryptodome/distinfo:1.49
--- pkgsrc/security/py-cryptodome/distinfo:1.48 Sun May 18 10:02:14 2025
+++ pkgsrc/security/py-cryptodome/distinfo      Mon Oct 12 13:23:36 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.48 2025/05/18 10:02:14 wiz Exp $
+$NetBSD: distinfo,v 1.49 2026/10/12 13:23:36 wiz Exp $
 
-BLAKE2s (pycryptodome-3.23.0.tar.gz) = e43a742222c2a6efb0cec2b8ff48085d218aa47102fdff3d895914391aa65bb4
-SHA512 (pycryptodome-3.23.0.tar.gz) = 86c8db4f16d788190de6a24debaaaf78958b08179a2f56c021973e3d01828e655e7deb0c65a25aa93b2ac5420ba5a0945a30f5fa8f4455c6518c89347c301c84
-Size (pycryptodome-3.23.0.tar.gz) = 4921276 bytes
+BLAKE2s (pycryptodome-3.24.0.tar.gz) = bf0a054c4604ea65e7be907aaea42ebfd773f4247414070219ba6d0517d02160
+SHA512 (pycryptodome-3.24.0.tar.gz) = 3809586d0fc56eb9612d10d0e410fc6c16a3e6f8a049f7174889dbb5ae114b73b3fc822cfc156403f51b7801205631e9bf0664f9cf128456b9522b9c00d00cbf
+Size (pycryptodome-3.24.0.tar.gz) = 4930687 bytes



Home | Main Index | Thread Index | Old Index