Skip to content

Commit 0a1293a

Browse files
authored
Merge pull request #153 from thaJeztah/chachacha
tlsconfig: add ChaCha20-Poly1305 cipher suites
2 parents cd0c059 + e2daa5e commit 0a1293a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tlsconfig/config.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ var defaultCipherSuites = []uint16{
4747
tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
4848
tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
4949
tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
50+
tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,
51+
tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256,
5052
}
5153

5254
// ServerDefault returns a secure-enough TLS configuration for the server TLS configuration.

0 commit comments

Comments
 (0)