Is crypto/tls post-quantum?
Key exchange
Yes
Go 1.24 or later with nil CurvePreferences and a compatible peer. ML-DSA TLS authentication requires a supporting Go release and credentials.
Signatures and authentication Available with setup
Go modules package
Package tls partially implements TLS 1.2, as specified in RFC 5246, and TLS 1.3, as specified in RFC 8446.
Default support from 1.23
Check CurvePreferences, GODEBUG and the Go version embedded in the binary.
Authentication: Available with setup. Reported by Go project.
What Go project says
- Go 1.27 Release Notes - The Go Programming Language Go project ·
crypto/tls now supports ML-DSA signatures in TLS 1.3, with the new MLDSA44, MLDSA65, and MLDSA87 SignatureScheme values.
- Go 1.24 Release Notes - The Go Programming Language Go project ·
The new post-quantum X25519MLKEM768 key exchange mechanism is now supported and is enabled by default when Config.CurvePreferences is nil.
Key exchange and encryption
Post-quantum by default
Reported by Go project.
Since 1.23
Algorithm X25519Kyber768Draft00, then X25519MLKEM768
1.22 defaults were classical, 1.23 preferred draft Kyber, 1.24 replaced it with ML-KEM, and 1.26 added two NIST-curve hybrids.
Evidence
- go.dev · crypto/tls
Read
exchange mechanism is now supported and is enabled by default when
- raw.githubusercontent.com/golang/go/go1.22.0/src/crypto/tls/common.go
Read
var defaultCurvePreferences = []CurveID{X25519, CurveP256, CurveP384, CurveP521}
- Go 1.23 Release Notes - The Go Programming Language
Read
X25519Kyber768Draft00 is now enabled by default
- Go 1.24 Release Notes - The Go Programming Language
Read
X25519MLKEM768 key exchange mechanism is now supported and is enabled by default
- Go 1.26 Release Notes - The Go Programming Language
Read
SecP256r1MLKEM768 and SecP384r1MLKEM1024 post-quantum key exchanges are now enabled by default.
Signatures and authentication
Available with setup
Reported by Go project.
Since 1.27
Algorithm ML-DSA-44, ML-DSA-65 and ML-DSA-87
Go supports ML-DSA in TLS 1.3. Authentication requires configuring an ML-DSA certificate and its trust path.
Evidence
- go.dev · crypto_mldsa
Read
crypto/tls now supports ML-DSA signatures in TLS 1.3
- go.dev · defaults.go
Read
defaultSupportedSignatureAlgorithms returns the signature and hash algorithms
- Go crypto/tls Config
Read
Server configurations must set one of Certificates
- Go 1.27 Release Notes - The Go Programming Language
Read
crypto/tls now supports ML-DSA signatures in TLS 1.3
client
Go standard library TLS handshake
Go 1.24 or later with nil CurvePreferences and a compatible peer. ML-DSA TLS authentication requires a supporting Go release and credentials.
Yes The default applies with a compatible peer and nil CurvePreferences.
Signatures Setup Go supports ML-DSA in TLS 1.3. Authentication requires configuring an ML-DSA certificate and its trust path.
- go.dev · crypto/tls · Read 2026-12-03
- go.dev · crypto_mldsa · Read 2026-12-03
- go.dev · defaults.go · Read 2026-12-03
- Go crypto/tls Config · Read 2026-12-03
server
Go standard library TLS handshake
Go 1.24 or later with nil CurvePreferences and a compatible peer. ML-DSA TLS authentication requires a supporting Go release and credentials.
Yes The default applies with a compatible peer and nil CurvePreferences.
Signatures Setup Go supports ML-DSA in TLS 1.3. Authentication requires configuring an ML-DSA certificate and its trust path.
- go.dev · crypto/tls · Read 2026-12-03
- go.dev · crypto_mldsa · Read 2026-12-03
- go.dev · defaults.go · Read 2026-12-03
- Go crypto/tls Config · Read 2026-12-03
dependencies
Go standard library TLS handshake
Go 1.24 or later with nil CurvePreferences and a compatible peer. ML-DSA TLS authentication requires a supporting Go release and credentials.
Unknown Dependencies have not been assessed for this scope.
client
Go TLS default changes by release
Go 1.24 or later with nil CurvePreferences and a compatible peer. ML-DSA TLS authentication requires a supporting Go release and credentials.
Yes 1.22 defaults were classical, 1.23 preferred draft Kyber, 1.24 replaced it with ML-KEM, and 1.26 added two NIST-curve hybrids.
Signatures Setup TLS 1.3 authentication requires a compatible certificate.
- Go 1.24 Release Notes - The Go Programming Language · Read 2026-12-03
- Go 1.26 Release Notes - The Go Programming Language · Read 2026-12-03
- Go 1.27 Release Notes - The Go Programming Language · Read 2026-12-03
server
Go TLS default changes by release
Go 1.24 or later with nil CurvePreferences and a compatible peer. ML-DSA TLS authentication requires a supporting Go release and credentials.
Yes 1.22 defaults were classical, 1.23 preferred draft Kyber, 1.24 replaced it with ML-KEM, and 1.26 added two NIST-curve hybrids.
Signatures Setup TLS 1.3 authentication requires a compatible certificate.
- Go 1.24 Release Notes - The Go Programming Language · Read 2026-12-03
- Go 1.26 Release Notes - The Go Programming Language · Read 2026-12-03
- Go 1.27 Release Notes - The Go Programming Language · Read 2026-12-03
dependencies
Go TLS default changes by release
Go 1.24 or later with nil CurvePreferences and a compatible peer. ML-DSA TLS authentication requires a supporting Go release and credentials.
Unknown Dependencies have not been assessed for this scope.
Follow changes
Copy the feed link into your feed reader to see new updates as they are published.
History
- · Combined the two records for the Go TLS package and kept the earlier Go 1.23 default evidence.
- · Go supports ML-DSA in TLS 1.3. Authentication requires configuring an ML-DSA certificate and its trust path.
- · Reviewed Client, Server and Dependencies for Go standard library TLS handshake.
- · Reviewed Client, Server and Dependencies for Go standard library TLS handshake.