-
Notifications
You must be signed in to change notification settings - Fork 18k
crypto/tls: Expose CipherSuite structure and add names #30654
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
Conversation
f53013c
to
8b9a096
Compare
This PR (HEAD: 8b9a096) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/165957 to see it. Tip: You can toggle comments from me using the |
8b9a096
to
45195f7
Compare
This PR (HEAD: 45195f7) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/165957 to see it. Tip: You can toggle comments from me using the |
Message from Juan Antonio Osorio: Patch Set 2: Hey! could you check this commit out? Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
Message from Juan Antonio Osorio: Patch Set 2: hey! could you check this patch if you have time? Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
45195f7
to
cf9f7b4
Compare
This PR (HEAD: cf9f7b4) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/165957 to see it. Tip: You can toggle comments from me using the |
Message from Bryan C. Mills: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
Message from Juan Antonio Osorio: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
cf9f7b4
to
5455847
Compare
This PR (HEAD: 5455847) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/165957 to see it. Tip: You can toggle comments from me using the |
Message from Juan Antonio Osorio: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
Message from Bryan C. Mills: Patch Set 4: Run-TryBot+1 Code-Review+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
Message from Gobot Gobot: Patch Set 4: TryBots beginning. Status page: https://farmer.golang.org/try?commit=6fa6480c Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
Message from Gobot Gobot: Patch Set 4: Build is still in progress... Consult https://build.golang.org/ to see whether it's a new failure. Other builds still in progress; subsequent failure notices suppressed until final report. Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
Message from Juan Antonio Osorio: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
5455847
to
7d58dd0
Compare
This PR (HEAD: 7d58dd0) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/165957 to see it. Tip: You can toggle comments from me using the |
Message from Juan Antonio Osorio: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
Message from Juan Antonio Osorio: Patch Set 5: I'm in the process of pushing a subsequent patch fixing some issues. Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
This change exposes the CipherSuite structure, so folks can actually use it in their code-bases. It also exposes the needed functions to get the cipher suite both by name and by ID. The "name" of the cipher suite was added to the struct. Fixes: golang#30325
This creates several functions that expose whether the relevant flags for the cipher suites are enabled or not.
7d58dd0
to
292d7fe
Compare
This PR (HEAD: 292d7fe) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/165957 to see it. Tip: You can toggle comments from me using the |
Message from Juan Antonio Osorio: Patch Set 6: Alright, I made this patch less invasive and the compile issues (sorry about those). Now it should be ready for review. Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
Message from Juan Antonio Osorio: Patch Set 6:
Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
Message from Bryan C. Mills: Patch Set 6: Run-TryBot+1 Code-Review+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
Message from Gobot Gobot: Patch Set 6: TryBots beginning. Status page: https://farmer.golang.org/try?commit=5984d9f8 Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
Message from Gobot Gobot: Patch Set 6: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
Message from Juan Antonio Osorio: Patch Set 6: Any chance of getting a review for this? who else should we add to the reviewers list? Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
Message from Bryan C. Mills: Patch Set 6:
Filippo is the appropriate code owner as far as I am aware. Please don’t reply on this GitHub thread. Visit golang.org/cl/165957. |
This change exposes the CipherSuite structure, so folks can actually use
it in their code-bases. It also exposes the needed functions to get the
cipher suite both by name and by ID.
The "name" of the cipher suite was added to the struct.
Fixes: #30325