-
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.
X25519MLKEM768remains 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
X25519MLKEM768key exchange regardless of crate features. Previously this required theprefer-post-quantumfeature, which was easily lost when usingdefault-features = false. That feature remains for compatibility, but now has no effect beyond enablingaws_lc_rs. Use a customCryptoProviderif 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 ascheck_quic()and returns thequic::Suitefor protecting initial packets. The newClientConfig::check_quic()does likewise for clients. Creating a QUIC client connection now fails if the provider lacks a QUIC-compatibleTLS13_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