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
crypto/tls: missing some cipher suite constants #14370
Comments
I think the criteria is simply it includes what the package
supports.
|
@agl, do you want [somebody else] to document that this is only those supported by the crypto/tls package, or do you want [somebody else] to auto-generate those constants, perhaps with go generate from https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-4 ? |
I don't think that we should try to include every constant in that package because of the large number of them. I'll send out a change to document this in a sec. |
CL https://golang.org/cl/20551 mentions this issue. |
Fixes golang#14370. Change-Id: Ieb95ee3494f592fb5fc74aa4b803479671816927 Reviewed-on: https://go-review.googlesource.com/20551 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Fixes golang#14370. Change-Id: Ieb95ee3494f592fb5fc74aa4b803479671816927 Reviewed-on: https://go-review.googlesource.com/20551 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This file has a list of constants for TLS cipher suites:
https://golang.org/src/crypto/tls/cipher_suites.go
The list is incomplete, for example the ChaCha20-Poly1305 ciphers are missing. It would be useful to either (a) complete the list of ciphers and, or (b) document how the list of ciphers is curated.
If (a), there should also be some mechanism to keep the list up-to-date over time.
The text was updated successfully, but these errors were encountered: