Quantum-secure Go: crypto/tls curve preferences

Go 1.24+ offers X25519MLKEM768 by default, but explicit CurvePreferences can change it. Check the Go version and the TLS config.

Quick answer: Go 1.24+ offers X25519MLKEM768 by default, but explicit CurvePreferences can change it. Check the Go version and the TLS config.

What this guide covers

This guide covers TLS key exchange and certificate readiness for Go. It does not cover data at rest, code signing or QKD.

Fix it

Run go version and inspect the crypto/tls configuration. If CurvePreferences is set, include the hybrid group constant for your Go version and a classical fallback. A reverse proxy may terminate TLS before the Go service.

Verify it

Use openssl s_client -groups X25519MLKEM768 against the service. For a Go client, run a TLS probe with the same build. Add the host on quantum/quantumcert.

Failure example

A Go service sets CurvePreferences to X25519 only, copied from an older config. The Go version supports the hybrid group, but the explicit list removes it. Add the hybrid group first.

Automate it

  • Use a Command Processor to collect the version, linked TLS library and effective configuration.
  • Use an AgentFlow to inventory the host, add the quantum and quantumcert checks and produce a report.
  • Use a Connect to repeat the check and alert on regression.

Limits

  • One target, one port and one agent per check.
  • The agent's algorithm set matters.
  • Key exchange and certificate signatures are separate.
  • No data-at-rest or QKD coverage.
  • A clean check does not prove every service or virtual host is configured.

Next

Keep exploring

Quantum-secure Node.js: OpenSSL linkage and TLS groups

Node bundles its own OpenSSL. Check the Node version and the TLS context, then verify the negotiated group from the client path.

Quantum-secure Java: JDK TLS and named groups

The JDK version, security policy and TLS provider decide whether Java can negotiate X25519MLKEM768. Test the runtime your service actually uses.

Quantum-secure OpenSSL: hybrid TLS that actually negotiates

Enable hybrid ML-KEM key exchange on OpenSSL 3.5+, prove the negotiated group, and separate the session from the certificate.

Browse the library · Quantum readiness docs · Check a system