Skip to content

Commit c36954f

Browse files
author
Cosmin Cojocar
committed
Add the CHACHA20 to good ciphers in modern tls check
1 parent f22c701 commit c36954f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rules/tls.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,10 @@ func NewModernTlsCheck(conf map[string]interface{}) (gas.Rule, []ast.Node) {
130130
goodCiphers: []string{
131131
"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
132132
"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
133+
"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305",
133134
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
134135
"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
136+
"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305",
135137
},
136138
}, []ast.Node{(*ast.CompositeLit)(nil)}
137139
}

0 commit comments

Comments
 (0)