library · https://github.com/rustls/rustls
Is rustls post-quantum?
Yes, for confidentiality
Confidentiality Yes
since rustls 0.23.27
Authentication Opt-in
since rustls 0.23.44
rustls prefers hybrid ML-KEM key exchange by default with its default aws-lc-rs crypto provider.
TLS
Confidentiality Yes
- Since
- 0.23.27
- Algorithms
X25519MLKEM768- On by default
- Yes
- Conditions
- With the
aws-lc-rscrypto provider. Theringprovider has no post-quantum key exchange.
Pure MLKEM768 is available but not enabled by default.
- 0.23.22Post-quantum key exchange moves from the
rustls-post-quantumcrate into rustls, enabled at low priority. - 0.23.27
prefer-post-quantumbecomes a default feature:X25519MLKEM768is preferred.
Sources: rustls releases · rustls manual, defaults
Authentication Opt-in
- Since
- 0.23.44
- Algorithms
ML-DSA- On by default
- No, needs configuration
- Conditions
- With the
aws-lc-rscrypto provider.
ML-DSA certificates are enabled by default. Authentication is post-quantum only when the peer uses one.
Sources: rustls releases
Entries that build on rustls: curl.