-
Notifications
You must be signed in to change notification settings - Fork 249
OCPBUGS-17349: Drop weak TLS ciphers #1964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -260,17 +260,17 @@ func DefaultCiphers() []uint16 { | |
| tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, // forbidden by http/2, not flagged by http2isBadCipher() in go1.8 | ||
| tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, // forbidden by http/2 | ||
| tls.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, // forbidden by http/2 | ||
| tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, // forbidden by http/2 | ||
| tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, // forbidden by http/2 | ||
| tls.TLS_RSA_WITH_AES_128_GCM_SHA256, // forbidden by http/2 | ||
| tls.TLS_RSA_WITH_AES_256_GCM_SHA384, // forbidden by http/2 | ||
| // tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, // forbidden by http/2 | ||
| // tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, // forbidden by http/2 | ||
| tls.TLS_RSA_WITH_AES_128_GCM_SHA256, // forbidden by http/2 | ||
| tls.TLS_RSA_WITH_AES_256_GCM_SHA384, // forbidden by http/2 | ||
|
Comment on lines
+265
to
+266
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: The indent is off for this comment.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because the lines above are comments as a whole, |
||
| // the next one is in the intermediate suite, but go1.8 http2isBadCipher() complains when it is included at the recommended index | ||
| // because it comes after ciphers forbidden by the http/2 spec | ||
| // tls.TLS_RSA_WITH_AES_128_CBC_SHA256, | ||
| // tls.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, // forbidden by http/2, disabled to mitigate SWEET32 attack | ||
| // tls.TLS_RSA_WITH_3DES_EDE_CBC_SHA, // forbidden by http/2, disabled to mitigate SWEET32 attack | ||
| tls.TLS_RSA_WITH_AES_128_CBC_SHA, // forbidden by http/2 | ||
| tls.TLS_RSA_WITH_AES_256_CBC_SHA, // forbidden by http/2 | ||
| // tls.TLS_RSA_WITH_AES_128_CBC_SHA, // forbidden by http/2 | ||
| // tls.TLS_RSA_WITH_AES_256_CBC_SHA, // forbidden by http/2 | ||
| tls.TLS_AES_128_GCM_SHA256, | ||
| tls.TLS_AES_256_GCM_SHA384, | ||
| tls.TLS_CHACHA20_POLY1305_SHA256, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While at it, we should consider dropping those as well. They use CBC with an HMAC-SHA1. Which I assume is the same reasoning as dropping the others.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I concur, let's drop everything not in the current (v5.7) guidelines. Basically drop everything "forbidden by http/2".