Skip to content

Update cryptography requirement from <37.0.0,>=3.1.0 to >=3.1.0,<41.0.0 #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 24, 2023

Updates the requirements on cryptography to permit the latest version.

Changelog

Sourced from cryptography's changelog.

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.

  • Added support for generating SSH certificates with :class:~cryptography.hazmat.primitives.serialization.SSHCertificateBuilder.

  • Added :meth:~cryptography.x509.Certificate.verify_directly_issued_by to :class:~cryptography.x509.Certificate.

  • Added a check to :class:~cryptography.x509.NameConstraints to ensure that :class:~cryptography.x509.DNSName constraints do not contain any * wildcards.

  • Removed many unused CFFI OpenSSL bindings. This will not impact you unless you are using cryptography to directly invoke OpenSSL's C API. Note that these have never been considered a stable, supported, public API by cryptography, this note is included as a courtesy.

  • The X.509 builder classes now raise UnsupportedAlgorithm instead of ValueError if an unsupported hash algorithm is passed.

  • Added public union type aliases for type hinting:

    • Asymmetric types: </tr></table>

... (truncated)

Commits

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)

Updates the requirements on [cryptography](https://github.com/pyca/cryptography) to permit the latest version.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@3.1...40.0.0)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 24, 2023
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 31, 2023

Superseded by #18.

@dependabot dependabot bot closed this May 31, 2023
@dependabot dependabot bot deleted the dependabot/pip/cryptography-gte-3.1.0-and-lt-41.0.0 branch May 31, 2023 07:01
@github-actions github-actions bot locked and limited conversation to collaborators May 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants