Bump cryptography from 3.3.2 to 36.0.1
Bumps cryptography from 3.3.2 to 36.0.1.
Changelog
Sourced from cryptography's changelog.
36.0.1 - 2021-12-14
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 1.1.1m. .. _v36-0-0: 36.0.0 - 2021-11-21
- FINAL DEPRECATION Support for
verifier
andsigner
on our asymmetric key classes was deprecated in version 2.0. These functions had an extended deprecation due to usage, however the next version ofcryptography
will drop support. Users should migrate tosign
andverify
.- The entire :doc:
/x509/index
layer is now written in Rust. This allows alternate asymmetric key implementations that can support cloud key management services or hardware security modules provided they implement the necessary interface (for example: :class:~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey
).- :ref:
Deprecated the backend argument<faq-missing-backend>
for all functions.- Added support for :class:
~cryptography.hazmat.primitives.ciphers.aead.AESOCB3
.- Added support for iterating over arbitrary request :attr:
~cryptography.x509.CertificateSigningRequest.attributes
.- Deprecated the
get_attribute_for_oid
method on :class:~cryptography.x509.CertificateSigningRequest
in favor of :meth:~cryptography.x509.Attributes.get_attribute_for_oid
on the new :class:~cryptography.x509.Attributes
object.- Fixed handling of PEM files to allow loading when certificate and key are in the same file.
- Fixed parsing of :class:
~cryptography.x509.CertificatePolicies
extensions containing legacyBMPString
values in theirexplicitText
.- Allow parsing of negative serial numbers in certificates. Negative serial numbers are prohibited by :rfc:
5280
so a deprecation warning will be raised whenever they are encountered. A future version ofcryptography
will drop support for parsing them.- Added support for parsing PKCS12 files with friendly names for all certificates with :func:
~cryptography.hazmat.primitives.serialization.pkcs12.load_pkcs12
, which will return an object of type :class:~cryptography.hazmat.primitives.serialization.pkcs12.PKCS12KeyAndCertificates
.- :meth:
~cryptography.x509.Name.rfc4514_string
and related methods now have an optionalattr_name_overrides
parameter to supply custom OID to name mappings, which can be used to match vendor-specific extensions.- BACKWARDS INCOMPATIBLE: Reverted the nonstandard formatting of email address fields as
E
in :meth:~cryptography.x509.Name.rfc4514_string
methods from version 35.0.
... (truncated)
Commits
-
3fd9d5a
Bump for 36.0.1 release (#6704) -
5d21990
Bump for 36.0.0 release (#6643) -
d09e1ed
Final polish on removing backends from places they aren't required (#6644) -
5bd0c10
allow parsing of nonstandard country name and jurisdiction country name (#6641) -
2b22df1
remind people we're going to remove verifier/signer (#6640) -
b14285e
Simplify the code in the AEAD test (#6638) -
8be0f79
Added a CI job for 3.11-dev (#6637) -
a9f101f
Reduce number of windows builders (#6636) -
60c846f
Make randomorder a regular job and not a distro one (#6633) -
ccbcd46
Remove unused attributes (#6631) - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot rebase
will rebase this MR -
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts