github rustls/rustls v/0.23.48
0.23.48

48 minutes ago
  • Classical key exchange reprioritization: P-384 is now preferred over X25519 and P-256 in the default key exchange groups of both the aws-lc-rs and ring providers. X25519MLKEM768 remains the first preference for aws-lc-rs. See Mozilla's blog post for background.

  • Post-quantum key exchange: The aws-lc-rs provider now prefers X25519MLKEM768 key exchange regardless of crate features. Previously this required the prefer-post-quantum feature, which was easily lost when using default-features = false. That feature remains for compatibility, but now has no effect beyond enabling aws_lc_rs. Use a custom CryptoProvider if you need a different order.

  • Deprecation: rustls::crypto::ring::default_provider() is now deprecated, because ring does not support post-quantum algorithms.

  • QUIC API: ServerConfig::quic_initial_suite() performs the same checks as check_quic() and returns the quic::Suite for protecting initial packets. The new ClientConfig::check_quic() does likewise for clients. Creating a QUIC client connection now fails if the provider lacks a QUIC-compatible TLS13_AES_128_GCM_SHA256, as was already the case for servers.

What's Changed

  • Always prefer post-quantum key exchange by @djc in #3484
  • Deprecate ring by @djc in #3487
  • quic: yield initial cipher suite from config check methods (0.23) by @djc in #3489
  • [0.23] Prefer P-384 for classical key exchange by @ctz in #3491

Full Changelog: v/0.23.47...v/0.23.48

Don't miss a new rustls release

NewReleases is sending notifications on new releases.