1
0
mirror of https://github.com/securego/gosec.git synced 2025-07-07 00:35:35 +02:00

Regenerate the TLS configuration based on latest Mozilla's recommended ciphers

Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
Cosmin Cojocar
2019-09-09 15:14:41 +02:00
committed by Grant Murphy
parent 76ce9f0147
commit 81b6dc8872
3 changed files with 28 additions and 79 deletions

View File

@ -1027,7 +1027,7 @@ import (
func main() {
tr := &http.Transport{
TLSClientConfig: &tls.Config{CipherSuites: []uint16{
tls.TLS_RSA_WITH_RC4_128_SHA,
tls.TLS_RSA_WITH_AES_128_GCM_SHA256,
tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
},},
}