Does a curl post-quantum upgrade depend on the TLS backend and build?
If you must record what a curl post-quantum upgrade requires, the short answer is that it is mainly a TLS backend and build question. As of 2026-12-03, the route the researched sources describe is hybrid key exchange enabled through --curves, for example `curl -v --curves X25519MLKEM768 and whether that works depends on which TLS library curl was built against and how that library was compiled. Engineers who run curl on build servers, in scripts, in containers or on endpoints should care, as should the security and vendor-risk leads who must record the answer. The curl project publishes no minimum version, no default and no roadmap for post-quantum support, so none of these can be taken from curl itself.
The backend matters because curl delegates the cryptography to the library underneath it. Its SSL comparison lists OpenSSL, GnuTLS, wolfSSL, mbedTLS, Schannel and rustls, and the --curves option, which sets the key exchange groups, is documented against the TLS library's behavior, not curl's own. The libcurl page for CURLOPT_SSL_EC_CURVES says it applies only to the OpenSSL and wolfSSL backends and does not mention post-quantum groups. A wolfSSL-based build is a different case: the curl 8.21.0 changelog lists a fix for PQC key shares, and wolfSSL's April 30, 2026 post says curl needs wolfSSL built with --enable-curl, --enable-mlkem and --enable-mldsa, and that the groups work in TLS 1.3 only. Check the backend, its version and its compile flags with curl -V and with the library vendor's documentation before recording anything.
Which curl version and backend each post-quantum fact applies to
This table lists each post-quantum fact by curl version, TLS backend and component, with the source date for each row. Read it to see which backend a fact covers, and treat any backend marked as not covered as unverified until the vendor or project confirms it.
| Component | What the sources say | Source and date |
|---|---|---|
| curl 8.21.0 wolfSSL key shares | Bugfix "tls: wolfssl: fixes for PQC key shares" in the wolfSSL backend | curl changelog, June 24, 2026 |
| curl PR 22030 (wolfSSL groups) | Applies --curves through wolfSSL_CTX_set1_groups_list() and removes the default QUIC group setting; the ML-KEM path was never enabled because WOLFSSL_HAVE_KYBER is gone upstream | curl PR 22030, checked December 3, 2026 |
| --curves option | Sets TLS key exchange groups (for example X25519:P-521) and ignores the library default list when set; added in curl 7.73.0 | curl man page, checked December 3, 2026 |
| CURLOPT_SSL_EC_CURVES | Works only with OpenSSL and wolfSSL; does not mention post-quantum groups | libcurl docs, checked December 3, 2026 |
| wolfSSL build requirements | curl needs wolfSSL built with --enable-curl, --enable-mlkem and --enable-mldsa; groups work in TLS 1.3 only | wolfSSL post, April 30, 2026 |
| OpenSSL, GnuTLS, mbedTLS, Schannel, rustls | Not covered: the sources checked do not state post-quantum group or signature support for these backends | curl SSL comparison, checked December 3, 2026 |
Which parts of a curl upgrade the TLS library decides
Most of the public-key work in a curl connection is not done by curl itself. curl is a front end that hands the handshake to whichever TLS or SSH library it was built against, so the key exchange groups, server certificate signatures and client certificate handling are decided by OpenSSL, GnuTLS, wolfSSL, mbedTLS, Schannel or rustls, depending on the build. The same applies to SSH host keys, which the SSH library verifies. curl's own docs set no default for the key exchange groups or for these key types, so the library's defaults and build options decide what a given curl binary will negotiate. Before planning any change, confirm which backend your curl was built with, for example from the curl -V output, and record it in your inventory.
curl does expose a small set of settings of its own, and they only apply within the library's capabilities. The --curves option sets the TLS key exchange groups and, when used, replaces the library's default list entirely. On the wolfSSL backend, curl's pull request 22030 changed --curves to pass the list through wolfSSL's group API. The libcurl page for CURLOPT_SSL_EC_CURVES says that option works only with the OpenSSL and wolfSSL backends and does not mention post-quantum groups. Client certificates are another point of control: --cert has no default file and prompts for a password when none is given. CURLOPT_PINNEDPUBLICKEY and the SSH host key hash option only check keys you supply, so they limit trust to known keys and do not change the algorithm the library uses. Treat each of these as a setting to test on your own build, not as proof of any algorithm.
curl's everything.curl.dev page says post-quantum support is mostly handled by the underlying TLS library, gives no minimum curl version, and does not say whether it is enabled by default. Confirm with the library vendor or distribution what your build supports and turned on, and whether the library version you run has the relevant code path. The wolfSSL post from April 30, 2026 says curl needs wolfSSL built with specific options, and that the groups work only in TLS 1.3. Verify the library build flags before assuming any group is available.
Which backend and build pieces an upgrade touches
A post-quantum upgrade of curl is mostly a question of which TLS library the binary is built against and how that library is compiled. The cards below cover the build flags, the curl version, the curves option and its backend limits, the server certificate side, and the CA bundle that curl uses by default.
The wolfSSL build flags
A curl built with wolfSSL needs wolfSSL configured with --enable-curl, --enable-mlkem and --enable-mldsa. According to wolfSSL's April 30, 2026 post, the groups work only in TLS 1.3. Check the wolfSSL build options on the host that runs curl, because a curl binary linked against a wolfSSL build without these flags will not offer the post-quantum groups.
wolfSSL postThe curl version and changelog
Post-quantum handling in curl's wolfSSL backend changed recently. The curl 8.21.0 changelog of June 24, 2026 lists the fix "tls: wolfssl: fixes for PQC key shares", and the linked pull request says the wolfSSL ML-KEM code path was never enabled because WOLFSSL_HAVE_KYBER is no longer in upstream wolfSSL. The newest release listed is 8.23.0, dated October 14, 2026. Confirm which version your build contains and read its changelog entries before testing.
curl changelogThe --curves option
The --curves option, added in curl 7.73.0, sets the TLS key exchange groups, for example X25519:P-521. When it is set, curl ignores the TLS library's default group list, so a value that omits a hybrid group disables it. In pull request 22030, the wolfSSL backend began applying --curves through wolfSSL_CTX_set1_groups_list(). Verify the verbose TLS output after setting it.
curl man pageCURLOPT_SSL_EC_CURVES and its limits
The libcurl option CURLOPT_SSL_EC_CURVES works only with the OpenSSL and wolfSSL backends, and its default is an empty string embedded in the SSL backend. The libcurl page does not mention post-quantum groups. Applications that set this option through libcurl should confirm they are on a supported backend, because other TLS backends will not act on it.
libcurl curves optionLeaf certificate key type for ML-DSA
Per wolfSSL's post, ML-DSA support means the server's leaf certificate must carry an ML-DSA key. The curl options available today do not offer a switch for selecting ML-DSA signatures, so the signature side is set by the server's certificate, not by the curl client. Ask the server operator which key type the leaf certificate uses before assuming a client-side change will affect authentication.
The CA bundle set at build time
curl uses a CA bundle path fixed at build time, and CURLOPT_CAINFO and CURLOPT_CAPATH override it. curl's CA extract page describes cacert.pem as a PEM root bundle converted from Mozilla's store, and it notes the file omits Firefox's name constraints. Check which bundle your build uses and whether your environment needs CAINFO or CAPATH overrides for internal roots.
curl CA extractHow the upgrade path differs by TLS backend
wolfSSL is the only backend for which the supplied sources show post-quantum key share work in curl. Curl's pull request 22030 fixed the wolfSSL path so that --curves is applied through wolfSSL_CTX_set1_groups_list(), after the ML-KEM code path had never been enabled because WOLFSSL_HAVE_KYBER is no longer in upstream wolfSSL. The curl 8.21.0 changelog of June 24, 2026 lists the fix as "tls: wolfssl: fixes for PQC key shares".
- Build requirements: wolfSSL must be configured with --enable-curl, --enable-mlkem and --enable-mldsa, according to wolfSSL's April 30, 2026 post.
- TLS version limit: The groups work in TLS 1.3 only, so a TLS 1.2 fallback does not carry a post-quantum key share.
- Signatures: ML-DSA support means the server's leaf certificate has an ML-DSA key, which is a separate requirement from the key exchange group.
- Default QUIC group removed: Pull request 22030 removed curl's default QUIC group setting for this backend.
- Verification: Confirm the curl build is linked against a wolfSSL build with these options, then check the verbose TLS line for the hybrid group name.
Before relying on this path, confirm the exact curl and wolfSSL versions in your build, since the sources give the April 2026 post as the only wolfSSL-side configuration statement.
OpenSSL is one of the two backends where curl's documentation says --curves applies. The libcurl page for CURLOPT_SSL_EC_CURVES says the option works with the OpenSSL and wolfSSL backends, with a default of "" that is embedded in the SSL backend. The OpenSSL-specific facts supplied for this page do not mention a post-quantum group, so no OpenSSL post-quantum claim can be made from them.
- Where --curves applies: curl's man page describes --curves as setting TLS key exchange groups, and when it is set it ignores the TLS library's default list.
- No PQC group named: The OpenSSL-specific libcurl facts do not name X25519MLKEM768 or any other post-quantum group.
- Example in the vendor docs: curl's Everything curl page shows curl -v --curves X25519MLKEM768 but it does not say which backend that example needs.
- Default behavior: Whether a hybrid group is on by default is not stated in the sources.
- Confirm: Check the OpenSSL version and any post-quantum group support in the build, then look for X25519MLKEM768 in the verbose TLS output.
Treat OpenSSL as unverified for post-quantum key exchange until a source for your build confirms it.
GnuTLS and Schannel are both documented in curl's cipher and PINNEDPUBLICKEY pages, but the supplied facts give no post-quantum key exchange for either. Their cipher handling also differs from the other backends, which affects how a configuration is written.
- GnuTLS cipher handling: With GnuTLS, --ciphers sets the priority string and --tls13-ciphers is ignored.
- Schannel cipher handling: With Schannel, curl cannot set individual TLS 1.2 suites, and it passes SCH_USE_STRONG_CRYPTO by default when neither cipher option is given.
- Pinning: CURLOPT_PINNEDPUBLICKEY works with GnuTLS and Schannel, so pins remain a separate check from key exchange.
- No PQC facts: The sources do not state any post-quantum group, algorithm or release for either library.
- Confirm: Check the Windows or GnuTLS release notes for post-quantum key exchange, and confirm the library version your curl build uses.
Do not assume an upgrade path exists for these backends from curl's own documentation alone.
No post-quantum facts were supplied for mbedTLS. For rustls, curl's SSL backend comparison table marks it as not supported and experimental, so it should not be treated as a production path for this question.
- mbedTLS: The sources list it among the backends that support TLS 1.3, and CURLOPT_PINNEDPUBLICKEY works with it, but no post-quantum group or algorithm is named.
- rustls: The SSL comparison table lists rustls as not supported, which means experimental.
- Impact on planning: A build on either backend cannot be assumed to have a post-quantum key exchange from the sources on this page.
- Confirm mbedTLS: Check the mbedTLS release notes and the curl build options for any post-quantum group support.
- Confirm rustls: Check whether your curl build uses rustls at all, and whether the curl project has changed its support status since the comparison table was checked.
Treat both backends as unverified for post-quantum work until the vendor or project documentation for your build says otherwise.
What a team should do before planning a curl upgrade
This sequence establishes what curl build a team actually runs, whether its TLS backend can offer a hybrid key exchange group, and whether the server on the other end can accept one. Each step ends with a check whose result goes into a written record that the upgrade plan can rely on.
Record the curl version and TLS backend
The engineer who owns the client runs
curl -Von each host or build that makes TLS connections and copies the output into the inventory record. The line beginning with the version number names the curl release, and the features and library line names the TLS backend, such as OpenSSL, GnuTLS, wolfSSL, mbedTLS, Schannel or rustls. This step is complete when every client build in scope has an entry showing its version and backend. The sources note that rustls is experimental in curl, so record it separately if it appears.Confirm the 8.21.0 wolfSSL fixes if wolfSSL is used
If the recorded backend is wolfSSL, the engineer checks that the curl version is 8.21.0 or later. The curl 8.21.0 changelog, dated June 24, 2026, lists the fix "tls: wolfssl: fixes for PQC key shares," and the related pull request states that the wolfSSL ML-KEM code path was never enabled because WOLFSSL_HAVE_KYBER is no longer in upstream wolfSSL. Builds older than this release should be treated as lacking that fix. The check is complete when each wolfSSL-based build is marked as either including or missing the 8.21.0 change.
Check the wolfSSL library build flags
For a wolfSSL-backed curl, the engineer confirms with the build or package owner that wolfSSL was configured with --enable-curl, --enable-mlkem and --enable-mldsa. The wolfSSL April 30, 2026 post states these are needed for curl to use post-quantum groups, that the groups work only in TLS 1.3, and that ML-DSA support means the server's leaf certificate must carry an ML-DSA key. Where the flags cannot be read from the installed library, ask the team that built it and record the answer. The check is complete when the flags for each wolfSSL build are written next to its version.
Test a hybrid group with curl verbose output
The engineer runs
curl -v --curves X25519MLKEM768 https://<test-endpoint>against a server the team controls or is permitted to test, and reads the verbose TLS lines. The curl documentation says to look for X25519MLKEM768 in the verbose TLS line to verify the hybrid group was negotiated. Run the test from each build recorded in the earlier steps, since results can differ by backend and version. The check is complete when the verbose output either shows X25519MLKEM768 in the negotiated TLS line or shows a failure, and both outcomes are saved with the build identifier.Confirm the server side supports the group
A successful client test depends on the server accepting the same group, so the team confirms with each server owner that the endpoint offers X25519MLKEM768 in its TLS configuration. The curl documentation warns that larger post-quantum handshake data may be blocked by older middleboxes and firewalls, so the team also asks whether any proxy or inspection device sits on the path. The check is complete when each target server has a written answer on group support and on whether intermediate devices were tested.
Record the results for the upgrade plan
The engineer writes one record per client build containing the curl version, the TLS backend, the wolfSSL flags where applicable, the verbose test result and the server-side answer. Each row names who ran the test and the date it was run, so the security or vendor-risk reviewer can trace it later. The curl documentation and the curl TODO page list no post-quantum roadmap item, so the record should note that the project has published none. The step is complete when the record is filed with the upgrade inventory and any build that failed a check is flagged for follow-up.
Is hybrid key exchange an option for curl today?
Yes, for some builds, and only with conditions you need to confirm. The hybrid group the facts describe is X25519MLKEM768, which you select with the --curves option, for example curl -v --curves X25519MLKEM768 curl's own post-quantum page says the feature is mostly handled by the underlying TLS library, gives no minimum curl version, and does not say whether it is on by default. Do not assume a hybrid group is negotiated unless you set it. To verify it took effect, look for X25519MLKEM768 in the verbose TLS output. Whether the group is actually offered depends on which TLS library your curl was built against, so check that first with curl -V`.
The support differs by backend. With wolfSSL, the groups work in TLS 1.3 only, and wolfSSL's April 30, 2026 post says a curl built with it needs wolfSSL configured with --enable-curl, --enable-mlkem and --enable-mldsa. The curl 8.21.0 changelog also lists a fix for PQC key shares in the wolfSSL backend, and that pull request says the ML-KEM path had never been enabled because WOLFSSL_HAVE_KYBER is no longer in upstream wolfSSL. The --curves option is documented for OpenSSL and wolfSSL, so confirm the group works on the exact backend and version in your build rather than relying on the general statement.
Post-quantum signatures are a separate step. For ML-DSA certificates, the server's leaf certificate must carry an ML-DSA key, and curl's documentation gives no option for selecting ML-DSA signatures on the client side. Larger post-quantum handshake data may also be blocked by older middleboxes and firewalls, according to the same curl page, so test the path before you change settings for production traffic. Treat a working handshake in your test as evidence only for that build, library version and server, and record it as such.
What the curl project has not published about the upgrade
Does curl publish a minimum version for post-quantum key exchange?
No. The curl post-quantum page on everything.curl.dev says post-quantum support is mostly handled by the underlying TLS library, and it does not name a minimum curl version for it. Ask the curl project, or your packager, which curl release and which TLS library build you are being offered, and get that pair in writing. Then check the release that matters with curl -V, which prints the version and the TLS backend. A planner should treat the minimum as unknown until it is stated, because a curl build on an older release with a recent OpenSSL, or the reverse, can behave differently. Record the curl version, the backend name and the backend version together on your inventory, since any one of them can change the answer. This also determines whether the upgrade is a curl change, a library change or both, which affects who owns the work and how long a test cycle will take.
Is post-quantum key exchange enabled by default in curl?
The curl post-quantum page does not say whether post-quantum key exchange is on by default, so do not assume it is. Whether a hybrid group is offered depends on the TLS backend, its build options and any curve list set at runtime. Verify this on your own builds rather than relying on a default. Run curl -v --curves X25519MLKEM768 against a test endpoint you control and look for X25519MLKEM768 in the verbose TLS output, which the curl page gives as the check. Then run the same command without --curves` and compare. If the two results match, the default is not what you need, and you must set the group explicitly in every script and wrapper that calls curl. Note that the check confirms the client offered the group, not that the server accepted it, so test both ends.
Does the curl roadmap include post-quantum work?
The curl TODO page, checked on 2026-12-03, lists no post-quantum roadmap item. That means the project has not committed publicly to a post-quantum feature, a deadline or a planned default change. Post-quantum handling currently arrives through the TLS libraries curl is built against, such as wolfSSL and OpenSSL, so the practical roadmap sits with those projects and with your packager. Ask your packager whether they plan a curl release that changes the default curve list, and ask the library maintainers the same for the backend you use. Record the date of your answer. A planner should not read silence on the TODO page as a decision against the work, and should not read it as a commitment either. It is a gap to document, with a named owner for the follow-up, and to re-check at each planning review.
Does curl document FIPS or CNSA 2.0 alignment?
No. The curl security page and the curl TODO page, both checked on 2026-12-03, do not mention FIPS or CNSA 2.0, and neither does the SSL backend comparison page. An engineer or compliance lead who needs a FIPS 140 or CNSA 2.0 statement must get it from the TLS library vendor or from a validation record for the exact module and version, not from curl. Ask your packager to identify the library build used in your package and whether that build is one the library vendor has validated. Do not infer validation from the presence of a post-quantum group. Both questions need a source that names the module, version and issuer, and curl's own documentation cannot supply either.
Can curl select ML-DSA signatures for server certificates?
The curl post-quantum page gives no curl option for selecting ML-DSA signatures. The --curves option sets key exchange groups, not certificate signature algorithms, so it does not choose which signature a server presents. Signature support depends on the TLS library and on the certificate the server holds. The wolfSSL post on post-quantum support in curl says ML-DSA needs wolfSSL built with its ML-DSA option, and that the server's leaf certificate must carry an ML-DSA key. In practice this means a planner must budget for the server side as well as the client. Ask the endpoint owner whether any certificates they will be validating are ML-DSA, and if none are, note that signature migration on your curl clients is not yet a configuration task you can perform.
Which curl option configures post-quantum groups, and does CURLOPT_SSL_EC_CURVES cover them?
The libcurl page for CURLOPT_SSL_EC_CURVES works only with the OpenSSL and wolfSSL backends, has an embedded default that the SSL backend supplies, and does not mention post-quantum groups. Do not use it as your reference for post-quantum configuration. Use the command-line --curves option, which the curl man page describes as setting the TLS key exchange groups and which, when set, overrides the library's default list. In the libcurl API the matching setting is set through the curves configuration on the easy handle, so confirm the exact call against the version you build. Check your build's behavior with the verbose test above. Any wrapper that calls the libcurl API directly should be tested, because a binding that exposes only the older EC curves option will not reach the newer groups.
Is the wolfSSL post-quantum key share bug fixed in my curl version?
The curl 8.21.0 changelog, dated June 24, 2026, lists the bugfix "tls: wolfssl: fixes for PQC key shares". The linked pull request, number 22030, says the wolfSSL ML-KEM code path was never enabled because WOLFSSL_HAVE_KYBER is no longer present in upstream wolfSSL. That pull request also changed the wolfSSL backend to apply --curves through the wolfSSL group list call and removed its default QUIC group setting. Treat this as a change that affects version planning: a curl build older than 8.21.0 with wolfSSL may not have the corrected handling, and the fix alone does not show that your wolfSSL build has the ML-KEM path enabled. Verify with the verbose test and the wolfSSL build flags, and record the curl and wolfSSL versions you tested. The 8.23.0 release, dated October 14, 2026, is the newest on the changelog checked on 2026-12-03, so any version planning should state which release it targets.
Who should be asked about post-quantum support for curl in my environment?
Ask three parties, and keep their answers separate. The curl project publishes the tool and its documentation, but its published pages on post-quantum support are thin, as noted above. Your packager or operating system vendor decides which curl release and which TLS library you receive, and they own the build options that matter. The TLS library vendor, whether that is wolfSSL, OpenSSL or another backend, decides which post-quantum groups and signatures exist and under which build flags. Put the question in writing to each, and ask for the answer with a date and a version. The result is a short written list of who controls each setting, which makes the upgrade cost and the test ownership clear before any work starts.
What can break or silently fall back in a curl backend change
Changing curl's TLS backend or key exchange settings can alter what actually gets negotiated without any visible error. The cards below cover the failure modes the sources document, so you know what to test and what to confirm before and after a change.
Larger handshakes blocked by middleboxes
Post-quantum key exchange sends larger handshake data than classical groups. The curl guidance warns that older middleboxes and firewalls may block these larger handshakes, which can break connections that worked before. Test each path that crosses inspection devices, and check whether the failure appears as a timeout or a handshake error. The guidance does not name specific devices, so confirm against your own network equipment.
curl PQC guidancewolfSSL ML-KEM path was never enabled
Before the 8.21.0 fixes, the wolfSSL ML-KEM code path was never enabled, because WOLFSSL_HAVE_KYBER is no longer in upstream wolfSSL. A build that appeared to support post-quantum groups may not have offered them at all. Pull request 22030 changed this, so confirm that your curl build includes those fixes before relying on a wolfSSL-backed post-quantum setting.
curl PR 22030Hybrid group not confirmed in verbose output
Setting a hybrid group does not prove it was negotiated. The curl guidance says to look for X25519MLKEM768 in the verbose TLS line to verify it. Run the verbose check against each endpoint after a change, and treat a missing group name as a failed negotiation, even when the connection succeeds.
curl PQC guidanceThe --curves option overrides defaults
When you pass --curves, curl ignores the TLS library's default group list. A command that worked with the library defaults can therefore negotiate a different set of groups once the option is added, or lose groups the library would have offered. The wolfSSL fix in PR 22030 changed how --curves is applied, so verify the resulting group list on the build you run.
curl man pageTLS 1.3 requirement excludes TLS 1.2
The wolfSSL guidance states that the groups work in TLS 1.3 only. A connection that negotiates TLS 1.2 will not use post-quantum key exchange, and nothing in the command has to fail for that to happen. Check the negotiated protocol version in the verbose output, and confirm the server offers TLS 1.3 in your environment.
wolfSSL PQC in curlHow to decide whether a curl build can carry a hybrid group
The check starts with the curl version and TLS backend. If the backend is wolfSSL, confirm curl 8.21.0 or later and that wolfSSL was built with --enable-curl, --enable-mlkem and --enable-mldsa. For other backends, the sources on this page give no post-quantum facts, so the vendor should be asked. Then run curl with --curves X25519MLKEM768 and look for that group name in the verbose TLS line. A match means the build can carry the hybrid group, and the result should be recorded and retested after changes. No match means escalating to the vendor.
Decision path for checking whether a curl build can negotiate a hybrid key exchange group.
Common questions about a curl post-quantum upgrade
Is curl quantum safe?
The sources checked do not support calling curl quantum safe. curl itself is mostly a consumer of its TLS library, and the curl project's post-quantum page says post-quantum support is mostly handled by that library, gives no minimum curl version, and does not say whether it is on by default. Whether a given connection uses a post-quantum key exchange depends on the TLS backend, its version and the groups configured. Confirm the actual negotiated group in your own environment with verbose output before drawing any conclusion, and treat the result as a test of that build and setting only.
Which curl version do I need for post-quantum support?
The sources checked name curl 8.21.0 (June 24, 2026) for specific wolfSSL fixes: its changelog lists "tls: wolfssl: fixes for PQC key shares", and the linked pull request says the wolfSSL ML-KEM code path had never been enabled because WOLFSSL_HAVE_KYBER was no longer in upstream wolfSSL. The sources do not publish a minimum curl version for post-quantum support overall. The newest release the changelog lists is 8.23.0 (October 14, 2026). If you use wolfSSL, verify your build against that changelog entry and the pull request rather than assuming an older release works.
Does a curl post-quantum upgrade cost extra?
The sources checked give no figures for this, so the answer depends on what your environment already has. The main cost drivers are: which TLS backend you ship (OpenSSL, GnuTLS, wolfSSL, mbedTLS, Schannel or rustls, which the curl project lists as experimental), whether you must rebuild curl and its TLS library yourself, how many systems and scripts pin curl versions, and the testing needed for middleboxes. Recurring costs come from keeping the backend and curl current as releases change. Ask any vendor or integrator for a written quote that separates one-time build and test work from ongoing maintenance.
What breaks when curl negotiates post-quantum key exchange?
The curl project's page warns that larger post-quantum handshake data may be blocked by older middleboxes and firewalls, so connections can fail rather than fall back cleanly. wolfSSL's April 30, 2026 post says the groups work only in TLS 1.3, so a TLS 1.2 path will not use them. The same post says the server's leaf certificate must have an ML-DSA key for ML-DSA signatures, and curl's documentation gives no option to select ML-DSA signatures. Test connections through every proxy and firewall on the path before changing settings in production.
What should I ask the curl project or my vendor?
Ask for the exact curl and TLS library versions that support the groups you need, and whether post-quantum groups are on by default in each build. Ask whether the vendor ships curl linked against wolfSSL, OpenSSL or another backend, and which key exchange groups and signature types it supports. Ask for any published roadmap, deprecation timeline or support notice. Also ask how you can verify the negotiated group in your deployment. The curl TODO page, security page and SSL comparison page, checked December 3, 2026, do not mention post-quantum cryptography and list no roadmap item for it, so request that information in writing.
Can my engineers do the curl upgrade themselves, or do we need outside help?
Engineers with build and TLS experience can usually do it in-house if they control the curl and backend build, and if the changes stay within the curl options and library settings described in the sources. Outside help is more useful when the TLS library must be rebuilt from source, when middlebox testing spans many vendors, or when you need evidence for a compliance assessment. DeployOpen plans, implements and tests self-hosted platforms inside client infrastructure and prepares compliance evidence, but does not issue audit reports or certifications. Scope any engagement in writing before work starts.
Which curl option turns on post-quantum key exchange?
The curl project's everything.curl.dev page shows a hybrid group enabled with the --curves option, for example `curl -v --curves X25519MLKEM768 The --curves option sets the TLS key exchange groups and, when set, ignores the TLS library's default list. Look for X25519MLKEM768 in the verbose TLS output to confirm it. The sources note that the libcurl SSL_EC_CURVES setting works only with the OpenSSL and wolfSSL backends and does not mention post-quantum groups. Check the option behavior in the exact build you deploy.
Are TLS 1.3 cipher settings part of the upgrade?
Yes, they can be. curl sets TLS 1.3 suites with --tls13-ciphers and TLS 1.2 and older suites with --ciphers, and by default it may negotiate either version, so both lists apply. The curl cipher docs warn that some backends ignore or reject options they do not support: with GnuTLS, --tls13-ciphers is ignored, and with Schannel curl cannot set individual TLS 1.2 suites. Since curl 8.16.0, the default minimum accepted version is TLS 1.2, but a stricter rule in the TLS library can override it. Review both settings together when changing the handshake.
How DeployOpen helps plan and test a curl post-quantum backend change
DeployOpen approaches curl's post-quantum backend and build questions by first confirming which TLS library and version a given curl build uses, since the library largely determines what is available. Work then covers the planning, configuration and testing a change needs, with each step tied to the specific backend and build in use.
How we scope
- Confirm the curl version and the TLS backend (OpenSSL, GnuTLS, wolfSSL, mbedTLS, Schannel or rustls) compiled into each deployed build.
- Record which curl features are in use, such as client certificates, pinned public keys, SSH host key checks and scripted calls, to size the change.
- Agree the scope in writing before work starts, including which builds, hosts and pipelines are covered and what deliverables follow.
How we build
- Test the chosen backend and build in a controlled environment, checking whether the key exchange groups set with --curves are negotiated as expected.
- Verify TLS 1.3 and TLS 1.2 cipher configuration separately, since --tls13-ciphers and --ciphers each apply to a different protocol version.
- Check handshake behavior against representative servers, including the middleboxes and firewalls that may block larger post-quantum handshake data.
How we hand over
- Document the tested backend, curl version, build flags and settings so that engineers can reproduce the verified configuration later.
- Provide test steps that confirm the active key exchange group, such as checking the verbose TLS output for the expected group name.
- List any open items, unsupported options or backend limitations found during testing so the owners can decide how to handle them.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers when a build or backend changes after handover.
- Retesting after a curl or TLS library upgrade helps confirm that the configuration still behaves as documented.
- Ask any support provider to confirm in writing which curl and library versions their testing covers before relying on it.

