Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (3h)  pkgsrc-2024Q1 (10d)  pkgsrc-2023Q4 (57d)  pkgsrc-2023Q2 (89d)  pkgsrc-2023Q3 (169d) 

2024-05-28 07:44:04 UTC Now

2023-02-01 12:16:49 UTC MAIN commitmail json YAML

py-cryptodome: updated to 3.17

3.17.0

New features

Added support for the Counter Mode KDF defined in SP 800-108 Rev 1.
Reduce the minimum tag length for the EAX cipher to 2 bytes.
An RSA object has 4 new properties for the CRT coefficients: dp, dq, invq and invq (invp is the same value as the existing u).

Resolved issues

improved typing for RSA.construct.
reduced memory consumption when using a large number of cipher objects.
fixed missing error handling for Util.number.inverse.
improved typing for AES.new and the various mode-specific types it returns. Thanks to Greg Werbin.
added workaround for an alleged GCC compiler bug that affected Ed25519 code compiled for AVX2.
attribute curve of an ECC key was not always the preferred curve name, as it used to be in v3.15.0 (independently of the curve name specified when generating the key).
fixed typing for legacy modules PKCS1_v1_5 and PKCS1_PSS, as their verify() returned a boolean.
with OCB mode, nonces of maximum length (15 bytes) were actually used as 14 bytes nonces. After this fix, data that was encrypted in past using the (default) nonce length of 15 bytes can still be decrypted by reducing the nonce to its first 14 bytes.
improved typing for nonce, iv, and IV parameters of cipher objects.
Other changeså…¶

Build PyPy wheels only for versions 3.8 and 3.9, and not for 3.7 anymore.

(adam)