* Fixed parsing TLVs in ASN.1 with length greater than 65535 bytes (typically
seen in large CRLs).
.. _v38-0-0:
38.0.0 - 2022-09-06
Final deprecation of OpenSSL 1.1.0. The next release of cryptography
will drop support.
We no longer ship manylinux2010 wheels. Users should upgrade to the
latest pip to ensure this doesn't cause issues downloading wheels on
their platform. We now ship manylinux_2_28 wheels for users on new
enough platforms.
Updated the minimum supported Rust version (MSRV) to 1.48.0, from 1.41.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.
:meth:~cryptography.fernet.Fernet.decrypt and related methods now accept
both str and bytes tokens.
Parsing CertificateSigningRequest restores the behavior of enforcing
that the Extensioncritical field must be correctly encoded DER. See
the issue <https://github.com/pyca/cryptography/issues/6368>_ for complete
details.
Added two new OpenSSL functions to the bindings to support an upcoming
pyOpenSSL release.
When parsing :class:~cryptography.x509.CertificateRevocationList and
:class:~cryptography.x509.CertificateSigningRequest values, it is now
enforced that the version value in the input must be valid according to
the rules of :rfc:2986 and :rfc:5280.
Using MD5 or SHA1 in :class:~cryptography.x509.CertificateBuilder and
other X.509 builders is deprecated and support will be removed in the next
version.
Added additional APIs to
:class:~cryptography.x509.certificate_transparency.SignedCertificateTimestamp, including
:attr:~cryptography.x509.certificate_transparency.SignedCertificateTimestamp.signature_hash_algorithm,
:attr:~cryptography.x509.certificate_transparency.SignedCertificateTimestamp.signature_algorithm,
:attr:~cryptography.x509.certificate_transparency.SignedCertificateTimestamp.signature, and
:attr:~cryptography.x509.certificate_transparency.SignedCertificateTimestamp.extension_bytes.
Added :attr:~cryptography.x509.Certificate.tbs_precertificate_bytes, allowing
users to access the to-be-signed pre-certificate data needed for signed
certificate timestamp verification.
:class:~cryptography.hazmat.primitives.kdf.kbkdf.KBKDFHMAC and
:class:~cryptography.hazmat.primitives.kdf.kbkdf.KBKDFCMAC now support
:attr:~cryptography.hazmat.primitives.kdf.kbkdf.CounterLocation.MiddleFixed
counter location.
Fixed :rfc:4514 name parsing to reverse the order of the RDNs according
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 37.0.0 to 38.0.1.
Changelog
Sourced from cryptography's changelog.
... (truncated)
Commits
3ff5218
Backport tlv fix, 38.0.1 bump (#7576)52d6f1a
version bump for 38 release (#7567)8c687e6
Bump rust-asn1 to 0.12.1 (#7564)aca4b10
Bump rust-asn1 to 0.12.0 (#7563)1742975
support setting more PKCS12 serialization encryption options (#7560)abb1f54
Bump once_cell from 1.13.1 to 1.14.0 in /src/rust (#7559)01a0e3b
Bump BoringSSL version to 8462a367bb57e9524c3d8eca9c62733c63a63cf4 (#7558)35a965f
Bump ouroboros from 0.15.3 to 0.15.4 in /src/rust (#7557)9a208e1
Bump BoringSSL version to 19009c51bff0706362e824f66a0b189326a1c27d (#7555)b342224
Bump iana-time-zone from 0.1.46 to 0.1.47 in /src/rust (#7552)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)