What does a post-quantum upgrade of rustls require today?
In rustls 0.23.48, released 3 December 2026, post-quantum key exchange with the default provider requires the aws-lc-rs provider, and the prefer-post-quantum feature is now a no-op. The rustls PR #3484 explains that the feature was added to default features in 0.23.27, that 0.23 users who set default-features = false often forgot to re-enable it, and that 0.23.48 therefore always prefers post-quantum key exchange with the default provider. The feature name is kept so that existing Cargo.toml entries still build. Teams that need different behavior can supply a custom crypto provider instead.
The people who need to care are planners of Rust builds and any team that sets default-features = false or uses the ring provider. Setting default-features = false removes the implicit aws-lc-rs dependency, so the application must select a provider itself, either by installing one as the process default with install_default() or by passing one through with_crypto_provider on the config builders. The rustls release notes for 0.23.48 deprecate rustls::crypto::ring::default_provider() because ring does not support post-quantum algorithms, so a ring-backed setup offers no post-quantum key exchange. Teams that rely on ring for build portability should weigh that tradeoff explicitly, since the rustls-ring provider is easier to build on many platforms but has a narrower feature set.
The build side of the upgrade is a C and C++ toolchain question. The aws-lc-rs documentation says a non-FIPS build needs only a C or C++ compiler, while a FIPS build always needs CMake and Go, plus bindgen unless the target has pre-generated bindings. Build pipelines and container images that have not been updated to carry these tools will fail at compile time, so the planner should check the build environment for each target platform before changing the dependency. The rustls README notes that rustls-aws-lc-rs is harder to build on some platforms, which makes this check a real cost for embedded, legacy or cross-compiled targets.
The rustls defaults manual warns that users may see unexpected connection failures with some sites, and it names tldr.fail as an example. X25519MLKEM768 is the hybrid post-quantum group enabled by default with aws-lc-rs, while standalone MLKEM768 is available but not enabled by default. Teams should test outbound connections to the endpoints their applications use before rollout, and report failures as the manual requests. The sources listed on this page do not describe a rustls-specific upgrade path beyond these settings, so the vendor should be asked to confirm any further steps, including how to handle endpoints that do not accept the hybrid group.
For applications that use post-quantum signatures, release 0.23.44 enabled ML-DSA certificate support by default in the aws-lc-rs provider. The notes say ML-DSA certificates are not supported in the public web PKI but can be used with private certificate hierarchies. The rustls-post-quantum crate, version 0.2.4, is described as experimental, and its aws-lc-rs-unstable feature flag adds three ML-DSA variants. Teams planning to depend on any of this should confirm with the project which parameter sets are supported, since the pages checked do not say and do not mention SLH-DSA.
Teams with FIPS 140-3 obligations face a separate question. The rustls FIPS manual says FIPS-approved cryptography requires a FIPS-approved provider, which rustls ships on aws-lc-rs, enabled with the fips crate feature and installed with default_fips_provider() as the process default. The manual says the aws-lc-rs module it uses is covered by FIPS 140-3 certificate #4816, that later aws-lc-rs releases may be covered by later certificates or be pending certification, and that it does not claim rustls itself is certified. The fips feature also changes the default for require_ems in the server and client configs. The FIPS manual does not mention ML-KEM, so it does not say whether ML-KEM is covered by that certificate. Ask the project, in writing, which module versions cover which post-quantum algorithms before relying on either in a regulated deployment.
The project's own roadmap lists hybrid key exchange as delivered in 0.23.2 as experimental X25519Kyber768Draft00 support and names no ML-KEM or ML-DSA work. The sources listed on this page do not say what further changes the project plans. A reasonable planning step is to record the exact rustls, aws-lc-rs and rustls-post-quantum versions in the build inventory, pin them, and track the release notes for each update. Third-party providers listed in the project's PROVIDERS.md have not been evaluated by the maintainers, and the project makes no post-quantum or FIPS statements about them, so they should not be treated as a route to post-quantum support without independent verification.
Which rustls components change the post-quantum answer
This table lists the rustls releases and components that changed post-quantum behavior, with the version, date and source for each. Read each row as a change in the default build or provider, and confirm the effective setting in your own Cargo.toml and provider configuration. The main takeaway is that the aws-lc-rs provider is the one that carries post-quantum key exchange and ML-DSA certificate support, while the ring provider does not.
| Component | Change | Date and source |
|---|---|---|
| rustls 0.23.27 | prefer-post-quantum feature added to default features | Per rustls PR 3484 (rustls GitHub, PR 3484) |
| prefer-post-quantum feature (later releases) | Kept as a no-op so existing Cargo.toml entries still build, and documented as obsolete with no effect in 0.23.48 | Per rustls PR 3484 and rustls crate docs for 0.23.48; PR merged into rel-0.23 on 3 December 2026 |
| rustls 0.23.44 | ML-DSA certificate support enabled by default in the aws-lc-rs provider, not supported in the public web PKI | 7 September 2026, rustls 0.23.44 release notes |
| rustls 0.23.48 | aws-lc-rs provider prefers hybrid X25519MLKEM768 regardless of crate features; P-384 preferred over X25519 and P-256 in the default order for both providers | 3 December 2026, rustls Releases |
| rustls 0.23.48 ring provider | rustls::crypto::ring::default_provider() deprecated because ring does not support post-quantum algorithms | 3 December 2026, rustls Releases and rustls ring docs |
| default-features = false | Removes the implicit aws-lc-rs dependency, so the application must select a provider itself | rustls crate docs for 0.23.48 |
| rustls-post-quantum 0.2.4 | Experimental post-quantum crate; ML-KEM support it once provided moved into rustls before 0.23.22; aws-lc-rs-unstable flag adds three ML-DSA variants | rustls-post-quantum docs; confirm the crate version and feature flags you build with |
Which build parts does post-quantum support depend on?
Post-quantum key exchange in rustls depends on which crypto provider is compiled in, how default features are set, and which build tools the chosen provider needs. The cards below cover each of these parts, and what each one means for an upgrade plan.
The crypto provider decides support
rustls-aws-lc-rs is the recommended first-party provider and offers the complete feature set, including post-quantum algorithms. rustls-ring does not support post-quantum algorithms, and the 0.23.48 release notes deprecate rustls::crypto::ring::default_provider() for that reason. A ring-backed build therefore offers no post-quantum key exchange. Confirm which provider each build actually links before planning changes.
Default features and the aws_lc_rs feature
The aws_lc_rs feature is enabled by default, so a plain dependency on rustls pulls in aws-lc-rs and its post-quantum groups. Setting default-features = false removes that implicit dependency, and the application must then select a provider itself. Check every Cargo.toml that depends on rustls, because a single default-features = false line can silently remove post-quantum support.
The custom-provider feature
The custom-provider feature turns off implicit use of the built-in providers, so an application must install a provider explicitly. A process has one implicit default provider, set once with install_default(), which can succeed at most once per process. Applications that need a different key exchange order can supply their own provider through with_crypto_provider on the config builders. The provider chosen this way determines what post-quantum groups are available.
The prefer-post-quantum feature is obsolete
The prefer-post-quantum feature was added to default features in 0.23.27, and it is now documented in 0.23.48 as obsolete with no effect. It is kept as a no-op so existing Cargo.toml entries still build. Since 0.23.48, the aws-lc-rs provider prefers the hybrid X25519MLKEM768 group regardless of crate features. Remove the flag from manifests where it is no longer needed, and do not treat its presence as evidence of post-quantum behavior.
The FIPS feature and its constraints
The fips feature enables FIPS 140-3-approved cryptography through aws-lc-rs, and it also changes the default for require_ems in ServerConfig and ClientConfig. A FIPS build requires the process default to be default_fips_provider(). The FIPS manual does not state whether ML-KEM is covered by the referenced aws-lc-rs certificate, so confirm that point before relying on post-quantum groups in a FIPS deployment.
The C/C++, CMake, Go and bindgen requirements
A non-FIPS aws-lc-rs build needs only a C/C++ compiler. A FIPS build always needs CMake and Go, and it also needs bindgen unless the target has pre-generated bindings. These tools belong to the build environment, not to the rustls crate, so the build image and CI runners must include them. Check the aws-lc-rs requirements page for the exact versions and target-specific notes before setting up a build pipeline.
aws-lc-rs requirementsHow the upgrade differs by build setup
With default features enabled, rustls pulls in the aws_lc_rs feature and uses the aws-lc-rs provider as its implicit default. According to the rustls 0.23.48 crate docs, the aws_lc_rs feature is on by default, and the rustls repository names rustls-aws-lc-rs as its recommended first-party provider. The release notes of 3 December 2026 say this provider prefers the hybrid X25519MLKEM768 group regardless of crate features, so a standard build already includes post-quantum key exchange. The prefer-post-quantum feature is now a no-op, retained so existing Cargo.toml entries still build.
- Hybrid key exchange by default: X25519MLKEM768 is preferred in the default aws-lc-rs build, per the 0.23.48 release notes.
- Standalone MLKEM768 not default: The rustls defaults manual says standalone MLKEM768 is available but not enabled by default.
- Build tooling: A non-FIPS aws-lc-rs build needs only a C/C++ compiler, according to the aws-lc-rs requirements page.
- Possible connection failures: The defaults manual says some sites may fail unexpectedly, and asks users to report them.
- Tuples and signatures: ML-DSA certificate support in aws-lc-rs was enabled by default in release 0.23.44, but the notes say it is not used in the public web PKI.
Check the rustls version in your lockfile, confirm the resolved key exchange group in a test handshake, and confirm the C/C++ toolchain on each build target.
Setting default-features = false removes the implicit aws-lc-rs dependency, so the application must select a CryptoProvider itself. The rustls crate docs say an application can supply its own provider through the with_crypto_provider method on the config builders, replacing all cryptography dependencies. The custom-provider feature turns off implicit use of the built-in providers, so the application must install one. The post-quantum result then depends on the chosen provider's support.
- Implicit dependency removed: With default-features = false, rustls no longer brings in aws-lc-rs on its own.
- Forgotten re-enable: The rustls PR 3484 says 0.23 users who set default-features = false often forgot to re-enable prefer-post-quantum, which is why 0.23.48 always prefers post-quantum key exchange with the default provider.
- Process-wide default: install_default() can succeed at most once per process, according to the CryptoProvider docs.
- Third-party providers: The crate docs name BoringSSL, graviola, mbedTLS, OpenSSL, RustCrypto, SymCrypt and wolfCrypt providers. The PROVIDERS.md file says the maintainers have not evaluated these, and makes no post-quantum or FIPS statements about them.
- Custom key exchange order: Use a custom CryptoProvider to change the key exchange order, per the 0.23.48 release notes.
Confirm which provider the build actually links, check that its key exchange list includes the groups you need, and test the installed default at startup.
The ring provider, rustls-ring, is easier to build on many platforms but has a narrower feature set. The rustls repository says rustls-ring does not support post-quantum algorithms. The 0.23.48 release notes deprecate rustls::crypto::ring::default_provider() for this reason, so a ring-backed setup offers no post-quantum key exchange. Moving a ring build to post-quantum therefore means changing the provider, not only a feature flag.
- No post-quantum key exchange: rustls-ring does not support post-quantum algorithms, per the rustls repository.
- Deprecated constructor: default_provider() in the ring module is deprecated in 0.23.48.
- Build trade-off: The rustls README says rustls-ring is easier to build on many platforms than rustls-aws-lc-rs, which is harder to build on some platforms.
- Provider swap required: Moving to the aws-lc-rs provider is a change of dependency and of the install call at startup.
- Retest connections: Changing the provider changes the groups offered during the handshake, so peers and proxies must be tested again.
If a ring build is in use, record that it offers no post-quantum key exchange, and confirm the build target supports the aws-lc-rs toolchain before planning a switch.
The fips feature enables FIPS 140-3-approved cryptography through aws-lc-rs. It also changes the default for require_ems in ServerConfig and ClientConfig. An application must enable the fips feature and install default_fips_provider() as the process default. The rustls FIPS manual says the aws-lc-rs module is covered by FIPS 140-3 certificate #4816, and that rustls itself is not claimed to be certified. The sources do not say whether ML-KEM is covered by that certificate.
- Feature and provider: The fips feature and default_fips_provider() must both be in place, per the FIPS manual.
- Certificate scope: The manual says the aws-lc-rs module is covered by certificate #4816, and that later releases may be covered by later certificates or be pending certification.
- ML-KEM coverage unknown: The FIPS manual does not mention ML-KEM, so whether the certificate covers it is not stated.
- Build tooling: A FIPS build always needs CMake and Go, plus bindgen unless the target has pre-generated bindings, per the aws-lc-rs requirements.
- Extended Master Secret: The fips feature changes the default for require_ems, so test client compatibility.
Ask the vendor or your assessor whether the certificate covers the exact aws-lc-rs version you build, and whether it covers ML-KEM, before relying on either.
Some federal contracts may cite CNSA 2.0 requirements. The sources do not mention CNSA 2.0 for rustls, and the rustls FIPS manual does not mention it either. Whether a rustls build meets any CNSA 2.0 expectation is therefore unknown from these sources. A build that is only FIPS-approved does not establish conformance to any particular national security profile.
- No rustls statement: The sources do not mention CNSA 2.0 for rustls.
- Parameter sets unconfirmed: The rustls pages checked do not state which ML-DSA parameter sets are supported, and do not mention SLH-DSA.
- ML-DSA status: ML-DSA certificates are enabled in aws-lc-rs but not used in the public web PKI, per release 0.23.44.
- Experimental flags: The rustls-post-quantum crate documents an aws-lc-rs-unstable flag for ML-DSA variants, and calls its support experimental.
- Contract language: Ask the contracting authority which standard and profile apply, and whether a specific build configuration is required.
Confirm with the vendor and the contracting authority which requirements apply, and document the exact rustls and aws-lc-rs versions reviewed.
What should a team change first?
This sequence confirms which rustls version and crypto provider a build actually uses, removes the implicit provider where needed, prepares the aws-lc-rs build tooling, sets the process default once at startup, and tests real handshakes before any change reaches production. Each step ends with a check that shows whether the next one can start.
Confirm the crate version and provider
An engineer checks Cargo.lock to see which rustls version the build resolves, and Cargo.toml to see which rustls features and provider crates are requested. The latest rustls release listed on 3 December 2026 is 0.23.48, which always prefers X25519MLKEM768 with the aws-lc-rs provider and moves P-384 ahead of X25519 and P-256 in the default order. Confirm the resolved version is 0.23.48 or later and that the crate resolving to the provider is rustls-aws-lc-rs, not rustls-ring. The check closes when the lock file and manifest agree on both values and the team has recorded them. Ring-backed builds offer no post-quantum key exchange, so a ring result must be noted as a gap.
Check the default-features setting
The engineer searches the manifests for default-features = false on the rustls dependency. Setting this removes the implicit aws-lc-rs dependency, so the application must select a provider itself, and it is a common reason the post-quantum key exchange is missing after an upgrade. Record whether the setting is present in each crate, workspace member and vendored copy. The check closes when every rustls dependency is listed with its default-features value and, where the value is false, the team has named the provider it will install.
Install the aws-lc-rs build prerequisites
The build engineer installs the tools aws-lc-rs needs on each build host and image. A non-FIPS build needs only a C or C++ compiler. A FIPS build always needs CMake and Go, and needs bindgen unless the target has pre-generated bindings, according to the aws-lc-rs requirements page. If the team enables the fips feature, confirm the FIPS-specific tools on every target. The check closes when a clean build of the application succeeds on each target platform in CI, with the tool versions recorded in the build log.
Call install_default once at startup
The application developer adds a single call to install_default() early in process startup, using the aws-lc-rs provider or the FIPS provider where the fips feature is set. The rustls CryptoProvider documentation says a process has one implicit default provider and that install_default() succeeds at most once per process, so calls in libraries or repeated initializers will fail. Search the codebase for every install call. The check closes when a test confirms that the process starts, that a second call returns an error the team handles, and that the active provider is the one the team intended.
Test handshakes with the sites you depend on
The engineer runs handshakes from the application to the external services and sites it relies on, and logs the negotiated key exchange group for each. The rustls defaults manual warns that users may see unexpected connection failures with some sites, and it names tldr.fail as an example. Keep a list of failing hosts, and treat each failure as a result to record and report rather than as proof of a fault in the upgrade. Test internal services and any peers that cannot be upgraded in the same way. The check closes when every dependency has a recorded result, with the group negotiated or the reason it failed.
Record results and report failing sites
The engineer writes the outcome of each earlier step into the team's inventory: the resolved version, provider, default-features value, prerequisite tool versions, startup call, and handshake table. Failing sites are reported to the rustls project through the path its defaults manual gives, so the project can track them. The security or vendor-risk lead then signs off the record. The check closes when the inventory entry is complete, the failing sites have been reported or are listed with an owner, and the record is dated.
Where the provider decision sits in the build and startup path
The provider choice starts at build time, where Cargo features decide which crypto provider crates are compiled in. At process startup, the application calls install_default() once to register a single implicit provider, and every config builder then draws its key exchange groups from that provider. With the aws-lc-rs provider, X25519MLKEM768 is preferred first. With ring, post-quantum groups are not offered at all. Check the enabled features, the provider registered at startup, and the negotiated group for each deployment.
Cargo features select the provider, which sets the key exchange groups at startup.
What the sources do not establish
The rustls sources checked for this page leave several points open that matter for planning a post-quantum upgrade. Each card below names one gap and what to ask the project or the provider before relying on the behavior in a build or a certificate decision.
ML-DSA parameter sets
The rustls 0.23.44 release notes say ML-DSA certificates are enabled by default in the aws-lc-rs provider, but the pages checked do not state which ML-DSA parameter sets, such as ML-DSA-87, are supported. Parameter set choice affects certificate and signature sizes, so the answer decides what your private PKI must issue and what your peers must accept. Ask the project which parameter sets the aws-lc-rs provider accepts for certificates and signatures, and whether the set you plan to use is tested in your target version.
0.23.44 releaseSLH-DSA support
The rustls pages checked do not mention SLH-DSA at all, so the sources neither confirm nor rule out support for that signature scheme. Teams that want a hash-based signature option for long-lived certificates or firmware need a direct answer, not an inference from ML-DSA support. Ask the project whether SLH-DSA is planned, implemented or excluded in any provider, and in which release that answer would apply.
Features manualML-KEM under FIPS certificate #4816
The rustls FIPS manual says the aws-lc-rs module it uses is covered by FIPS 140-3 certificate #4816, but it does not mention ML-KEM, so the sources do not say whether that certificate covers ML-KEM key exchange. Federal and regulated buyers who need FIPS-approved post-quantum key exchange cannot assume coverage from the certificate number alone. Ask the project and the aws-lc-rs maintainers which ML-KEM groups fall inside the certified boundary, and whether a later certificate covers them.
FIPS manualStandalone MLKEM768 in default groups
The aws-lc-rs default key exchange list does not include standalone MLKEM768, which is offered only in hybrid with X25519 by default, and the defaults manual says standalone MLKEM768 is not enabled out of conservatism. Whether a deployment must accept or offer the non-hybrid group is not stated in the sources, and a configuration that expects it may fail or fall back without warning. Ask the project for the reason standalone MLKEM768 is excluded from defaults, and how to select it explicitly without breaking peers that only accept hybrid groups.
Default key exchange groupsRoadmap coverage of ML-KEM and ML-DSA
The rustls roadmap lists the experimental X25519Kyber768Draft00 hybrid as delivered in 0.23.2 and FIPS certification of the default library as delivered in 0.23, but it names no ML-KEM or ML-DSA work. Procurement and vendor-risk reviews need a dated commitment, and the roadmap alone cannot provide one. Ask the project whether ML-KEM and ML-DSA changes are scheduled, which release they target, and whether any deprecation of the Kyber draft is planned.
rustls roadmapWhat can break during the upgrade?
The most visible risk in a rustls upgrade is an unexpected connection failure with some sites. The rustls defaults manual says users may see such failures and asks them to report the sites involved, naming tldr.fail as an example. The defaults manual also says X25519MLKEM768 is a hybrid post-quantum key exchange available with the aws-lc-rs provider, and that standalone MLKEM768 is available but not enabled by default out of conservatism. Because the default order now prefers hybrid post-quantum groups, a server or middlebox that handles those key exchange messages poorly can fail a handshake that previously succeeded. Plan a test run against the external endpoints your application calls, and record which hosts fail so you can report them and decide whether a different key exchange order is needed for them.
The second risk is a silent fallback. The rustls CryptoProvider documentation says a process has one implicit default provider, set once with install_default() early in startup, and that this call can succeed at most once per process. The rustls-post-quantum crate, version 0.2.4, offers a provider built on aws-lc-rs, and the ring provider does not support post-quantum algorithms, a point the 0.23.48 release notes make when they deprecate rustls::crypto::ring::default_provider(). If an application uses a custom provider or ring, or sets default-features = false and never selects a provider, the build can still succeed while key exchange stays classical. Confirm the provider at runtime, and confirm in the handshake that a post-quantum group was negotiated, rather than assuming it from the Cargo.toml entry.
Is rustls quantum safe after an upgrade?
Is rustls quantum safe after an upgrade?
Upgrading to rustls 0.23.48 does not make a deployment quantum safe, and the sources do not support that claim. What they support is narrower: with the default provider in 0.23.48, the library prefers the hybrid X25519MLKEM768 key exchange group, which combines the classical X25519 exchange with the ML-KEM post-quantum mechanism. A hybrid group protects the session key if either component holds, so it is the appropriate description for the key exchange only. Signatures and certificates are a separate question, since they depend on ECDSA, Ed25519 or RSA in the certificates your server and clients present, and those are not made post-quantum by this upgrade. The sources do not state that a given deployment is compliant, certified or validated, so confirm each connection's negotiated group and certificate type in your own environment before recording an answer.
Which rustls version do I need for post-quantum key exchange?
The release notes for rustls 0.23.48, published on 3 December 2026, are the version this page refers to. In that release, the aws-lc-rs provider prefers X25519MLKEM768 regardless of crate features, and the prefer-post-quantum feature, which was added to default features in 0.23.27, is now documented as obsolete with no effect. The rustls PR 3484 that makes this change was merged into the rel-0.23 branch on 3 December 2026. Earlier 0.23 releases behaved differently: users who set default-features = false often forgot to re-enable prefer-post-quantum, so they did not get the preference. If you are on an earlier 0.23 release, check the default features in your Cargo.toml and your lockfile to see what your build actually resolves to. Release 0.23.44, dated 7 September 2026, is the release the sources cite for enabling ML-DSA certificate support by default in the aws-lc-rs provider.
Does upgrading rustls to post-quantum cost extra?
The sources do not give a price or an effort estimate for this upgrade, and this page does not supply one. The cost components are still clear from the sources. The library itself is open source, so there is no license fee for rustls as published. The work is in your own engineering time: updating the dependency, checking the build, testing connections against peers, and deciding whether the ring or aws-lc-rs provider fits your platform. A build change may also cost time. The aws-lc-rs documentation says a non-FIPS build needs only a C/C++ compiler, while a FIPS build always needs CMake and Go, plus bindgen unless the target has pre-generated bindings. Those tools are a one-time setup cost for each build environment, and they recur whenever a build pipeline or base image changes. If you need FIPS-approved cryptography, the rustls FIPS manual points to a separate, FIPS-approved provider path. When requesting a quote from any outside party, ask for the cost of each build target, the testing against your actual peers, and the retesting after each library upgrade.
What breaks when rustls moves to post-quantum key exchange?
The rustls defaults manual says users may see unexpected connection failures with some sites, and names tldr.fail as an example, asking users to report such cases. The manual also says standalone MLKEM768 is available separately but is not enabled by default out of conservatism. Because the default preference is the hybrid group, the most likely break is a peer or middlebox that does not handle the larger hybrid key share. Check the following in a staging environment:
- Connections to each peer you depend on, including internal services and third-party APIs, and whether the handshake completes.
- Any load balancer, proxy or inspection device on the path, since a device that parses the TLS handshake may reject unfamiliar groups.
- Whether the negotiated group is X25519MLKEM768 or a classical group, so you know what each connection actually uses.
- Behavior of the ring provider, which the 0.23.48 notes say no longer supports post-quantum algorithms and which is deprecated as a default_provider() path.
Record the failures and the negotiated group for each, and escalate any failure to the owner of the peer or device.
What should I ask the rustls project or my vendor about post-quantum support?
The rustls project publishes its own release notes, manuals and roadmap, so start there and ask a specific question of anyone who supplies rustls in a product you buy. The sources show that the project's roadmap lists post-quantum hybrid key exchange as delivered in 0.23.2 as experimental X25519Kyber768Draft00 support, and names no ML-KEM or ML-DSA work in its roadmap. Ask a vendor or product owner:
- Which rustls version is shipped, and whether it is 0.23.48 or later.
- Which crypto provider is used, aws-lc-rs or ring, and whether the default_provider() path or a custom provider is in place.
- Whether X25519MLKEM768 is the negotiated group in the vendor's own connections, and whether it is tested against your peers.
- Whether any ML-DSA certificate use is enabled, and which parameter sets are covered, since the sources do not state which ML-DSA parameter sets are supported.
- Whether the vendor has published a statement on FIPS status for the build, and against which certificate.
Get every answer in writing and dated, and do not accept a general claim about quantum safety in its place.
Can my team upgrade rustls alone, or do we need outside help?
A team that already builds and deploys Rust services can usually make the dependency change itself, because the core step is a version bump and a default-features review in Cargo.toml. Most of the effort is in the testing and the build environment, not the code change. Your team may need outside help in three places: building FIPS-approved or other restricted-build targets, which need CMake, Go and bindgen on every build environment; testing against peers and middleboxes you do not control; and producing the evidence your assessors ask for, such as the negotiated group per connection and the record of provider choice. DeployOpen plans, implements, tests and documents self-hosted platforms in a client's own infrastructure and prepares systems and evidence for compliance assessments, but it does not issue audit reports or certifications, and independent auditors do that work. Scope and deliverables are agreed in writing before work starts, and DeployOpen does not publish prices, so ask for a written scope against the items above.
Does the rustls upgrade cover signatures and certificates too?
No. The sources separate key exchange from signatures and certificates. The rustls features manual lists ECDSA, Ed25519 and RSA for server and client authentication, and says Ed25519 is not supported by the WebPKI for publicly trusted certificates. The X25519MLKEM768 group changes the key exchange only. The 0.23.44 release enabled ML-DSA certificate support in the aws-lc-rs provider, but its notes say ML-DSA certificates are not supported in the public web PKI and can be used with private certificate hierarchies. So an upgrade that brings in the hybrid key exchange still leaves your public certificates on their existing algorithms. Inventory each certificate your services present, record its algorithm, and plan its replacement with the issuing authority separately from the rustls upgrade.
Is the FIPS build of rustls certified for post-quantum use?
The sources do not support a claim that rustls is FIPS-certified for post-quantum use. The rustls FIPS manual says the fips feature enables FIPS 140-3-approved cryptography through aws-lc-rs, which is covered by FIPS 140-3 certificate #4816, and that later aws-lc-rs releases may be covered by later certificates or be pending certification. It does not claim that rustls itself is certified. The same manual does not mention ML-KEM, so it does not say whether ML-KEM is covered by that certificate, and the pages checked do not mention CNSA 2.0. Enabling the fips feature also changes the default for require_ems in ServerConfig and ClientConfig, so review that setting when you turn it on. Before you record any FIPS or post-quantum status, confirm the certificate number and the covered algorithms with the provider's published validation record, and ask the vendor for the same.
How DeployOpen helps plan and test a rustls post-quantum upgrade
DeployOpen approaches a rustls post-quantum upgrade as a planning and testing exercise, not a single version bump. We start from the builds and dependencies your applications actually use, then test each change in your own environment before it reaches production. Every step is documented so your engineers and security reviewers can check what changed and why.
How we scope
- We record which rustls version, features and crypto provider each application uses, including any default-features = false settings.
- We confirm whether the build uses rustls-aws-lc-rs or rustls-ring, since only the aws-lc-rs provider offers post-quantum algorithms.
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we build
- We check C/C++ compiler, CMake and Go requirements for the aws-lc-rs build on each target platform, including FIPS builds.
- We set the process default CryptoProvider explicitly at startup, so no application silently falls back to a different provider.
- We test hybrid X25519MLKEM768 negotiation against the sites and peers your applications connect to, and log any connection failures.
How we hand over
- We deliver a written record of each application's rustls version, provider, enabled key exchange groups and build dependencies.
- We document which connections still lack post-quantum key exchange, such as any ring-backed setup, so your team sees the gaps clearly.
- We provide test results and configuration notes that your security and compliance teams can review on their own schedule.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, so future rustls releases get the same review.
- We track release notes for changes such as the 0.23.48 provider order updates and deprecation of the ring default provider.
- Support covers retesting after dependency or provider changes, so the documented state stays accurate as your environment changes.

