The library now compiles on Windows ARM64. Thanks to Niyas Sait.
Resolved issues
GH#722: nonce attribute was not correctly set for XChaCha20_Poly1305 ciphers. Thanks to Liam Haber.
GH#728: Workaround for a possible x86 emulator bug in Windows for ARM64.
GH#739: OID encoding for arc 2 didn't accept children larger than 39. Thanks to James.
Correctly check that the scalar matches the point when importing an ECC private key.
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.
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 pycryptodome from 3.14.1 to 3.18.0.
Release notes
Sourced from pycryptodome's releases.
... (truncated)
Changelog
Sourced from pycryptodome's changelog.
... (truncated)
Commits
a75c464
Use ilammy/msvc-dev-cmd@v1e8f55cb
Bump versionfd4df59
Update msvc-dev-cmd6487836
Update to MacOS 12 for wheelsbfb5ce3
Update Changelog72051ed
Add DerSequence(…, explicit=…)2b11e5b
Correctly check that the scalar matches the point when importing an ECC priva...d64618b
use assertTrue instead of deprecated failUnless29b1171
use assertTrue instead of deprecated failUnlessd6a35eb
Add changelog URL to package metadataDependabot 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)