Skip to content
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

build(deps): Bump rustls from 0.21.9 to 0.22.1 #2338

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 11, 2023

Bumps rustls from 0.21.9 to 0.22.1.

Release notes

Sourced from rustls's releases.

0.22.1

  • TLS 1.2 servers now remove session tickets after observing a failure to decrypt, preventing future resumption with the same unusable ticket.
  • The rustls_pki_types crate is now re-exported as rustls::pki_types.
  • The crate examples examples have been updated to use the rustls::pki_types re-export.
  • The quic::PacketKey and quic::HeaderProtectionKey traits are now Send + Sync.
  • Performance improvements to the MessageDeframer internals.
  • Small documentation improvements.

What's Changed

New Contributors

Full Changelog: rustls/rustls@v/0.22.0...v/0.22.1

0.22.0

New features

  • Configurable cryptography providers. The cryptography used by rustls is represented by the CryptoProvider trait. ring is now optional, but remains the default provider.
  • Certificate revocation list (CRL) support. The default certificate verifier used in rustls can now be configured with CRLs to control revocation of client and server certificates.
  • Optional support for cryptography from aws-lc-rs. Once the certification process completes , we will support FIPS mode using aws-lc-rs.
  • Separate configuration of root hints in client certificate verifier. To deal with cross-signed client certificate topologies, the list of hints sent to a client can now be configured. The default behaviour remains to send the names of the configured root certificates.

Related libraries

There are some related libraries in the rustls ecosystem. If you depend on these libraries, you'll need at least these versions to be compatible with rustls 0.22:

rustls-pki-types = { version = "1" }
webpki-roots = { version = "0.26" }
rustls-webpki = { version = "0.102" }
rustls-pemfile = { version = "2" }
rustls-native-certs = { version = "0.7"}

Breaking changes

  • Remove support for SCTs provided via TLS extension. Ecosystem support for this is rare compared to inclusion of SCTs in certificates.
  • Rename WebPkiVerifier to WebPkiServerVerifier and add WebPkiClientVerifier.
  • Remove default trait implementations in ServerCertVerifier/ClientCertVerifier so the trait doesn't depend on webpki. Instead the previous implementations are exposed as rustls::crypto::verify_tls12_signature, rustls::crypto::verify_tls13_signature and $PROVIDER.signature_verification_algorithms.supported_schemes(), using the crypto provider of your choice.
  • Rework certificate auth verifiers construction into a builder. This covers both server and client certificate verifiers: call WebPkiServerVerifier::builder() and WebPkiClientVerifier::builder().

... (truncated)

Commits
  • 62751aa Cargo: version 0.22.0 -> 0.22.1
  • 87d5259 update examples to use pki_types re-export
  • 4226d1e Re-export the rustls-pki-types crate contents
  • d624506 suites: move Debug impl below inherent impl
  • 57071f7 quic: require that PacketKey and HeaderProtectionKey are Send + sync
  • f05fd1e crypto: explain TLS 1.2 version in TLS 1.3 message encrypters
  • 73f490f Batch discard operations
  • d4844a0 Introduce DeframerSliceBuffer
  • 0a44288 make append_hs generic
  • 7b33d8a make MessageDeframer unbuffered
  • Additional commits viewable in compare view

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot requested a review from a team as a code owner December 11, 2023 19:05
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Dec 11, 2023
Copy link
Contributor

@divviup-github-automation divviup-github-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approving dependabot PR.

@dependabot dependabot bot force-pushed the dependabot/cargo/main/rustls-0.22.1 branch from d03fc67 to c92bb0a Compare December 11, 2023 20:06
Copy link
Contributor

@divviup-github-automation divviup-github-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approving dependabot PR.

@branlwyd
Copy link
Contributor

This needs to wait for a version of tokio_postgres_rustls compatible with rustls 0.22; at time of writing, the latest version is 0.10.0 which is compatible with rustls 0.21.

@dependabot dependabot bot force-pushed the dependabot/cargo/main/rustls-0.22.1 branch from c92bb0a to 38d969e Compare December 11, 2023 21:55
Copy link
Contributor

@divviup-github-automation divviup-github-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approving dependabot PR.

@dependabot dependabot bot force-pushed the dependabot/cargo/main/rustls-0.22.1 branch from 38d969e to 8222baa Compare December 12, 2023 21:02
Copy link
Contributor

@divviup-github-automation divviup-github-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approving dependabot PR.

@dependabot dependabot bot force-pushed the dependabot/cargo/main/rustls-0.22.1 branch 2 times, most recently from 6f28f25 to fad47bc Compare December 25, 2023 21:11
@dependabot dependabot bot force-pushed the dependabot/cargo/main/rustls-0.22.1 branch 2 times, most recently from fd6efd9 to 1ce9063 Compare January 3, 2024 19:56
Bumps [rustls](https://github.com/rustls/rustls) from 0.21.9 to 0.22.1.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](rustls/rustls@v/0.21.9...v/0.22.1)

---
updated-dependencies:
- dependency-name: rustls
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/main/rustls-0.22.1 branch from 1ce9063 to 29834ba Compare January 3, 2024 21:36
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 8, 2024

Superseded by #2446.

@dependabot dependabot bot closed this Jan 8, 2024
auto-merge was automatically disabled January 8, 2024 17:53

Pull request was closed

@dependabot dependabot bot deleted the dependabot/cargo/main/rustls-0.22.1 branch January 8, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants