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

    Community-maintained. Last verified 2026-12-03. Edit this entryReport a problem

    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-rs crypto provider. The ring provider has no post-quantum key exchange.

    Pure MLKEM768 is available but not enabled by default.

    1. 0.23.22Post-quantum key exchange moves from the rustls-post-quantum crate into rustls, enabled at low priority.
    2. 0.23.27prefer-post-quantum becomes a default feature: X25519MLKEM768 is 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-rs crypto 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.

    Machine-readable: /api/rustls.json