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: Sun Nov 22 19:14:34 UTC 2026
Modified Files:
pkgsrc/security/py-cryptodome: Makefile PLIST distinfo
Log Message:
py-cryptodome: update to 4.5.0.
4.5.0 (15 November 2026)
New features
Added the mode MODE_GCM_SIV to Crypto.Cipher.AES (AES-GCM-SIV,
RFC 8452), for authenticated encryption that is resistant to
the reuse of a nonce.
Added the mode MODE_XTS to Crypto.Cipher.AES (IEEE 1619, NIST
SP 800-38E), for the encryption of storage.
CTR mode is about 35% faster on short bytes messages.
Breaking changes
export_key of RSA and DSA keys raises ValueError for a private
key in the 'OpenSSH' format, like ECC keys. It used to silently
return the public key, ignoring any passphrase. To export the
public key, use key.public_key().export_key('OpenSSH').
Resolved issues
Security: the base64 body of a PEM block (for instance, a
private key that is not encrypted) was decoded with
binascii.a2b_base64, which looks up each character in a table,
and could leak the key through a cache side channel. The body
is now decoded in constant time, and it is no longer processed
by Python string functions that look up characters in a table.
Thanks to Li-Chung Chiang.
To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 pkgsrc/security/py-cryptodome/Makefile
cvs rdiff -u -r1.38 -r1.39 pkgsrc/security/py-cryptodome/PLIST
cvs rdiff -u -r1.52 -r1.53 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.66 pkgsrc/security/py-cryptodome/Makefile:1.67
--- pkgsrc/security/py-cryptodome/Makefile:1.66 Mon Nov 9 11:29:59 2026
+++ pkgsrc/security/py-cryptodome/Makefile Sun Nov 22 19:14:34 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.66 2026/11/09 11:29:59 wiz Exp $
+# $NetBSD: Makefile,v 1.67 2026/11/22 19:14:34 wiz Exp $
-DISTNAME= pycryptodome-4.4.0
+DISTNAME= pycryptodome-4.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycryptodome/}
Index: pkgsrc/security/py-cryptodome/PLIST
diff -u pkgsrc/security/py-cryptodome/PLIST:1.38 pkgsrc/security/py-cryptodome/PLIST:1.39
--- pkgsrc/security/py-cryptodome/PLIST:1.38 Sun Nov 8 17:41:36 2026
+++ pkgsrc/security/py-cryptodome/PLIST Sun Nov 22 19:14:34 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.38 2026/11/08 17:41:36 wiz Exp $
+@comment $NetBSD: PLIST,v 1.39 2026/11/22 19:14:34 wiz Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -72,6 +72,9 @@ ${PYSITELIB}/Crypto/Cipher/_mode_ecb.pyo
${PYSITELIB}/Crypto/Cipher/_mode_gcm.py
${PYSITELIB}/Crypto/Cipher/_mode_gcm.pyc
${PYSITELIB}/Crypto/Cipher/_mode_gcm.pyo
+${PYSITELIB}/Crypto/Cipher/_mode_gcm_siv.py
+${PYSITELIB}/Crypto/Cipher/_mode_gcm_siv.pyc
+${PYSITELIB}/Crypto/Cipher/_mode_gcm_siv.pyo
${PYSITELIB}/Crypto/Cipher/_mode_kw.py
${PYSITELIB}/Crypto/Cipher/_mode_kw.pyc
${PYSITELIB}/Crypto/Cipher/_mode_kw.pyo
@@ -90,6 +93,9 @@ ${PYSITELIB}/Crypto/Cipher/_mode_openpgp
${PYSITELIB}/Crypto/Cipher/_mode_siv.py
${PYSITELIB}/Crypto/Cipher/_mode_siv.pyc
${PYSITELIB}/Crypto/Cipher/_mode_siv.pyo
+${PYSITELIB}/Crypto/Cipher/_mode_xts.py
+${PYSITELIB}/Crypto/Cipher/_mode_xts.pyc
+${PYSITELIB}/Crypto/Cipher/_mode_xts.pyo
${PYSITELIB}/Crypto/Cipher/_pkcs1_decode.so
${PYSITELIB}/Crypto/Cipher/_pkcs1_oaep_decode.py
${PYSITELIB}/Crypto/Cipher/_pkcs1_oaep_decode.pyc
@@ -107,6 +113,7 @@ ${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/Cipher/_raw_xts.so
${PYSITELIB}/Crypto/Cipher/_state_machine.py
${PYSITELIB}/Crypto/Cipher/_state_machine.pyc
${PYSITELIB}/Crypto/Cipher/_state_machine.pyo
@@ -381,6 +388,9 @@ ${PYSITELIB}/Crypto/SelfTest/Cipher/test
${PYSITELIB}/Crypto/SelfTest/Cipher/test_GCM.py
${PYSITELIB}/Crypto/SelfTest/Cipher/test_GCM.pyc
${PYSITELIB}/Crypto/SelfTest/Cipher/test_GCM.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_GCM_SIV.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_GCM_SIV.pyc
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_GCM_SIV.pyo
${PYSITELIB}/Crypto/SelfTest/Cipher/test_KW.py
${PYSITELIB}/Crypto/SelfTest/Cipher/test_KW.pyc
${PYSITELIB}/Crypto/SelfTest/Cipher/test_KW.pyo
@@ -399,6 +409,9 @@ ${PYSITELIB}/Crypto/SelfTest/Cipher/test
${PYSITELIB}/Crypto/SelfTest/Cipher/test_Salsa20.py
${PYSITELIB}/Crypto/SelfTest/Cipher/test_Salsa20.pyc
${PYSITELIB}/Crypto/SelfTest/Cipher/test_Salsa20.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_XTS.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_XTS.pyc
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_XTS.pyo
${PYSITELIB}/Crypto/SelfTest/Cipher/test_message_too_long.py
${PYSITELIB}/Crypto/SelfTest/Cipher/test_message_too_long.pyc
${PYSITELIB}/Crypto/SelfTest/Cipher/test_message_too_long.pyo
@@ -501,6 +514,9 @@ ${PYSITELIB}/Crypto/SelfTest/IO/__init__
${PYSITELIB}/Crypto/SelfTest/IO/test_PBES.py
${PYSITELIB}/Crypto/SelfTest/IO/test_PBES.pyc
${PYSITELIB}/Crypto/SelfTest/IO/test_PBES.pyo
+${PYSITELIB}/Crypto/SelfTest/IO/test_PEM.py
+${PYSITELIB}/Crypto/SelfTest/IO/test_PEM.pyc
+${PYSITELIB}/Crypto/SelfTest/IO/test_PEM.pyo
${PYSITELIB}/Crypto/SelfTest/IO/test_PKCS8.py
${PYSITELIB}/Crypto/SelfTest/IO/test_PKCS8.pyc
${PYSITELIB}/Crypto/SelfTest/IO/test_PKCS8.pyo
@@ -702,6 +718,7 @@ ${PYSITELIB}/Crypto/Util/RFC1751.pyo
${PYSITELIB}/Crypto/Util/__init__.py
${PYSITELIB}/Crypto/Util/__init__.pyc
${PYSITELIB}/Crypto/Util/__init__.pyo
+${PYSITELIB}/Crypto/Util/_base64.so
${PYSITELIB}/Crypto/Util/_bytes.py
${PYSITELIB}/Crypto/Util/_bytes.pyc
${PYSITELIB}/Crypto/Util/_bytes.pyo
Index: pkgsrc/security/py-cryptodome/distinfo
diff -u pkgsrc/security/py-cryptodome/distinfo:1.52 pkgsrc/security/py-cryptodome/distinfo:1.53
--- pkgsrc/security/py-cryptodome/distinfo:1.52 Sun Nov 8 17:41:36 2026
+++ pkgsrc/security/py-cryptodome/distinfo Sun Nov 22 19:14:34 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.52 2026/11/08 17:41:36 wiz Exp $
+$NetBSD: distinfo,v 1.53 2026/11/22 19:14:34 wiz Exp $
-BLAKE2s (pycryptodome-4.4.0.tar.gz) = d3525a70640c12979df478eaf3923ebcf3a2a65615f3a40387b727ee2db6407b
-SHA512 (pycryptodome-4.4.0.tar.gz) = fa942d3d14f54f16481046fd71097b88cc87298f193da53c585faf0c60bcaf519d9d3768bf0fc3c0d36531e11c703ab8a4f3cb354f33fd735f0e5f0e675a0aaa
-Size (pycryptodome-4.4.0.tar.gz) = 1825611 bytes
+BLAKE2s (pycryptodome-4.5.0.tar.gz) = 05baa5580281e46c3235cdd0fd10e61db483948e5012f6db3c7d859bfe792a45
+SHA512 (pycryptodome-4.5.0.tar.gz) = 771da016246746c32008a4fc9f5185fd1f830781ad03c5cd33374957b20d24d9d0c507a002c2cd65e89d53a02f8ee6ac34bdc83b87ebbbf626329888525cfc74
+Size (pycryptodome-4.5.0.tar.gz) = 1863771 bytes
Home |
Main Index |
Thread Index |
Old Index