Fix post-quantum TLS errors in Go

Go programs fail a TLS connection when a server cannot handle the hybrid key exchange Go now offers by default. This page shows how to confirm the cause, disable the hybrid groups with a documented setting, and test the result.

On this page

Why a Go TLS connection fails on a hybrid key exchange

From Go 1.24, the crypto/tls package offers the X25519MLKEM768 hybrid post-quantum key exchange by default whenever Config.CurvePreferences is nil. Go 1.26 adds SecP256r1MLKEM768 and SecP384r1MLKEM1024 to that default. Because the hybrid ClientHello is considerably larger than a classical one, a Go client or server can fail a handshake with a peer that cannot process it. The team that owns the Go program is the one that acts. If your Go client connects to a hosted server you do not control, the only change you can make is to your own client, so confirm whether the remote endpoint is the component that needs an upgrade or a configuration change before you alter your code.

The failure usually does not appear as a clean protocol error. It typically shows up as a handshake timeout, because the peer, often an older TLS server or an intermediary, stalls on the large record instead of rejecting it. The Go GODEBUG documentation ties the default revert, the tlsmlkem=0 setting, to buggy TLS servers that do not handle large records correctly and cause a timeout during the handshake. Confirm that the timeout occurs during the handshake itself and not later in the session, since that points you toward the hybrid offer and away from unrelated network faults. Check the Go version your program was built with using go version -m on the binary, and note whether Config.CurvePreferences is set explicitly, because an explicit list of classical curves leaves the hybrid groups out of the offer entirely.

Urgency depends on whether the failure blocks production traffic. If connections to a specific peer are timing out in production, treat it as an incident and decide whether a temporary revert through the godebug line in your go.mod, or the //go:debug tlsmlkem=0 directive in your main package, is acceptable while the peer is upgraded. If the failures are intermittent or confined to a test environment, plan a fix rather than an emergency change. Before choosing, confirm the exact Go version in each environment, record which peers fail, and test the outcome by printing ConnectionState.CurveID after the handshake, where 4588, 4587 and 4589 correspond to the hybrid groups and zero indicates a legacy RSA key exchange.

Who has to act on a Go TLS hybrid failure

A Go TLS hybrid failure usually sits with one of three parties: the team that owns the Go application, the team that runs the peer server, and the platform team that sets build and runtime environments. Identify which one controls the setting in your path before changing anything, because a hosted service may leave you with only the Go client settings.

Go application owner

The team that writes and ships the Go program controls the CurvePreferences field in crypto/tls and the tlsmlkem and tlssecpmlkem GODEBUG settings. Start here when the handshake stalls or fails after an upgrade to Go 1.24 or later. Check whether the code sets CurvePreferences explicitly, since an explicit list of classical curves such as X25519 and CurveP256 leaves the hybrid groups out of the offer, and check the go.mod and //go:debug directives for the current GODEBUG values.

GODEBUG docs

Peer server owner

The team that runs the server on the other end of the connection decides whether it accepts a hybrid key exchange at all. Some older TLS servers do not handle large records correctly, which can cause a timeout during the handshake. If the failure only happens against one endpoint, ask that owner whether the server or its TLS stack needs an upgrade, and confirm the result with a test client that prints the negotiated key exchange.

Platform and build team

The platform team controls the Go toolchain version, the build images and the runtime environment variables that reach the binary. A GODEBUG value set in a container image, a CI job or a service unit can override what the application code expects. Check which Go version each build actually uses with go version -m against the shipped binary, since a binary built with an older toolchain will not behave like the source suggests.

go version docs

Hosted service consumers

If you call a hosted service, you usually cannot change the server, so your only levers are the Go client settings. Set CurvePreferences or the documented GODEBUG value in your own application to match what the service accepts, then retest. Ask the service provider which key exchange groups it offers and whether a fix is planned, because a failure on the far side of a hosted endpoint is not yours to repair directly.

Dependency and module authors

A library that wraps crypto/tls cannot set GODEBUG for its consumers, because only the work module's go.mod is consulted and directives in dependency modules are ignored. If a library hard-codes CurvePreferences, the application owner must change the library version or fork the call site. Ask the library maintainer about the hybrid group behavior before you assume the application setting will take effect.

How to check which Go version and key exchange are in use

This sequence confirms which Go toolchain built your binary, which key exchange your TLS connection actually negotiates, and whether any existing tlsmlkem or tlssecpmlkem settings are changing the default. Together these results tell you whether a hybrid post-quantum group is being offered and accepted before you change anything.

  1. Read the embedded Go version

    Run go version -m against the built binary to print the Go toolchain version and module information embedded at build time. Run it with the path to the compiled executable, for example go version -m ./bin/yourservice. The output begins with the binary path and a go line showing the toolchain version, such as go1.24 or go1.26. Go 1.24 and later enable X25519MLKEM768 by default, and Go 1.26 adds the SecP256r1MLKEM768 and SecP384r1MLKEM1024 groups. Record the version exactly, because the behavior you see later depends on it. For the flag details, see the go command documentation.

  2. Review go.mod, go.work and source directives

    Search the work module's go.mod, any go.work file in the workspace, and the main package source files for existing GODEBUG settings. Look for a godebug block in go.mod or go.work that contains tlsmlkem or tlssecpmlkem, and for //go:debug lines placed before the package statement in a main package file. Note any value you find, such as tlsmlkem=0. Only the work module's go.mod is consulted, so directives in dependency modules have no effect. An unrecognized setting in a godebug line or //go:debug directive causes an error, so if the build fails on a setting name, check it against the GODEBUG documentation. Record every setting you find, since an existing override can explain the result in the next step.

  3. Check for overrides in the environment

    Check whether the GODEBUG environment variable is set in the shell, container, service unit or CI job that runs the binary. Use env | grep GODEBUG on the host, or inspect the deployment manifest for the service. Environment settings are comma-separated key=value pairs, and unrecognized keys in this variable are ignored rather than reported as errors. Note that GODEBUG=tlsmlkem=0 or GODEBUG=tlssecpmlkem=0 disables the Go 1.26 hybrid groups. Compare what you find here with the go.mod and source results from the previous step, because the environment value is the one the running process receives. If nothing is set, the Go defaults for your version apply.

  4. Write a small handshake test program

    Create a short Go program that dials the server you need to test, performs a TLS handshake using tls.Dial, and reads the result from ConnectionState(). Include the crypto/tls package and leave Config.CurvePreferences unset so the default applies. Keep the program in its own directory outside the production code, and build it with the same Go toolchain you recorded in the first step. The crypto/tls documentation describes the Config fields used here. This test program is a diagnostic aid, so keep it separate from the service code and do not deploy it.

  5. Print ConnectionState.CurveID after the handshake

    After the handshake completes, print state.CurveID from the tls.ConnectionState value and run the program against the target server. The field holds the key exchange mechanism used for the connection, and a value of zero means a legacy RSA key exchange. Compare the printed number with 4588 (X25519MLKEM768), 4587 (SecP256r1MLKEM768) and 4589 (SecP384r1MLKEM1024). A result of 4588 means the hybrid X25519 group was negotiated. A classical value such as 29 (X25519) or 23 (P-256) means the server did not accept a hybrid group. The CurveID field is documented in the crypto/tls source, so confirm the values there before relying on them. If the handshake itself fails or stalls, record the error and go to the failure guidance on this page instead.

  6. Compare the result with your expected setting

    Set the printed CurveID against the settings you found in the earlier steps. If your Go version is 1.24 or later, the default offer should include 4588, and a result of 4588 means the default is in use. If you see a classical value while the toolchain is 1.24 or later, look for an explicit Config.CurvePreferences list in your code, which overrides the default because it includes only the groups you list. Keep in mind that the order of the list is ignored, so the presence or absence of a group is what matters. Record which group was negotiated, which Go version produced it, and which setting was active. You will need these facts to choose the next change, and to confirm it afterward.

  7. Confirm the findings and record them

    Write down the binary's Go version, every GODEBUG source you found, the negotiated CurveID, and the server you tested against. Repeat the test once from the same host to make sure the result is stable, because a load balancer or proxy can route different connections to different backends. Keep the record with your change notes so that anyone reviewing the fix can see the state before and after. For the full list of settings and their documented behavior, see the Go 1.24 release notes and the Go 1.26 release notes. If the results do not match what you expect, confirm the details with your Go version and the vendor documentation of the server before making any change.

Causes of a Go hybrid TLS failure and the fix for each

This table lists five causes of a failed hybrid post-quantum TLS handshake in Go, the symptom or setting behind each, and the fix the Go documentation supports. Read it by matching your build version and error to a row, then apply the fix and confirm the negotiated group with a test program. The main takeaway is that the fix depends on where the setting lives, since dependency directives are ignored and only the work module's go.mod or the environment applies.

CauseWhat you seeFix
Go 1.24 or later client talking to a server that mishandles large recordsHandshake times out after the client offers X25519MLKEM768Set GODEBUG=tlsmlkem=0 to revert the default, or update the server to handle large records correctly
Go 1.26 client reaching the added hybrid groupsHandshake fails after upgrading to Go 1.26, with SecP256r1MLKEM768 or SecP384r1MLKEM1024 offeredSet Config.CurvePreferences explicitly, or use GODEBUG=tlssecpmlkem=0 or GODEBUG=tlsmlkem=0
Explicit CurvePreferences list that is classical-onlyNo hybrid group appears in the client offer, so a peer requiring one failsAdd the hybrid CurveID values such as X25519MLKEM768 (4588) to the CurvePreferences list
Unrecognized tlskyber setting left over from Go 1.23Build or run reports an error about tlskyber, since the setting was removed in Go 1.24Remove tlskyber from GODEBUG and any godebug line or //go:debug directive, and use tlsmlkem if a revert is needed
Dependency that sets GODEBUG directivesThe directive has no effect, so the hybrid default still applies to the clientMove the godebug setting into the work module's go.mod or the environment, because directives in dependency modules are ignored

What to change in Go to disable the hybrid key exchange

The sequence below sets one GODEBUG or CurvePreferences setting, rebuilds the binary and confirms that the connection no longer uses a hybrid group. Use it only when a specific peer fails on a hybrid handshake, because it removes post-quantum key exchange from that service's offers.

  1. Confirm the failing handshake and Go version

    Identify the service that fails and confirm which Go toolchain built it. Run the go version command with the -m flag against the compiled binary to read the embedded module information, and note the Go release. Behavior differs between Go 1.24 and 1.25, where X25519MLKEM768 is the default, and Go 1.26, where two additional hybrid groups are added. You know this step is done when you have the Go release and the TLS error text recorded together.

  2. Choose the setting that matches your Go version

    Pick one of the documented options. For Go 1.24 and later, tlsmlkem=0 reverts the default that enables X25519MLKEM768. For Go 1.26, tlssecpmlkem=0 disables the two additional hybrid groups, and tlsmlkem=0 can be used to disable the X25519 group as well. Alternatively, set Config.CurvePreferences explicitly to classical curves such as X25519 and CurveP256. Setting CurvePreferences to classical curves leaves the hybrid groups out of the offer. Confirm the choice against the Go GODEBUG documentation before editing anything, because the setting name must match your toolchain exactly.

  3. Add the godebug directive to go.mod

    In the root go.mod of the work module, add a godebug block containing the chosen setting, for example godebug (tlsmlkem=0). Only the work module's go.mod is read, so a directive in a dependency module has no effect. An unrecognized setting in a godebug line is a build error, so a typo will show up at this step rather than at runtime. You know this step is done when the go build command completes without a GODEBUG error.

  4. Use the directive or environment variable instead

    If you cannot change go.mod, place the directive in the main package as a //go:debug tlsmlkem=0 line at the top of a main source file, before the package statement. You can also set the GODEBUG environment variable at process start, for example GODEBUG=tlsmlkem=0. The environment variable silently ignores unrecognized settings, so check the setting name carefully, because a misspelled value will not produce an error. Do not rely on a setting placed in a dependency for this change.

  5. Rebuild and restart the service

    Rebuild the binary with go build so the new setting is compiled in, then restart the service so the running process loads it. A running process keeps its old settings until it restarts, so a rebuild alone is not enough. Deploy the new binary to every instance that terminates the affected connections, since an instance still running the old build will keep offering the hybrid group. You know this step is done when every instance reports the new build.

  6. Test the handshake and check the key exchange

    Repeat the connection that failed and confirm it now completes. For a deeper check, write a small test program that reads ConnectionState.CurveID after the handshake and prints it. The crypto/tls source documents CurveID as the key exchange used for the connection, so compare the printed value with 4588, 4587 and 4589 for the hybrid groups. A value outside those three indicates a classical group was negotiated. You know this step is done when the handshake succeeds and the printed CurveID matches a classical group.

  7. Record the change and plan the revert

    Record the setting, the Go version, the service and the date of the change in your change log. A disabled hybrid group remains a deliberate exception that someone should review, so add a note to revisit it when the peer is upgraded. Ask the peer's operator whether a fixed server version is available, and confirm the revert procedure before closing the ticket. You know this step is done when the record names an owner and a review point.

How the Go fix differs by build and deployment method

When you build and run a Go program directly with go build or go run, the GODEBUG setting can live in the work module's go.mod or in a //go:debug directive in the main package source. Both travel with the code, so anyone who builds the module gets the same behavior. Only the work module's go.mod is consulted, so a setting placed in a dependency module has no effect.

  • Use a godebug line in go.mod: a block such as godebug (tlsmlkem=0) in the work module's go.mod applies the setting to every build of that module.
  • Use a directive in main package source: the equivalent //go:debug tlsmlkem=0 must appear at the top of a main package file, before the package statement.
  • Expect errors on bad settings: an unrecognized setting in a godebug line or //go:debug directive fails the build, which is useful for catching typos.
  • Remember the environment variable is looser: GODEBUG set in the shell accepts unrecognized settings silently, so do not rely on it alone for a setting you need to persist.
  • Remove tlskyber: tlskyber was removed in Go 1.24, so it is not a valid setting in a go.mod or source directive there.

After changing the file, rebuild the program and run the test described in the verification step on the same machine that will run it.

How to confirm the Go TLS fix worked

Confirm the fix by checking which key exchange the connection actually uses, not by checking that the code compiles. Write a small test program that dials the same peer your application talks to, completes the handshake, and prints ConnectionState.CurveID from crypto/tls. The field is zero for a legacy RSA key exchange and otherwise holds the CurveID of the group used. Run it against the same peer that failed before. If you are keeping the hybrid groups enabled, the value should be 4588 (X25519MLKEM768), or 4587 or 4589 on Go 1.26 and later when the peer agrees to those groups. Any other value means the handshake fell back to a classical group, and that deserves investigation before you call the fix done.

A value other than 4588, 4587 or 4589 is only expected when you have intentionally disabled the hybrids. That happens if you set Config.CurvePreferences explicitly to classical curves such as X25519 and CurveP256, which leaves the hybrid groups out of the offer, or if you set GODEBUG=tlsmlkem=0 or GODEBUG=tlssecpmlkem=0 for a buggy server. If you did neither, check whether a godebug line or //go:debug directive in your work module's go.mod is reverting the default. Also confirm the setting took effect in the binary you deployed. Run go version -m on that binary and check the embedded build information against what you expect from your source and go.mod. Do this on the artifact in production, because a rebuild or a stale container image can differ from the version you tested locally.

After deployment, watch handshake error rates and timeouts in your service and load balancer logs for the same peers over a period of normal traffic. A stall or timeout during the handshake, especially with larger records, can point to a peer or middlebox that mishandles the bigger hybrid ClientHello, which is the situation the GODEBUG documentation describes as the reason to revert the default. Compare the error rate before and after the change, and keep the revert setting available as a documented rollback until the rate is stable. If timeouts persist with the hybrid enabled, the fix belongs at the peer or network hop rather than in your code, so bring those logs to the team that owns that component.

What can break after disabling the Go hybrid key exchange

Setting tlsmlkem=0 or an explicit CurvePreferences list removes the hybrid group from the offer, so the connection falls back to classical key exchange. The changes below are the ones teams most often miss, and each one has a specific check you can run before and after the change.

Connections fall back to classical key exchange

Once the hybrid group is removed from the offer, new TLS connections from this program use classical key exchange such as X25519 or CurveP256. That is the intended effect, but it also means the connection no longer has the post-quantum protection the default would have provided. Run the test program after the change and confirm that ConnectionState.CurveID no longer reports 4588, 4587 or 4589 for the endpoints you care about. Record the value before and after so the change can be shown later.

Go crypto/tls docs

A dependency's GODEBUG setting is ignored

Only the work module's go.mod is consulted, so a godebug line inside a dependency module has no effect on your build. If a library you import is the one that sets the value, the setting you think is active may not be. Check the go.mod of the module you build and run, and confirm the setting in the binary rather than in the library's source. Also note that an unrecognized setting in a godebug line or //go:debug directive is an error, while unrecognized settings in the environment variable are ignored.

GODEBUG documentation

CI builds may use a different Go version

The hybrid default depends on the Go version that compiles the code, so a build pipeline pinned to a different toolchain can produce a binary that behaves differently from your local build. A setting that works on Go 1.24 may not carry the same meaning on Go 1.26, where SecP256r1MLKEM768 and SecP384r1MLKEM1024 are added to the defaults. Confirm the toolchain each pipeline uses, then run the version check on the built binary and compare the output across environments. The go version -m command prints embedded module information for a named binary.

go version docs

Compliance reviews may ask for evidence

A change that turns off a post-quantum key exchange is the kind of decision a compliance or security review may ask to see documented. Keep a record that names the affected service, the setting used, the date it was applied, the Go version in the build, and the owner who approved it. Include the test output that shows the negotiated key exchange before and after. Confirm with your reviewers which evidence format they accept, because the sources listed on this page do not set a required format.

The setting is a workaround, not a fix

Disabling the hybrid group is a temporary workaround for a peer that cannot complete the larger handshake. It leaves the connection on classical key exchange and does not repair the cause. The lasting fix is to correct the peer: upgrade or reconfigure the server, load balancer or proxy that times out or rejects the hybrid offer. Track that peer fix as its own item with an owner and a re-test date, and remove the Go setting once the peer handles the hybrid group correctly.

GODEBUG documentation

When to get help with Go TLS hybrid errors

Get help when the failing connection goes to a server your team does not control. The fixes on this page change the client side only: the godebug line in go.mod, the //go:debug tlsmlkem=0 directive, or an explicit Config.CurvePreferences list. If the peer is a third-party API, a partner gateway or a vendor appliance that stalls on the larger hybrid ClientHello, you cannot change its behavior from your side. Before escalating, confirm with ConnectionState.CurveID that the failure only happens when the hybrid group is offered, then send the vendor the Go version, the hostname and the observed handshake timeout. Ask them whether their TLS stack accepts the hybrid group and whether a fix or a supported configuration is planned. Some services will reply that they have nothing published on the point, and you should record that answer as the vendor's position.

Get help when the same failure appears across many services in an estate. A single misconfigured build can be fixed by one developer, but a pattern of tlsmlkem workarounds spread over dozens of repositories creates drift, and the reverts may hide a shared problem in a firewall, proxy or load balancer. Look at which Go versions are in use, since the Go 1.26 defaults add SecP256r1MLKEM768 (CurveID 4587) and SecP384r1MLKEM1024 (CurveID 4589), and tlssecpmlkem=0 disables those separately from tlsmlkem=0. Also check that the module's go.mod is the one being read, because directives in dependency modules are ignored. Bring in the platform or network owner when the failures cluster on one path, and agree on one standard setting for the estate instead of per-service exceptions.

Get help when a regulated environment needs documented evidence of the cryptographic configuration. Auditors and security reviewers will ask which key exchange each service negotiates, why a fallback was chosen and when it will be revisited. Record the Go version from go version -m for each binary, the GODEBUG settings in effect, the module file that sets them, and the CurveID observed in a test handshake. Keep a dated decision record for every revert to a classical group, naming the peer and the owner of the decision. Whether this evidence satisfies a particular assessment is a question for the assessor and your compliance lead, and DeployOpen prepares the inventory and records but does not issue attestations or certifications.

Questions teams ask after a Go TLS hybrid failure

Is the connection still encrypted after a Go TLS hybrid failure?

The sources on this page do not state whether a failed hybrid handshake leaves any data flowing in the clear, so do not assume either way. A handshake that fails or times out does not complete, which means no application data is exchanged over that connection. Confirm the behavior for your own setup by running the test program described on this page against the peer and checking whether the connection establishes and reports a CurveID. If the connection never completes, treat the failure as a blocked connection, not as a silent downgrade to unencrypted traffic.

Is a Go TLS hybrid handshake failure urgent?

It depends on whether the failure is blocking traffic. If connections to a service fail or stall after you upgrade to Go 1.24 or 1.26, the failure is urgent because that service is unreachable from your Go clients. If the connections succeed and only a log message or warning appears, the urgency is lower, and you can plan the fix within your normal change window. Check whether the failing peer is an internal service, a partner endpoint or a public site, since that determines who is affected and how quickly you need to act.

Can I ignore a Go TLS hybrid failure?

No, you should not ignore a failure that blocks connections. The GODEBUG setting tlsmlkem=0 reverts the Go 1.24 default that enables X25519MLKEM768, and the Go 1.26 setting tlssecpmlkem=0 disables the newer hybrids. Use either setting only as a temporary measure while you plan the proper fix, such as upgrading the peer. The Go GODEBUG documentation notes that this revert exists for buggy TLS servers that do not handle large records correctly and cause a timeout during the handshake. Record that the setting is in place, set a review date, and remove it once the peer is fixed.

Why does this Go TLS error appear after upgrading to Go 1.24 or 1.26?

Go 1.24 enables the X25519MLKEM768 hybrid key exchange by default when Config.CurvePreferences is nil, so Go clients begin offering a larger key share in the ClientHello. Go 1.26 adds the SecP256r1MLKEM768 and SecP384r1MLKEM1024 hybrids to the default. A peer that mishandles the larger handshake, such as a server that does not handle large records correctly, can then time out or reject the connection. The error appears after the upgrade because the client now offers these groups, not because your code changed. Verify the Go version with go version -m on the built binary to confirm which toolchain produced it.

What should I do if I cannot upgrade the peer?

If the peer cannot be upgraded, you have three options in the sources. First, set the GODEBUG revert tlsmlkem=0 in your work module's go.mod as a godebug line, or in the source with a //go:debug directive in the main package, so the client stops offering X25519MLKEM768. Second, set Config.CurvePreferences explicitly to a classical list, which leaves the hybrid groups out of the offer. Third, if you are on Go 1.26, also disable the newer hybrids with tlssecpmlkem=0. Note that directives in dependency modules are ignored, so the setting must live in the work module. Ask the peer's vendor for a fixed release that supports hybrid key exchange.

How do I check which key exchange my Go connection actually used?

After a successful handshake, read ConnectionState.CurveID from the tls.Conn and print it. The crypto/tls source documents this field as the key exchange mechanism used for the connection, with zero meaning a legacy RSA key exchange. Compare the printed value with 4588 for X25519MLKEM768, 4587 for SecP256r1MLKEM768 and 4589 for SecP384r1MLKEM1024. A value of 4588 confirms the hybrid was negotiated, while a classical curve value shows the handshake fell back. Run the test program against the peer after each change to confirm the result, and check ConnectionState.HelloRetryRequest on Go 1.26 if you need to know whether a retry occurred.

Which GODEBUG settings are valid for Go 1.24 and later?

The setting tlsmlkem is valid for reverting the Go 1.24 default, and tlssecpmlkem is valid in Go 1.26 for the newer hybrids. The older tlskyber setting from Go 1.23 is no longer valid in Go 1.24, because support for the experimental X25519Kyber768Draft00 key exchange was removed. An unrecognized setting in a godebug line or //go:debug directive causes an error, while unrecognized settings in the GODEBUG environment variable are ignored. If a build fails after you add a setting, check the spelling and confirm the name against the GODEBUG documentation for your Go version.

Can my team fix a Go TLS hybrid failure without outside help?

Many teams can handle the common case themselves, since the fix is a setting in go.mod or a Config.CurvePreferences change, followed by a test. The work becomes harder when several services share one peer, when the peer belongs to a vendor, or when a fix requires coordinated upgrades across a large estate. The effort depends on how many Go services you run, how many peers are affected and whether you have a repeatable test. DeployOpen supports this kind of work through scoped engagements in self-hosted environments, with the scope and deliverables agreed in writing before work starts and no price estimated here.

How DeployOpen helps fix Go TLS hybrid errors

DeployOpen approaches Go TLS hybrid errors by first confirming which key exchange your binaries negotiate, then changing only the setting that controls it, and testing the result against the endpoints that fail. The work stays inside your own services and networks, with each change recorded so your team can review it.

How we scope

  • We list the Go services and binaries that open TLS connections to the failing endpoints.
  • We record the Go version each build uses, using go version -m on the compiled binaries.
  • The written scope names which servers, clients and environments are covered before work starts.

How we build

  • We check whether Config.CurvePreferences is set explicitly, since that removes the hybrid groups from the offer.
  • We apply the GODEBUG setting tlsmlkem=0 through go.mod, go.work or a //go:debug directive in the main package.
  • We print ConnectionState.CurveID in a test program and compare it with 4588, 4587 and 4589 to confirm the result.

How we hand over

  • We document each changed setting, the file it lives in and the reason it was changed.
  • We provide the test program and the expected CurveID output so your team can rerun the check.
  • We note which settings are unrecognized in each Go version, such as tlskyber after Go 1.24.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer for Go upgrades.
  • Ask any quote for the number of services covered, the test environments included and the retest scope.

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.