Where Go uses cryptography: crypto/tls, x509 and signing

Go uses cryptography in TLS, certificate handling, signature verification and SSH key exchange. This entry lists where each use sits and what to record for it.

On this page

Where does Go use cryptography, and why record it now?

If you need a cryptographic inventory for an application or service built in Go, start with the packages where Go does its cryptography: crypto/tls for TLS connections, crypto/x509 for certificate parsing and verification, crypto/rsa, crypto/ecdsa and crypto/ed25519 for signing and key handling, and golang.org/x/crypto/ssh for SSH. Each place your code or a dependency calls one of these packages needs its own inventory record, because each one fixes which algorithms, key sizes and key exchanges the service actually negotiates or accepts. The standard library index maintained by the Go project lists the crypto packages that exist in a given release, including crypto/mlkem and crypto/mldsa in recent versions, so check the release you build with rather than assuming a default.

The record matters for planning because the answer to "what public-key cryptography does this service depend on?" changes with the Go version and with build settings. In crypto/tls, Config.MinVersion defaults to TLS 1.2, Config.MaxVersion defaults to TLS 1.3, and a nil Config.CurvePreferences selects a default key exchange list that has changed across releases, including hybrid post-quantum groups added in Go 1.24 and Go 1.26. For each service, record the TLS versions it accepts, the key exchange groups it offers, the certificate key types it presents, the client certificate policy in ClientAuth, and the trust roots from SystemCertPool. Ask the engineer who builds the service to fill in the record and the security lead to review it against the policy the organization is writing, so that each setting is tied to a named owner and a Go version.

This page covers the first step only. The sibling pages on which Go features and APIs depend on RSA and elliptic-curve keys, what a post-quantum upgrade of Go involves, whether Go supports post-quantum cryptography, the project's published roadmap and notices, and how to configure post-quantum algorithms each take up one of the questions that follow from this inventory. Confirm the exact Go version and build flags for each service with the team that runs it, including any GODEBUG or GOFIPS140 settings, because those can change which algorithms are active at run time.

Which Go packages and areas use cryptography?

This table lists each Go area that uses cryptography, the algorithm family it relies on, whether it depends on public-key algorithms, and where it is configured. Read each row as a starting point for your cryptographic inventory, and confirm details against the Go version you run. Rows marked not documented need a check with the vendor or in your own build.

AreaWhat it protectsAlgorithm family and public-key dependenceWhere it is configured
TLS protocol negotiationVersion and cipher suite agreement between client and server in crypto/tlsVersion and suite selection; TLS 1.3 suites are fixed, TLS 1.0 to 1.2 suites are configurable, and negotiation does not itself use public keyscrypto/tls Config fields MinVersion (default TLS 1.2), MaxVersion (default TLS 1.3) and CipherSuites (TLS 1.0 to 1.2 only)
Server and client certificatesIdentity of TLS endpoints presented during the handshakeYes, relies on RSA, ECDSA, Ed25519 (TLS 1.2 and later) or ML-DSA (TLS 1.3) keys in crypto.Signer formcrypto/tls Config fields Certificates, GetCertificate, GetConfigForClient and ClientAuth (default NoClientCert)
Certificate chain verificationTrust in certificate chains built against trusted rootsYes, checks signatures using RSA, ECDSA, Ed25519 or ML-DSA keys; SHA-1 based signatures are not built into chains since Go 1.24crypto/x509 Verify options and the GODEBUG setting tlsmaxrsasize (default cap 8192 bits)
Key exchangeShared secret for the TLS sessionYes for classic groups (X25519, NIST curves); hybrid X25519MLKEM768 and SecP256r1MLKEM768 use ML-KEM alongside classic curves, and pure MLKEM1024 is available in Go 1.27crypto/tls Config.CurvePreferences; GODEBUG tlsmlkem=0 and tlssecpmlkem=0 disable defaults
Signature verification and signingAuthenticity of certificates, handshake signatures and signed dataYes, uses RSA, ECDSA, Ed25519 and ML-DSA keys (ML-DSA added in Go 1.27); DSA is parse-onlycrypto/x509 signature algorithm support; crypto/mldsa package; GODEBUG settings tlsmaxrsasize and rsa1024min
SSHConfidentiality and authentication of SSH sessionsYes for host and user keys; key exchange includes curve25519-sha256, ECDH and Diffie-Hellman groups, plus mlkem768x25519-sha256 from Go 1.24golang.org/x/crypto/ssh Config.KeyExchanges (default set when unspecified); host key algorithm constants for ML-DSA
System certificate poolTrusted root certificates loaded from the operating system or environmentDepends on the public keys in the trusted roots; the pool is loaded, not generated by Gocrypto/x509 SystemCertPool honoring SSL_CERT_FILE and SSL_CERT_DIR; from Go 1.27 on Windows and Darwin as well, unless GODEBUG x509sslcertoverrideplatform=0 is set

Which protocols does Go terminate or originate with its crypto packages?

Go's crypto packages handle two protocols directly: TLS through crypto/tls and SSH through golang.org/x/crypto/ssh. Each one chooses its algorithms through different settings, so an inventory needs to check both. Protocols such as IPsec and SNMPv3 are not part of these packages and must be traced in the application or operating system.

TLS in crypto/tls

Go terminates and originates TLS for servers and clients through crypto/tls, carrying application traffic such as HTTPS and gRPC. Version range is set with Config.MinVersion and Config.MaxVersion. The default minimum is TLS 1.2 and the default maximum is TLS 1.3, and TLS 1.0 is the lowest version the package supports. Record the values each service sets, because a service that leaves them unset inherits whatever the Go release defaults to.

crypto/tls docs

TLS 1.0 to 1.2 cipher suites

The Config.CipherSuites field applies only to TLS 1.0 to 1.2. A nil value selects a default list, and the docs say that list might change over time, so pinning explicit suites is the only way to hold a set steady. CipherSuites() lists the implemented suites without known security issues, and InsecureCipherSuites() lists the implemented suites that have them. Check any service that sets this field against both functions.

crypto/tls docs

TLS 1.3 suites are fixed

TLS 1.3 cipher suites are not configurable in crypto/tls, so CipherSuites has no effect on a connection that negotiates TLS 1.3. Algorithm choice for TLS 1.3 is governed by the key exchange groups in Config.CurvePreferences and by the signature schemes the package advertises. Do not record a TLS 1.3 suite list in an inventory as if it were a setting the team controls.

SSH key exchange in x/crypto/ssh

The golang.org/x/crypto/ssh package carries SSH sessions for clients and servers, and its key exchange is chosen through the Config.KeyExchanges field. When the field is unset, the package uses a default set. Named exchanges include curve25519-sha256, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group14-sha256 and diffie-hellman-group16-sha512. Read the value each SSH service actually sets rather than assuming the default.

x/crypto/ssh docs

Protocols outside these packages

IPsec, SNMPv3 and similar protocols are not implemented by crypto/tls or x/crypto/ssh. When a Go program uses them, the implementation sits in the application's own code, a third-party library or the operating system, and the settings must be read there. Do not record these protocols as covered by the Go settings above. Confirm the implementation and its configuration with the team that owns it.

Where do Go applications keep certificates and keys?

A TLS server built with crypto/tls presents its identity through a tls.Config that must set one of Certificates, GetCertificate or GetConfigForClient. With Certificates, the certificate and private key are loaded into memory when the configuration is built, often from PEM files on disk. With GetCertificate, the application supplies the certificate at handshake time, which is how many services reload renewed certificates without a restart or read keys from a keystore, HSM or KMS. The Go package does not decide which of these is used.

  • Storage location: Files on disk, a secrets manager, an HSM, a TPM or a KMS-backed signer, depending on how the application code loads the key.
  • Issuance: Usually from an internal or public CA through an ACME client, a certificate lifecycle tool or a manual request; the issuing CA and the key type are chosen outside the Go package.
  • Rotation: The application owner or platform team replaces the file or updates the callback, and the server must reload the new material.
  • Key types: The private key must implement crypto.Signer with an RSA, ECDSA or Ed25519 public key, and the docs list ML-DSA for TLS 1.3 in Go 1.27.
  • RSA size cap: The tlsmaxrsasize GODEBUG setting caps accepted RSA key size at 8192 bits by default.

Check which loading method each service uses, where the private key bytes are kept, and who holds the rotation procedure.

How do administrators and tools reach a Go service, and what protects those paths?

The Go standard library gives you no administrative interface of its own. Management access to a Go service is whatever the application chooses to expose, so the inventory has to start from the application, not the language. The usual paths are an HTTPS endpoint built on crypto/tls, an SSH server built on golang.org/x/crypto/ssh, or a path through a cloud or orchestrator control plane. For the HTTPS path, check the tls.Config the service passes to its listener: the MinVersion value (the package default is TLS 1.2), whether CipherSuites is set (it applies only to TLS 1.0 to 1.2), and the ClientAuth value, which defaults to NoClientCert. If operators authenticate with client certificates, confirm the CA pool and the policy in code, because a ClientAuth value of NoClientCert means no certificate is requested at all.

For the SSH path, the key exchange is set by ssh.Config.KeyExchanges, and when that field is unset the package uses its default list. Record the exact list the binary runs with, and check whether mlkem768x25519-sha256 is in it. That key exchange is documented as supported from Go 1.24, and the package also documents ML-DSA host key constants, though MarshalPrivateKey does not support ML-DSA keys, so host keys in that format may need a different storage path. Confirm which host key algorithms the server offers and which client keys it accepts through its PublicKeyCallback or authorized keys handling. Also check whether the service's Go version was built with a GOFIPS140 module, because FIPS mode limits what crypto/tls will negotiate.

For the cloud and orchestrator paths, Go code does not control the protection; the platform's TLS termination, certificate issuance and admin login do. Ask the platform owner which TLS version and key exchange the load balancer or ingress negotiates, and whether the service is reached through it or directly. Write these answers down next to the application's own settings, because a service that trusts an upstream proxy may never see the admin connection's cryptography at all. Confirm the Go version in the built binary, since defaults for key exchange change with releases, and treat any setting that depends on a GODEBUG value as something to verify at runtime rather than assume from the source.

Which signing and update checks in Go use public keys?

Go uses public-key cryptography in several places beyond TLS handshakes: certificate chain verification, signing through crypto.Signer, and the update paths the Go project itself uses. The cards below separate what the team configures from what the vendor fixes, and mark where the sources do not cover the topic.

Certificate signature verification in crypto/x509

crypto/x509 checks each certificate's signature against its issuer's public key. The documented signature algorithms include RSA (PKCS#1 v1.5 and PSS), ECDSA, PureEd25519 and the ML-DSA variants MLDSA44, MLDSA65 and MLDSA87. DSA is supported for parsing only, so DSA-signed certificates can be read but not used to verify a chain. Check which algorithms your trust anchors and internal CAs issue, since verification follows what the certificate carries.

crypto/x509 docs

SHA-1 and MD5 signatures rejected

Since Go 1.24, crypto/x509 no longer verifies signatures on certificates that use SHA-1 based algorithms. In Go 1.27, MD5WithRSA is for signing only and rejected by CheckSignature, and Verify does not build chains through SHA1WithRSA or ECDSAWithSHA1 certificates. Legacy certificates that use these algorithms will fail verification, so inventory older internal CAs and endpoints before upgrading. This behavior is set by the Go version and is not a team-level toggle in the sources.

Go GODEBUG history

Signing through crypto.Signer

Private keys for TLS servers and other signing code are exposed through the crypto.Signer interface. A Certificate.PrivateKey must implement crypto.Signer with an RSA, ECDSA, Ed25519 (TLS 1.2 and later) or ML-DSA (TLS 1.3) public key. Keys held in hardware or a key service can satisfy this interface, so the signing location is a team decision. Confirm which key type each service signs with, since the set of accepted types differs by TLS version.

crypto/tls docs

ML-DSA signatures in TLS 1.3

Go 1.27 adds ML-DSA signatures in TLS 1.3 through the MLDSA44, MLDSA65 and MLDSA87 signature scheme values, and crypto/mldsa implements ML-DSA per FIPS 204. ML-DSA is advertised by default in the TLS signature_algorithms extension in Go 1.27, and the maintainers declined a GODEBUG to turn that off. Test peers and middleboxes before rolling out Go 1.27, because the Go issue tracker records middlebox failures that led to removing ML-DSA from signature_algorithms_cert for that release.

Go issue 81199

Go toolchain and module updates

The sources describe Go release timing, including Go 1.26.11 and Go 1.27.4 dated 2026-11-10, but they do not describe how the toolchain or modules are signed or verified during download. Confirm the download verification method with the Go project and in your build pipeline before relying on it as evidence. Your team controls which Go version each build uses, and whether it pins versions or tracks the latest release.

Go release history

Firmware, secure boot and vendor license channels

The sources do not describe firmware signing, secure boot or vendor license channels for Go itself. Nothing in the Go materials covers signing keys for distributed Go binaries beyond release dates. Ask the Go project directly if your review needs these answers, and document the answer you receive with its date.

Go release history

What should an inventory record for each Go crypto use contain?

This table lists the fields to record for each place a Go service uses cryptography, from the package and Go version to the algorithm, key size, issuer, expiry and confidentiality period. Use it as a template for one row per use, and fill in the GODEBUG settings that change defaults, since the same code can behave differently across Go releases. The main takeaway is that the Go version and any GODEBUG overrides must be recorded, because defaults in crypto/tls and crypto/x509 have changed between releases.

FieldWhat to recordGo-specific notes
Product and packageThe package in use, such as crypto/tls, crypto/x509 or golang.org/x/crypto/sshRecord the import path. Ssh and TLS use different defaults, so each package gets its own row
Go version and patch levelThe exact toolchain used to build, for example go1.26.11 or go1.27.4Release history lists 1.26.11 and 1.27.4 both dated 2026-11-10. Check the patch level, not only the minor version
OwnerThe team responsible for the service and the code pathName a person or team who can confirm the configuration and approve changes
LocationSource file, function or configuration file that sets the crypto behaviorInclude tls.Config fields set in code, such as MinVersion, CipherSuites and CurvePreferences
ProtocolThe protocol the code speaks, such as TLS 1.3, SSH or X.509 certificate validationTLS 1.3 cipher suites are not configurable in Config.CipherSuites, so record the TLS version instead
Algorithm and key sizeKey exchange group, signature algorithm and key size in useRecord RSA key size and whether it is subject to tlsmaxrsasize (default cap 8192 bits) or rsa1024min
Certificate issuer and expiryIssuing CA and the certificate's not-after date for each certificate the service presents or trustsRecord the source of trust, such as SSL_CERT_FILE or SSL_CERT_DIR overrides, since these change the trust store Go uses
Configurable or fixedWhether the setting is set by the application or fixed by the Go releaseDefault cipher suite lists may change over time. Record the default and whether it is pinned in code
GODEBUG settings in effectAny GODEBUG values set, such as tlsmlkem=0, tlssecpmlkem=0, tlsmaxrsasize=4096 or rsa1024min=0Go 1.27 removed tls10server, tlsrsakex, tls3des and tlsunsafeekm, so these can no longer be reverted with GODEBUG
Confidentiality periodHow long the protected data must stay confidential after it is sentData that must stay confidential for years is the main input for judging a key exchange or signature choice

Which Go crypto uses depend on public-key algorithms?

The Go uses that fall in scope for a post-quantum migration are the ones that rely on public-key algorithms: RSA, Diffie-Hellman, elliptic-curve key exchange, and the signature schemes ECDSA, Ed25519 and RSA. In the standard library these appear in crypto/tls, crypto/x509 and, outside the standard library, golang.org/x/crypto/ssh. Each one shows up in a different place. In crypto/tls, the key exchange sets the shared secret for a connection, while certificate signatures authenticate the server (and optionally the client). In crypto/x509, the public key and signature algorithm of each certificate determine what chain verification accepts. In x/crypto/ssh, key exchange names such as curve25519-sha256 and diffie-hellman-group14-sha256, along with host key algorithms, carry the same public-key dependencies. An inventory should list each of these call sites separately, because the fix for a key exchange is not the same as the fix for a certificate or an SSH host key.

Hybrid key exchange groups change how you read that list. Groups such as X25519MLKEM768, which Go enables by default in crypto/tls when Config.CurvePreferences is nil, combine an elliptic-curve exchange with ML-KEM, so the connection keeps its classical component while adding a post-quantum one. Post-quantum signatures are a separate matter: the Go 1.27 release notes describe ML-DSA support in crypto/x509 and in TLS 1.3 signature schemes, and the Go issue tracker records that ML-DSA is advertised by default in signature_algorithms. Symmetric ciphers such as AES and hashes such as SHA-256 are not part of this public-key set and are not the target of this migration, so an inventory can leave them out of the public-key list. Treat certificate and signature paths as a distinct category from key exchange paths when you record them.

For the per-algorithm detail, including which RSA and elliptic-curve settings are in use and which stronger options exist today, see the sibling page on Go features and APIs that depend on RSA and elliptic-curve keys. Confirm which of these uses apply to your own code by searching for tls.Config, x509.Certificate and ssh.ClientConfig in your repository, and by checking any vendored dependencies that call them. Record the Go version and the GODEBUG settings in each service, since several defaults changed across Go 1.24, 1.26 and 1.27.

How do you collect the Go crypto inventory from source and running services?

This sequence builds a per-service inventory of where a Go application sets TLS versions, cipher suites, key exchange groups, certificates and signing algorithms, and which runtime defaults apply to it. The result is a dated record that security assessors and engineers can check against the Go release and GODEBUG history.

  1. Record the Go module and toolchain versions

    Engineers record the go directive and toolchain line in go.mod, then run go version on the build machine and in the container image that ships the binary. Compare these with the Go release history to find the release line in use. The check is complete when the module declaration, the build toolchain and the runtime toolchain all name the same release, or when the mismatch is written down. The Go release history lists go1.26.11 and go1.27.4 with dates, so confirm which patch level the build actually used rather than assuming the latest.

  2. Search source for crypto package imports

    Engineers search the repository and its vendored dependencies for imports of crypto/tls, crypto/x509, crypto/rsa, crypto/ecdsa, crypto/ed25519, crypto/mlkem, crypto/mldsa and golang.org/x/crypto/ssh. Use grep or go list -deps against the main packages so that transitive use is captured. The output is a file-by-file list of call sites, which becomes the working inventory. The step is complete when every package in the dependency graph has been checked, not only first-party code.

  3. Read tls.Config fields that set policy

    For each crypto/tls Config in the code, engineers read the MinVersion, MaxVersion, CipherSuites, CurvePreferences, Certificates, GetCertificate, GetConfigForClient and ClientAuth fields. Note whether each is set explicitly or left nil, because the crypto/tls documentation says nil selects defaults that can change over time, and that CipherSuites applies only to TLS 1.2 and earlier. The result is a table per Config showing the explicit value or the default that applies. The check is complete when no Config is left with an unexamined default.

  4. Check x509 and key handling in the code

    Engineers read how the application loads certificates and private keys, and which x509 verification options it sets, such as custom root pools or Verify calls. Note the key types in use (RSA, ECDSA, Ed25519, or ML-DSA where the Go version supports it), the key sizes, and whether the code calls SystemCertPool. Record the signature algorithms the application accepts from peers. The output is a list of certificate and key sources with their algorithm families. The step is complete when every load path has a recorded key type.

  5. Check GODEBUG values in environment and go.mod

    Engineers check the GODEBUG environment variable in deployment manifests, container definitions and service units, and check for a godebug directive in go.mod. Each setting that overrides a default, such as tlsmlkem, tlssecpmlkem, tlsmaxrsasize, rsa1024min or x509sslcertoverrideplatform, is recorded with the service it applies to. The GODEBUG history lists which settings were removed in Go 1.27, so note any setting that no longer has effect. The check is complete when the effective GODEBUG value for each running service is written down.

  6. Inspect certificate stores and key files on hosts

    On each host or in each container image, engineers list the certificate files and private key files the service reads, and the system trust locations that SSL_CERT_FILE and SSL_CERT_DIR point to. For certificates, record the key algorithm and signature algorithm using an inspection tool such as openssl x509 -text. The output is a file list with algorithms, which confirms what the runtime will actually load. The step is complete when each key file has been matched to the service that uses it.

  7. Confirm gaps with the vendor or project

    Where the code, configuration or running service does not reveal a setting, such as a default inside a third-party library or a compiled-in option, engineers write the question down and send it to the vendor or the maintainers of that project. The Go documentation says some defaults may change, so ask the owner which release the defaults were taken from. The output is a list of open questions with their owners. The step is complete when every open item has an owner and a date of request.

Where do the Go crypto packages sit in a request?

The diagram starts with a client opening a TLS connection to a Go server. Inside the server, crypto/tls negotiates the protocol version and key exchange, and the signing key comes from the configured certificate. crypto/x509 then verifies the server certificate against SystemCertPool, and it verifies client certificates only when ClientAuth requires them. A separate SSH listener is handled by golang.org/x/crypto/ssh, which selects its key exchange through the KeyExchanges field. Check each edge's setting, because the TLS and SSH paths are configured independently.

Go's TLS and SSH paths use separate packages and separate settings.

What do engineers and vendor-risk reviewers ask about Go's crypto inventory?

Is Go quantum safe?

The sources do not support calling Go quantum safe as a whole. What they show is that Go's standard library now includes post-quantum building blocks: the crypto/mlkem package for ML-KEM (FIPS 203) from Go 1.24, the crypto/mldsa package for ML-DSA (FIPS 204) from Go 1.27, and hybrid key exchange enabled by default in crypto/tls, starting with X25519MLKEM768 in Go 1.24. Which of these is active depends on your Go version, your settings and what your peer supports. Signature algorithms in TLS and certificates are a separate question from key exchange, and the sources describe them as narrower in support. The sources do not list SLH-DSA in Go. Treat Go as a set of post-quantum features to inventory and configure, and confirm each one against the version you run.

Which Go version should an inventory record cite?

Record the exact Go toolchain version used to build each service, along with the module version of any crypto library it depends on. The Go release history lists Go 1.27.0 released 2026-08-19 and Go 1.26.0 released 2026-02-10, with point releases such as go1.27.4 and go1.26.11 both dated 2026-11-10 as of 2026-12-03. Default behavior changes between minor versions, so a bare "Go 1.26" is not enough; cite the patch level from go version. If you use GOFIPS140, also record the module version, because the Go FIPS 140-3 page ties module v1.0.0 and v1.26.0 to different CMVP certificates and different available packages. Check the sources for the version your build actually uses, since the toolchain and the module can differ.

Does the Go crypto inventory cost extra?

The sources do not give a price or duration for an inventory, so confirm the effort with your own team or a provider in writing. The main cost drivers are the number of services and builds that import crypto/tls, crypto/x509 or x/crypto/ssh, how many of them set TLS or CipherSuites explicitly (which overrides defaults that change over time), and how many depend on third-party libraries that wrap Go's crypto. Most of the work is one-time discovery and recording, while retesting after each Go upgrade recurs. Ask any quote to itemize discovery across repositories, the size of the test matrix against your peers, and whether retesting after each Go release is included. DeployOpen plans and delivers this work under a written, fixed scope, and pricing follows from that scope.

What breaks if a Go crypto setting is changed?

Changing a crypto setting can cause handshake failures, not just a change in strength. Setting Config.MinVersion above what a client supports will refuse older clients. Setting Config.CurvePreferences or Config.CipherSuites narrows what the server offers, so peers that lack the chosen group or suite will fail. Adding a post-quantum key exchange can also cause failures with older clients or middleboxes that mishandle large handshake messages. Setting GODEBUG values such as tlsmlkem=0 or tlssecpmlkem=0 turns defaults off, and the sources note that Go 1.27 permanently removed tls10server, tlsrsakex, tls3des and tlsunsafeekm, so those cannot be reverted. Test each change against real peers before rollout, and record the before and after values in the inventory.

What should I ask the Go project or my application vendor?

Ask the Go project which crypto/tls, crypto/x509 and crypto/mldsa behaviors are default in your version and which are opt-in. For Go 1.27 and later, ask how ML-DSA is advertised in signature_algorithms and whether the maintainers have addressed the middlebox problems described in Go issue 81199. Ask the Go project whether it has published any statement that mentions CNSA 2.0, because the sources list none on the pages checked. Ask your application vendor which Go version they build with, whether they set TLS or cipher suite options explicitly, whether they use GOFIPS140 or fips140 mode, and whether they can tell you the module version. Request the answers in writing and record the date you received them.

Can our team do the Go crypto inventory itself, or do we need outside help?

Your team can do the inventory if it can search source and build files, check the Go version of each build, and run tests against your peers. The inventory itself is mostly search and recording: find imports of crypto/tls, crypto/x509, crypto/mlkem, crypto/mldsa and golang.org/x/crypto/ssh, then note each explicit setting. Outside help is worth considering when there are many services, when you need an independent record for an assessment, or when the compatibility testing needs environments your team cannot reach. DeployOpen can plan and deliver an inventory and compatibility testing as a fixed-scope engagement, with a written deliverable. For audit evidence, an independent auditor or certification body issues the attestation; DeployOpen prepares the evidence but does not issue it.

Where do I find the Go version and crypto defaults for my services?

Start with go version run on the build host, and with the go directive and toolchain line in each go.mod, since those set the toolchain a build uses. Then check whether any service sets Config.MinVersion, Config.MaxVersion, Config.CipherSuites or Config.CurvePreferences explicitly, because an explicit value overrides defaults that the crypto/tls docs say might change over time. Search for GODEBUG settings in build scripts, container images and environment files, and for GOFIPS140 and fips140 values. Record what each service reports and what its configuration sets, and keep the dated record with the service. The crypto/tls docs at pkg.go.dev/crypto/tls list the defaults to compare against.

How DeployOpen works on this

DeployOpen builds the inventory in stages: it scopes the Go services and modules that handle TLS, certificates and signing, tests what those code paths actually negotiate, and documents the results for your security and platform teams. The work is fixed-scope and written down before it starts, so your team knows what it will receive.

How we scope

  • Agree in writing which Go services, modules and build pipelines fall inside the inventory
  • List the crypto/tls, crypto/x509 and signing call sites each in-scope component uses
  • Confirm the Go toolchain versions in use, since TLS defaults and GODEBUG settings differ by release

How we build

  • Trace TLS configuration, including MinVersion, CurvePreferences and CipherSuites, in each server and client
  • Record certificate key types, signature algorithms and chain verification behavior for each service
  • Check which GODEBUG settings and FIPS 140-3 module choices are set at build time and at run time

How we hand over

  • Deliver a dated inventory of every Go component, its cryptographic dependencies and its Go version
  • Document which findings depend on settings you control and which depend on the Go project itself
  • Include the evidence and reproduction steps your security reviewers need to verify each entry

How we support

  • Offer ongoing support and continuous testing as a retainer after the inventory is delivered
  • Retest the inventory when you upgrade Go or change TLS or certificate configuration
  • Confirm with the Go project or your vendor any statement the inventory cannot verify from the code alone

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.