Bump cryptography from 42.0.8 to 45.0.3
Bumps cryptography from 42.0.8 to 45.0.3.
Changelog
Sourced from cryptography's changelog.
45.0.3 - 2025-05-25
* Fixed decrypting PKCS#8 files encrypted with long salts (this impacts keys encrypted by Bouncy Castle). * Fixed decrypting PKCS#8 files encrypted with DES-CBC-MD5. While wildly insecure, this remains prevalent... _v45-0-2:
45.0.2 - 2025-05-17
- Fixed using
mypywithcryptographyon older versions of Python... _v45-0-1:
45.0.1 - 2025-05-17
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.5.0... _v45-0-0:
45.0.0 - 2025-05-17 (YANKED)
- Support for Python 3.7 is deprecated and will be removed in the next
cryptographyrelease.- Updated the minimum supported Rust version (MSRV) to 1.74.0, from 1.65.0.
- Added support for serialization of PKCS#12 Java truststores in :func:
~cryptography.hazmat.primitives.serialization.pkcs12.serialize_java_truststore- Added :meth:
~cryptography.hazmat.primitives.kdf.argon2.Argon2id.derive_phc_encodedand :meth:~cryptography.hazmat.primitives.kdf.argon2.Argon2id.verify_phc_encodedmethods to support password hashing in the PHC string format- Added support for PKCS7 decryption and encryption using AES-256 as the content algorithm, in addition to AES-128.
- BACKWARDS INCOMPATIBLE: Made SSH private key loading more consistent with other private key loading: :func:
~cryptography.hazmat.primitives.serialization.load_ssh_private_keynow raises aTypeErrorif the key is unencrypted but a password is provided (previously no exception was raised), and raises aTypeErrorif the key is encrypted but no password is provided (previously aValueErrorwas raised).- Added
__copy__to the :class:~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey, :class:~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey, :class:~cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PublicKey, :class:~cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PrivateKey, :class:~cryptography.hazmat.primitives.asymmetric.ed448.Ed448PublicKey,
... (truncated)
Commits
5038495backports for 45.0.3 release (#12979)f81c075Backport mypy fixes for release (#12930)8ea28e0bump for 45.0.1 (#12922)6784097bump for 45 release (#12886)2d9c1c9bump MSRV to 1.74 (#12919)6c18874Bump BoringSSL, OpenSSL, AWS-LC in CI (#12918)43fd312add test vectors for upcoming explicit curve loading (#12913)6bfa0a3chore(deps): bump asn1 from 0.21.2 to 0.21.3 (#12914)a88dd66chore(deps): bump cc from 1.2.22 to 1.2.23 (#12912)e4e9840chore(deps): bump uv from 0.7.3 to 0.7.4 in /.github/requirements (#12911)- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
⚠️ The PR is missing the ready-for-pipeline-running label. Please add the label when the PR is ready in order to proceed.
Validate summary
Verdict: PR can be force merged from validate perspective? ✅
Superseded by #40231.