3.17.0 (29 January 2023)
++++++++++++++++++++++++++
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
GH#526: improved typing for RSA.construct.
GH#534: reduced memory consumption when using a large number
of cipher objects.
GH#598: fixed missing error handling for Util.number.inverse.
GH#629: improved typing for AES.new and the various
mode-specific types it returns. Thanks to Greg Werbin.
GH#653: added workaround for an alleged GCC compiler bug
that affected Ed25519 code compiled for AVX2.
GH#658: 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).
GH#637: fixed typing for legacy modules PKCS1_v1_5 and PKCS1_PSS,
as their verify() returned a boolean.
GH#664: 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.
GH#705: 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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pycryptodomex from 3.16.0 to 3.17.
Changelog
Sourced from pycryptodomex's changelog.
Commits
737a9e7
Bump version and fix Changelogc7e0628
Add PyPI badges454cf15
Merge branch 'nonce_typing'37315bc
Fix GH#705: nonce parameter can be explicitly None (typing) for CAST and ARC2/492129e9
Fix GH#705: nonce parameter can be explicitly None (typing) for DESdbe7867
Use ByteString for Salsa206675d07
Fix GH#705: nonce parameter can be explicitly None (typing) for ChaCha207b9dc80
Fix GH#705: iv/IV/nonce parameter can be explicitly None (typing) for AES7ff4746
Remove C99 for loop initial declarations.6e8cfe0
Add support for SP 800 108 Counter mode KDFDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)