Skip to content

Update rustls dependencies to upstream 0.24 - #2701

Open
iadev09 wants to merge 3 commits into
quinn-rs:mainfrom
iadev09:rustls-0.24-upgrade
Open

Update rustls dependencies to upstream 0.24#2701
iadev09 wants to merge 3 commits into
quinn-rs:mainfrom
iadev09:rustls-0.24-upgrade

Conversation

@iadev09

@iadev09 iadev09 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Updates Quinn's rustls integration to the current upstream rustls 0.24 development API.

Comment thread quinn-proto/src/crypto/rustls.rs Outdated
Comment thread quinn-proto/src/crypto/rustls.rs Outdated
Comment thread quinn-proto/src/crypto/rustls.rs
Comment thread quinn-proto/Cargo.toml
@iadev09
iadev09 marked this pull request as draft June 27, 2026 13:04
@iadev09
iadev09 force-pushed the rustls-0.24-upgrade branch from 12877a8 to 1d22b0e Compare June 27, 2026 14:33
@iadev09

iadev09 commented Jun 27, 2026

Copy link
Copy Markdown
Contributor Author

I tried the retry cleanup separately first, but it depends on the rustls QUIC API shape available in the 0.24 path, so I kept it as a separate commit in this upgrade PR.

@iadev09
iadev09 marked this pull request as ready for review June 27, 2026 14:56
Comment thread .github/workflows/rust.yml Outdated
Comment thread docs/book/src/bin/certificate.rs Outdated
Comment thread docs/book/src/bin/certificate.rs Outdated
Comment thread perf/src/client.rs Outdated
Comment thread perf/src/client.rs Outdated
Comment thread quinn-proto/src/tests/mod.rs Outdated
Comment thread quinn-proto/src/tests/util.rs Outdated
Comment thread quinn-proto/src/tests/util.rs Outdated
Comment thread quinn-proto/src/tests/util.rs Outdated
Comment thread quinn/examples/insecure_connection.rs Outdated
@iadev09
iadev09 force-pushed the rustls-0.24-upgrade branch 3 times, most recently from 07d5141 to d406e74 Compare July 9, 2026 03:20
@iadev09

iadev09 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Also restored key_log in the test client config (dropped during the port). KeyLogFile moved out of the core crate into rustls-util upstream, hence the new dev-dependency. Squashed into the first commit.

@iadev09

iadev09 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

Split into three commits:

  1. Update Quinn to rustls 0.24 while keeping the old Retry code working.
  2. Delay reporting handshake data until it is ready after a HelloRetryRequest.
  3. Move Retry integrity protection to rustls PacketKey.

@iadev09
iadev09 force-pushed the rustls-0.24-upgrade branch from 0513900 to 76e4873 Compare August 26, 2026 22:07
Rebase the port on current Quinn main, pin the latest rustls main and verifier upgrade, and adapt Quinn to rustls' split providers and ordered QUIC input/event APIs.
@iadev09
iadev09 force-pushed the rustls-0.24-upgrade branch from 76e4873 to 6f6efd9 Compare August 28, 2026 16:53
Use the selected rustls QUIC suite for Retry integrity protection instead of directly invoking Ring or AWS-LC AEAD primitives.
@iadev09
iadev09 force-pushed the rustls-0.24-upgrade branch from 6f6efd9 to b955bfc Compare August 28, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants