Is rustls Quantum-Safe?

By Team Cyber Kendra • • 1 Min Read • Follow on Google News Add to Preferred Source

Short answer

Yes: with its default aws-lc-rs crypto provider, rustls prefers the hybrid X25519MLKEM768 key exchange by default (since 0.23.27), and since 0.23.44 accepts ML-DSA certificates by default. The ring provider does not offer the hybrid.

  • Encryption: On for everyone
  • Logins: On for everyone

Last checked against the company's own announcements.

Post-quantum status of rustls

Encryption of your data (key exchange)

On for everyone

Algorithm: X25519MLKEM768

What it covers: TLS 1.3 with aws-lc-rs provider (default)

Highest priority group via default prefer-post-quantum feature. Pure MLKEM768 not enabled by default. Not available with ring provider.

Logins and identity (signatures)

On for everyone

Algorithm: ML-DSA

Since: September 7, 2026

What it covers: Verifying ML-DSA certificates/signatures, aws-lc-rs provider

Enabled by default in 0.23.44; ML-DSA certs are not in the public web PKI, only private hierarchies.

Website certificates (proving the site is real)

Available, switch it on

Algorithm: ML-DSA

Since: September 7, 2026

What it covers: Private certificate hierarchies

Public CAs do not issue ML-DSA certificates.

What you should do

Use rustls 0.23.27 or later with the default aws-lc-rs provider and default features (prefer-post-quantum). If you switched to the ring provider or disabled default features, you will not get PQ key exchange. ML-DSA certificates work only with private CAs.

Version needed: 0.23.22

How rustls compares with other Libraries

How rustls compares with other Libraries
App or service Encryption (key exchange) Logins (signatures) Checked
.NET Partly Switch it on Dec 4, 2026
AWS-LC Protected Switch it on Dec 4, 2026
BoringSSL Protected Switch it on Dec 4, 2026
Bouncy Castle Switch it on Switch it on Dec 4, 2026
GnuTLS Switch it on Switch it on Dec 4, 2026
Go standard library (crypto/tls) Protected Switch it on Dec 4, 2026
Java / OpenJDK Protected Switch it on Dec 4, 2026
Node.js Protected Switch it on Dec 4, 2026
Open Quantum Safe liboqs Switch it on Switch it on Dec 4, 2026
OpenSSH Protected Not yet Dec 4, 2026
OpenSSL Protected Switch it on Dec 4, 2026
rustls Protected Protected Dec 4, 2026
wolfSSL Switch it on Switch it on Dec 4, 2026

Questions people ask

Is rustls quantum-safe?

Yes: with its default aws-lc-rs crypto provider, rustls prefers the hybrid X25519MLKEM768 key exchange by default (since 0.23.27), and since 0.23.44 accepts ML-DSA certificates by default. The ring provider does not offer the hybrid.

Does rustls use post-quantum encryption by default?

Yes. rustls uses post-quantum key exchange by default (X25519MLKEM768). TLS 1.3 with aws-lc-rs provider (default)

What should I do to stay protected on rustls?

Use rustls 0.23.27 or later with the default aws-lc-rs provider and default features (prefer-post-quantum). If you switched to the ring provider or disabled default features, you will not get PQ key exchange. ML-DSA certificates work only with private CAs.

Are rustls logins and certificates quantum-safe?

Yes. rustls also uses post-quantum signatures to prove identity.

Sources

  1. docs.rs / rustls: rustls defaults manual (0.23.48) official source
  2. docs.rs / rustls: rustls feature flags (0.23.48) official source
  3. rustls (GitHub): rustls releases official source
  4. docs.rs / rustls: rustls-post-quantum 0.2.3 README official source
  5. Cloudflare: Post-quantum support in software (Cloudflare)
  6. Phoronix: Rustls 0.23.44 Released With ML-DSA Certificates Enabled By Default (September 7, 2026)

Last verified: December 4, 2026. We re-check every app regularly against the company's own announcements and documentation.

See all 101 apps and services Which Libraries are quantum-safe?

Something changed? Suggest a correction

Latest Articles

View all