How to configure post-quantum algorithms in Go

In Go 1.24 and later, crypto/tls already enables hybrid ML-KEM key exchange by default when Config.CurvePreferences is nil. This page covers the settings that change it, the Go versions each applies to, and how to verify a live connection.

On this page

Does Go already use post-quantum key exchange, and how do you turn it on or off?

Go already uses post-quantum key exchange by default. As of 2026-12-04, Go 1.24 and later enable the hybrid X25519MLKEM768 key exchange in crypto/tls whenever Config.CurvePreferences is nil. Go 1.26 adds SecP256r1MLKEM768 and SecP384r1MLKEM1024 to that default, and Go 1.27 adds pure ML-KEM-1024 selection through MLKEM1024 in CurvePreferences, along with ML-DSA signatures in TLS 1.3. For most engineers, enablement is a default rather than a step they take. Your job is mainly to confirm which Go version each binary is built with and to avoid setting CurvePreferences in a way that silently drops the hybrid groups.

To turn the defaults off, set the GODEBUG variables tlsmlkem=0 (which reverts the Go 1.24 default) or tlssecpmlkem=0 (which disables the Go 1.26 additions), either as an environment variable or with a //go:debug directive before the package statement in the main package. You can also leave the defaults alone and set Config.CurvePreferences to an explicit list. Be aware that Go 1.27 makes explicit CurvePreferences entries take effect even when those GODEBUG settings are set. To confirm what a live connection negotiated, read ConnectionState.CurveID (added in Go 1.25) and compare it with the CurveID constants, and use ConnectionState.HelloRetryRequest (added in Go 1.26) to see whether a retry happened. Test on the actual builds you run, because the observed value is the only evidence that the negotiated group matches your expectation.

Key exchange and signatures are separate questions. The defaults above cover how session keys are agreed, not the certificates that authenticate the server. ML-DSA signatures in TLS 1.3 arrived in Go 1.27, but the Go issue tracker records that ML-DSA was removed from signature_algorithms_cert for Go 1.27 after middlebox failures, and the draft Go 1.28 notes say that extension is removed. Your certificates are still issued and verified by the CA and client software you run, so confirm with your PKI owner which key types your certificates use. Also confirm whether any middlebox between clients and servers handles larger ClientHello messages correctly, since the TLS fail page offers a test script for servers that mishandle split ClientHellos.

Which setting controls which algorithm, by Go version

This table maps each Go release to the key exchange groups enabled by default, the GODEBUG or CurvePreferences control that changes each one, and the signature algorithms available, with the source and release date for every row. GODEBUG values apply per binary, so set them for each program you build. Confirm any row against the Go release notes before you rely on it in a configuration.

ReleaseDefault key exchange and controlSignatures and controlSource and release date
Go 1.24X25519MLKEM768 on by default when CurvePreferences is nil. Revert with GODEBUG tlsmlkem=0.No ML-DSA in crypto/tls. Signature choices are RSA, ECDSA and Ed25519 as before.Go 1.24 release notes, released 2025-02
Go 1.26Adds SecP256r1MLKEM768 and SecP384r1MLKEM1024 on by default. Disable with CurvePreferences or GODEBUG tlssecpmlkem=0.No ML-DSA in crypto/tls. crypto/hpke adds MLKEM768X25519, MLKEM768P256 and MLKEM1024P384 hybrid KEMs.Go 1.26 release notes, released 2026-02-10
Go 1.27Pure MLKEM1024 is enabled only by adding crypto/tls.MLKEM1024 to Config.CurvePreferences. Explicit entries work even with tlsmlkem=0 or tlssecpmlkem=0.crypto/mldsa adds ML-DSA-44, 65 and 87. TLS 1.3 accepts MLDSA44, MLDSA65 and MLDSA87 SignatureScheme values. ML-DSA is advertised by default in signature_algorithms.Go 1.27 release notes, released 2026-08-19; Go issue 81199 closed 2026-11-18
Go 1.28 (draft)The draft notes do not change the default key exchange groups in the text reviewed. Confirm against the final release notes.The signature_algorithms_cert extension is removed because some middleboxes reject ML-DSA in it. GOFIPS140=certified selects module v1.26.0.Go 1.28 draft notes, expected release February 2027
crypto/mlkem (standalone)Standalone ML-KEM-768 and ML-KEM-1024 from FIPS 203. Most applications should use ML-KEM-768. Not controlled by GODEBUG.Not applicable. This package covers key encapsulation only.Go 1.24 release notes; crypto/mlkem docs
crypto/hpke (separate API)Hybrid KEMs from draft-ietf-hpke-pq for use with RFC 9180 HPKE. Selected by the constructor you call, not by a GODEBUG setting.Not applicable. This package covers HPKE encryption only.Go 1.26 release notes; crypto/hpke docs
golang.org/x/crypto/ssh (separate API)mlkem768x25519-sha256 (KeyExchangeMLKEM768X25519) supported from Go 1.24. Config.KeyExchanges uses a default set when unset.ML-DSA-44, 65 and 87 host key algorithm constants exist. MarshalPrivateKey does not support ML-DSA keys.x/crypto/ssh docs; confirm the x/crypto module version you build against

Which Go packages and TLS settings the enablement touches

Enabling post-quantum algorithms in Go is not a single switch. Key exchange, standalone KEMs, hybrid HPKE, signatures and SSH each sit in a different package and respond to a different setting. Check each one against the Go version you build with, because defaults changed across releases.

crypto/tls key exchange and curve preferences

The main switch for TLS is Config.CurvePreferences. When it is nil, the default applies: from Go 1.24 that includes X25519MLKEM768, and from Go 1.26 also SecP256r1MLKEM768 and SecP384r1MLKEM1024. Setting the list explicitly overrides those defaults. The settings GODEBUG tlsmlkem=0 and tlssecpmlkem=0 disable the defaults, but an explicit list still takes effect. Confirm the Go version your build uses, since the default set depends on it.

crypto/tls docs

Pure ML-KEM-1024 in crypto/tls

Go 1.27 added the crypto/tls.MLKEM1024 constant for pure ML-KEM-1024 key exchange. It is enabled only by adding it to Config.CurvePreferences, so it does not appear in any default list. Because explicit entries take effect even with tlsmlkem=0 or tlssecpmlkem=0, a server pinned to this constant keeps it regardless of those GODEBUG values. Check which peers in your environment accept pure ML-KEM before you pin it, since hybrid groups are the more common interoperable choice.

Go 1.27 notes

crypto/mlkem for standalone KEM use

The crypto/mlkem package, added in Go 1.24, implements ML-KEM-768 and ML-KEM-1024 as specified in FIPS 203. It is for code that encapsulates keys directly, outside TLS. The package documentation says most applications should use ML-KEM-768. This package has no GODEBUG switch, so any code calling it runs the algorithm whenever that code path executes. Inventory those call sites separately from TLS settings.

crypto/mlkem docs

crypto/hpke hybrid KEMs

Go 1.26 added crypto/hpke, which provides the hybrid KEM constructors MLKEM768X25519, MLKEM768P256 and MLKEM1024P384. These follow draft-ietf-hpke-pq and are used with RFC 9180 HPKE. Choosing a constructor is an explicit code decision, so no TLS setting or default changes it. Review any application that performs HPKE to confirm which KEM it selects, and check the draft's status before relying on it for interoperability.

crypto/hpke docs

crypto/mldsa and ML-DSA in crypto/x509

Signatures are separate from key exchange. Go 1.27 added crypto/mldsa for ML-DSA-44, ML-DSA-65 and ML-DSA-87 per FIPS 204, and crypto/x509 now parses and verifies ML-DSA certificates and keys. In TLS 1.3, the MLDSA44, MLDSA65 and MLDSA87 signature schemes apply. Signing requires that the Options.Context value, at most 255 bytes, matches between signer and verifier. Your certificate chain must also be issued with ML-DSA keys by a CA that supports them, which is outside Go's control.

crypto/mldsa docs

ML-DSA signature advertising in TLS

In Go 1.27, ML-DSA is advertised by default in the TLS signature_algorithms extension, and the maintainers declined a GODEBUG setting to turn that off. For Go 1.27, ML-DSA was removed from signature_algorithms_cert after middlebox failures, and the draft Go 1.28 notes say that extension is removed. Test your traffic through the firewalls, inspection proxies and load balancers in the path, because some middleboxes reject ML-DSA in these extensions. Recheck this card against each Go release you deploy.

Go issue 81199

golang.org/x/crypto/ssh key exchange and host keys

The x/crypto/ssh package is separate from the standard library's TLS stack. Its Config.KeyExchanges field uses a default set when unset, and it includes mlkem768x25519-sha256 (KeyExchangeMLKEM768X25519) from Go 1.24. It also defines ML-DSA-44, ML-DSA-65 and ML-DSA-87 host key algorithm constants. The package documentation notes that MarshalPrivateKey does not support ML-DSA keys, so host key storage needs a separate plan. Set KeyExchanges explicitly when you need a fixed list, and confirm each SSH peer supports the chosen names.

x/crypto/ssh docs

How the steps differ for a TLS server, a client, a standalone program or FIPS builds

A TLS server built with crypto/tls receives the hybrid key exchange from clients that offer it, and falls back to classical groups for clients that do not. Because the default Config.CurvePreferences list includes X25519MLKEM768 from Go 1.24, and adds SecP256r1MLKEM768 and SecP384r1MLKEM1024 from Go 1.26, a server built on those releases already offers post-quantum groups unless the list is set explicitly. Keeping older clients working is mainly a matter of leaving the default in place and testing the handshake against them.

  • Check the Go version: The defaults described here apply to Go 1.24 and later for X25519MLKEM768, and Go 1.26 and later for the two SecP hybrids.
  • Leave CurvePreferences empty to keep defaults: A nil value selects the default list, which the docs say can change over time, so pin it only when a specific group must be excluded.
  • Use tlsmlkem and tlssecpmlkem to disable groups: The GODEBUG settings tlsmlkem=0 and tlssecpmlkem=0 revert the defaults, and a //go:debug directive can set them per main package.
  • Confirm the negotiated group: Read ConnectionState.CurveID (added in Go 1.25) and ConnectionState.HelloRetryRequest (added in Go 1.26) in test code to see which exchange a real connection used.
  • Test with split ClientHello: The tldr.fail page offers tldr_fail_test.py, which checks whether a server mishandles a split ClientHello, and that behavior can break older middleboxes.

Before a production change, confirm which groups your legacy clients offer and run a connection test with each of them against the new build.

How a TLS 1.3 client and Go server agree on a hybrid key exchange

The diagram starts with the client's ClientHello, which carries an X25519MLKEM768 key share. The server picks a group from its CurvePreferences and replies with its ServerHello. If the client's key share is not in the group the server selects, the server sends a HelloRetryRequest and the client sends a new ClientHello with a matching share. Check ConnectionState.CurveID on both sides to confirm which group was used, and ConnectionState.HelloRetryRequest to see whether a retry happened. This diagram is illustrative.

Illustrative flow of a hybrid key exchange, with an optional HelloRetryRequest.

Which steps to run on a Go service to confirm post-quantum key exchange

This sequence confirms which key exchange a Go TLS service actually negotiates, from pinning the toolchain to testing a split ClientHello. Each step ends with a check that shows the result, so the team can record what the service supports and what it does not.

  1. Pin the Go toolchain version

    The engineer who owns the build sets the Go version in go.mod and in the build pipeline so every environment compiles with the same toolchain. The sources list go1.26.11 and go1.27.4 as dated patch releases, dated 2026-11-10. Post-quantum defaults differ by release: Go 1.24 enabled X25519MLKEM768 by default, Go 1.26 added SecP256r1MLKEM768 and SecP384r1MLKEM1024, and Go 1.27 added MLKEM1024 as an explicit option. The step is done when go version on the build host and in the container image prints the pinned release, and the team has recorded that version in the service inventory.

  2. Decide whether CurvePreferences stays nil

    The service owner decides whether the server Config leaves CurvePreferences unset. When it is nil, the crypto/tls package uses its default list, which includes the hybrid groups for the pinned release. Setting CurvePreferences replaces that default with the groups you name, and it also overrides the tlsmlkem and tlssecpmlkem settings. The sources state that explicit entries take effect even when those GODEBUG values are set to 0. The step is done when the decision is written in the service's TLS configuration with a short reason, and a code review has confirmed that no unintended list has been pinned.

  3. Set GODEBUG only when a default must be reverted

    Engineers set GODEBUG only when a specific default has to be turned off for a documented reason, such as a peer that fails on a hybrid group. The sources list tlsmlkem=0 for X25519MLKEM768 and tlssecpmlkem=0 for the Go 1.26 hybrid groups. The setting can go in the environment, for example GODEBUG=tlsmlkem=0, or per main package with a //go:debug directive placed before the package statement. Both forms should be reviewed, because the directive is compiled into the binary while the environment value is set at deployment. The step is done when the chosen form is in the deployment manifest or source, and the reason for the setting is written next to it.

  4. Read the negotiated group in a test server

    A test engineer starts a small Go TLS server built from the same configuration, then connects with a client that offers post-quantum groups. Inside the handler, the engineer reads ConnectionState.CurveID and compares it with the CurveID constants the crypto/tls package defines. The field has been available since Go 1.25. The check should be repeated with the tlsmlkem and tlssecpmlkem settings applied, so the team can see which group each configuration produces. The step is done when the logged CurveID matches the expected hybrid or classical group for each configuration tested, and the results are saved with the Go version.

  5. Check hello retry request behavior

    An engineer checks whether the handshake used a HelloRetryRequest, which happens when a client's first key share is not in the group the server prefers. Go 1.26 added ConnectionState.HelloRetryRequest for the server side, and ClientHelloInfo.HelloRetryRequest for the client side. The engineer logs both values in the same test server used in the previous step. The check confirms that the extra round trip is expected for the peers tested and that it does not fail. The step is done when a retry or no-retry result is recorded for each peer type, and the team knows which clients trigger the extra round trip.

  6. Run the split ClientHello test

    The security engineer runs tldr_fail_test.py from the tldr.fail page against the service's public TLS endpoint. The script tests whether the server mishandles a ClientHello that is split across packets, which is a known source of failures in middleboxes and load balancers that sit in front of Go services. Go's own TLS stack is not the only component on the path, so the test should target the full endpoint, not only the binary. The step is done when the script's output is saved with the endpoint name, date and Go version, and any failure is linked to a ticket that names the component responsible.

What the sources do not say about Go post-quantum configuration

Does the Go FIPS 140-3 page cover ML-KEM key exchange?

The Go FIPS 140-3 page does not mention ML-KEM, so the sources listed on this page do not confirm whether X25519MLKEM768 or other ML-KEM key exchanges are approved in FIPS mode. The page does say that crypto/tls in FIPS mode does not negotiate any key exchange that is not FIPS 140-3 approved. Before you enable hybrid key exchange on a FIPS-mode build, ask the Go project which module version, and which certificate, covers ML-KEM in TLS, and check the CMVP certificate listing for that module version. Confirm it against the module version your build pins, since v1.0.0 and v1.26.0 are covered by different certificates.

Is SLH-DSA supported in Go?

The sources listed on this page do not confirm any Go documentation for SLH-DSA. The Go standard library index as of 2026-12-03 lists crypto/mlkem and crypto/mldsa but no SLH-DSA package, and the Go 1.27 release notes do not mention SLH-DSA. Ask the Go project whether an SLH-DSA package is planned, which version it would appear in, and whether it would be included in the FIPS 140-3 module. Until the project confirms, treat SLH-DSA as unavailable in the standard library and plan any stateless hash-based signature needs around a third-party library, which you would need to evaluate separately.

Does Go's documentation mention CNSA 2.0?

The Go project has published no page that mentions CNSA 2.0 among the pages checked, which were the Go FIPS 140-3 page and the Go 1.26 and Go 1.27 release notes. CNSA 2.0 applies to national security systems, so it does not bind a commercial organization on its own. If a federal customer requires CNSA 2.0 alignment through a contract, ask the Go project in writing which Go versions and algorithm settings it considers aligned, and ask the customer which version of the requirement applies. Do not assume alignment from the presence of ML-KEM or ML-DSA alone.

Is there an end date for the tlsmlkem GODEBUG setting?

The sources listed on this page do not state an end date for the tlsmlkem setting. The GODEBUG history records that tlsmlkem=0 reverts the default that enables X25519MLKEM768, and that the setting exists from Go 1.24. Go 1.27 removed tls10server, tlsrsakex, tls3des and tlsunsafeekm permanently, but it does not say the same for tlsmlkem. Ask the Go project whether tlsmlkem and tlssecpmlkem are planned for removal, and in which release. Until then, pin the setting explicitly in your build or environment so a later default change does not surprise you.

Can x/crypto/ssh marshal ML-DSA host keys?

No, the sources listed on this page do not show marshal support for ML-DSA host keys. The golang.org/x/crypto/ssh documentation defines ML-DSA-44, ML-DSA-65 and ML-DSA-87 host key algorithm constants, but it notes that MarshalPrivateKey does not support ML-DSA keys. Ask the module vendor, which is the Go project for this package, whether marshal support is planned, and in which module version. If you need to store or distribute ML-DSA host keys before that support exists, plan a separate key handling path and test it in your own environment before relying on it.

Does the Go project plan to reinstate ML-DSA in the signature_algorithms_cert extension?

The sources listed on this page do not say whether the Go project plans to reinstate ML-DSA in the signature_algorithms_cert extension. The Go 1.28 draft notes say the extension is removed because some middleboxes reject it when it includes ML-DSA, and Go issue 81199 records the removal for Go 1.27 after middlebox failures. Ask the Go project whether it intends to restore the extension, and under what conditions. Test your middlebox path with ML-DSA certificates before relying on TLS 1.3 ML-DSA signatures in production.

Which Go module version should I pin for FIPS with ML-DSA?

The Go FIPS 140-3 page says crypto/mldsa is unavailable with module v1.0.0 and available with v1.26.0 or later, so a build that uses GOFIPS140=v1.0.0 cannot use ML-DSA. The same page says module v1.26.0 is covered by CMVP certificate #5581. The Go 1.28 draft notes also say GOFIPS140=certified will select module v1.26.0. Ask the Go project whether the certified selection will remain pinned to v1.26.0 after Go 1.28, and check the CMVP listing for the exact certificate before you make a compliance statement that depends on it.

What breaks when hybrid key exchange or ML-DSA is enabled

The first thing to know is that enabling post-quantum signatures in Go can break connections that worked before. Go 1.27 advertised ML-DSA by default in the TLS signature_algorithms extension, and the project's tracker records that middlebox failures led to ML-DSA being removed from signature_algorithms_cert for that release (Go issue 81199, closed 2026-11-18). The draft Go 1.28 notes say the signature_algorithms_cert extension is removed because some middleboxes reject it when it includes ML-DSA. The maintainers also declined a GODEBUG switch to turn ML-DSA advertisement off. Operators should test with the middleboxes, load balancers and inspection appliances in their path before relying on any ML-DSA behavior, and should confirm against the Go 1.27 and 1.28 release notes which signature algorithm extensions their build actually sends.

Hybrid key exchange has a different cost. When a server does not accept the first key share a client offers, it replies with a HelloRetryRequest, which adds a network round trip before the handshake completes. Go 1.26 added ConnectionState.HelloRetryRequest and ClientHelloInfo.HelloRetryRequest, so the first step is to log that field on live traffic and see how often it is set for your clients and peers. Some older servers and middleboxes mishandle split or larger ClientHello messages, and the tldr.fail page offers a test script, tldr_fail_test.py, to check whether a server handles a split ClientHello. Run that check against the peers you talk to before changing defaults, and confirm the handshake latency effect in your own environment.

Setting Config.CurvePreferences explicitly changes what is negotiated. The crypto/tls docs say an empty value selects the defaults, and that from Go 1.26 the defaults include SecP256r1MLKEM768 and SecP384r1MLKEM1024 as well as X25519MLKEM768. An explicit list replaces those defaults, so a list that names only classical groups keeps classical key exchange even though the same binary supports hybrid groups. The reverse also holds: Go 1.27 enables pure ML-KEM-1024 only when crypto/tls.MLKEM1024 is added to CurvePreferences, and explicit entries take effect even with tlsmlkem=0 or tlssecpmlkem=0. Check the negotiated group on live connections with ConnectionState.CurveID, comparing it against the CurveID constants, because a configuration review of the source may not show what a connection actually used.

Several GODEBUG reverts that once restored older TLS behavior no longer exist. Go 1.27 permanently removed tls10server, tlsrsakex, tls3des and tlsunsafeekm, so the TLS 1.2 minimum, the removal of RSA key exchange suites and the removal of 3DES suites from defaults can no longer be reverted by GODEBUG. Any peer that still needs one of those behaviors must be handled by upgrading that peer, placing a proxy in front of it, or isolating it, and the owner should confirm the compatibility impact in a staging environment before upgrading a production service.

Questions engineers ask about enabling post-quantum algorithms in Go

Is Go quantum safe?

Go does not have a quantum-safe status to claim. What the project documents is which post-quantum key exchange and signature algorithms the standard library supports and in which release. Go 1.24 added the hybrid X25519MLKEM768 key exchange to crypto/tls and enabled it by default when Config.CurvePreferences is nil. Go 1.26 added SecP256r1MLKEM768 and SecP384r1MLKEM1024 to the default list. Go 1.27 added ML-DSA signatures in TLS 1.3 and the crypto/mldsa package. Whether a given deployment meets your requirements depends on your version, your settings and your certificate chain, so confirm each element against the sources below. The Go project has published no page that mentions CNSA 2.0 on the pages we checked, so do not treat Go's support as a CNSA 2.0 statement.

Which Go version do I need for post-quantum key exchange?

Go 1.24 is the first release with the hybrid X25519MLKEM768 key exchange enabled by default in crypto/tls. Go 1.26 adds SecP256r1MLKEM768 and SecP384r1MLKEM1024 to the default list. Go 1.27 adds the pure ML-KEM-1024 exchange, enabled by listing crypto/tls.MLKEM1024 in Config.CurvePreferences. The current patch releases recorded on the Go release history page are go1.27.4 (dated 2026-11-10) and go1.26.11 (dated 2026-11-10). Use the newest patch release in the line you run, since the release history records those dates and the project updates them over time. Confirm the exact version your build pipeline produces with go version before you assess a system.

Does enabling post-quantum algorithms in Go add cost?

The sources we checked do not give a price for enabling these algorithms, and none of them states a performance or cost figure. The main cost drivers are the engineering time to test your settings, the time to upgrade the Go toolchain across your services, and the testing of middleboxes and peers that may not handle larger hybrid handshakes. Those costs are mostly one-time, though upgrades and retesting recur with each Go release. When you ask for a quote, specify which services and which Go versions are in scope, whether you need FIPS mode, and whether you need to test with your load balancers and proxies. Ask the vendor or your internal team to measure handshake impact on your own infrastructure, since the sources do not provide that figure.

How do I confirm a live connection used a post-quantum key exchange?

Read ConnectionState.CurveID on the completed tls.Conn, added in Go 1.25, and compare it with the CurveID constants in crypto/tls. A hybrid exchange shows up as the constant for X25519MLKEM768, SecP256r1MLKEM768 or SecP384r1MLKEM1024, depending on which group was negotiated. Go 1.26 also added ConnectionState.HelloRetryRequest, which reports whether a HelloRetryRequest was sent or received, so you can tell when a retry changed the outcome. Log these values on both client and server to confirm the exchange in production traffic, not only in a test. Test the peers you actually talk to, because a server or middlebox that does not handle a split ClientHello can fail the handshake. The tldr.fail page offers a script named tldr_fail_test.py for that check.

Does enabling post-quantum key exchange change my certificates and signatures?

No. The key exchange and the signature on the server's certificate are separate. Enabling X25519MLKEM768 or the other hybrid groups changes how the session key is agreed, not the certificate chain. Your certificates still use RSA, ECDSA or Ed25519 unless you choose to issue ML-DSA certificates, and those require a CA that issues them. In Go 1.27, crypto/tls can negotiate ML-DSA signatures in TLS 1.3 through the MLDSA44, MLDSA65 and MLDSA87 scheme values, but the Go issue tracker records that ML-DSA was advertised by default in the signature_algorithms extension and was removed from signature_algorithms_cert after middlebox failures. Test before relying on ML-DSA on the wire. The draft Go 1.28 notes say the signature_algorithms_cert extension is removed for the same reason.

Can my team enable post-quantum algorithms in Go alone, or do we need outside help?

Many teams can make the configuration changes themselves: upgrade the toolchain, set or leave the CurvePreferences default, and add logging for CurveID. The harder work is the inventory and the testing: finding every service built with Go, identifying which peers and middleboxes sit in the path, and checking handshakes under real traffic. If you also need FIPS 140-3 mode, note that the Go FIPS 140-3 page says crypto/tls in FIPS mode does not negotiate any algorithm that is not FIPS approved, that the crypto/mldsa package needs module v1.26.0 or later, and that using the module does not by itself satisfy all regulatory requirements. DeployOpen plans, implements and tests self-hosted platforms in client infrastructure and prepares compliance evidence, but does not issue audit reports or certifications. Scope any outside engagement in writing before work starts.

How DeployOpen works on this

DeployOpen scopes the Go post-quantum settings for each service in writing, then builds and tests them in the client's own environment. Each engagement ends with a documented configuration and a test record the client's engineers can rerun. The work covers the TLS, certificate and key exchange settings described on this page, with fixed deliverables agreed before work starts.

How we scope

  • We list which Go services use crypto/tls and which Go version and module each one is built with.
  • We record whether each service relies on the default CurvePreferences or sets its own list explicitly.
  • The written scope states which key exchange groups, GODEBUG settings and FIPS modes are in and out of bounds.

How we build

  • We set CurvePreferences and GODEBUG values in each main package, using //go:debug or the environment as the client chooses.
  • We confirm the negotiated group by reading ConnectionState.CurveID on test connections against the CurveID constants.
  • Where FIPS mode is required, we set GOFIPS140 and fips140 values and check that non-approved suites are not negotiated.

How we hand over

  • The client receives the final configuration, build commands and each GODEBUG value with the reason it is set.
  • We deliver test results showing the negotiated key exchange for each client type, including any HelloRetryRequest cases.
  • The handover names the Go release and module version tested, so the client can rerun the same checks on upgrade.

How we support

  • Ongoing support is available as a retainer for upgrades to new Go releases and changes to these settings.
  • Continuous testing can rerun the connection checks after each Go point release, such as the 1.27.x series.
  • Retainer work covers compatibility questions from older clients and middleboxes, with fixes agreed in writing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.