* Fixed compilation when using LibreSSL 3.7.2.
* Added some functions to support an upcoming ``pyOpenSSL`` release.
.. _v40-0-1:
40.0.1 - 2023-03-24
Fixed a bug where certain operations would fail if an object happened to be
in the top-half of the memory-space. This only impacted 32-bit systems.
.. _v40-0-0:
40.0.0 - 2023-03-24
BACKWARDS INCOMPATIBLE: As announced in the 39.0.0 changelog, the way
cryptography links OpenSSL has changed. This only impacts users who
build cryptography from source (i.e., not from a wheel), and
specify their own version of OpenSSL. For those users, the CFLAGS,
LDFLAGS, INCLUDE, LIB, and CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS
environment variables are no longer valid. Instead, users need to configure
their builds as documented here_.
Support for Python 3.6 is deprecated and will be removed in the next
release.
Deprecated the current minimum supported Rust version (MSRV) of 1.48.0.
In the next release we will raise MSRV to 1.56.0. Users with the latest
pip will typically get a wheel and not need Rust installed, but check
:doc:/installation for documentation on installing a newer rustc if
required.
Deprecated support for OpenSSL less than 1.1.1d. The next release of
cryptography will drop support for older versions.
Deprecated support for DSA keys in
:func:~cryptography.hazmat.primitives.serialization.load_ssh_public_key
and
:func:~cryptography.hazmat.primitives.serialization.load_ssh_private_key.
Deprecated support for OpenSSH serialization in
:class:~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey
and
:class:~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey.
The minimum supported version of PyPy3 is now 7.3.10.
Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.1.0.
Added support for parsing SSH certificates in addition to public keys with
:func:~cryptography.hazmat.primitives.serialization.load_ssh_public_identity.
:func:~cryptography.hazmat.primitives.serialization.load_ssh_public_key
continues to support only public keys.
</tr></table>
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 cryptography from 3.4.6 to 40.0.2.
Changelog
Sourced from cryptography's changelog.
... (truncated)
Commits
f816b45
version bump for 40.0.2 (#8728)8bf7a9d
update openssl/openssl-sys to support libressl 3.7.2 (#8723)74a3cca
re-add a binding for an upcoming pyopenssl release (backport) (#8725)c29f829
Compare benchmarks against the target branch, not main (#8726) (#8727)c124f4e
certbot moved their tests to an internal package (#8633)5503df3
Restore the x509 error verification codes (#8626) (#8628)9dd0b26
Backport fix for 40.0.1 (#8603)45e3771
version bump and changelog for 40.0.0 (#8583)c8328c0
Migrate x25519 to use rust-openssl (#7933)370280b
fixes #8450 -- enable sparse registry everywhere (#8566)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)