-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Enhance documentation for cipher suites #10641
Enhance documentation for cipher suites #10641
Conversation
Hi @yckaolalala. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
Last time I checked you can't configure cipher suite when you force tls 1.3 it is ignored later on 🤔 |
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.
@yckaolalala Thanks :-)
@MrFreezeex you are correct. I've adjusted the PR message to update the documentation with references . I use tls_cipher_suites:
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 # TLS 1.2
#- TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
- TLS_AES_128_GCM_SHA256 # TLS 1.3
#- TLS_AES_256_GCM_SHA384
- TLS_CHACHA20_POLY1305_SHA256
etcd_tls_cipher_suites:
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 # TLS 1.2
#- TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
- TLS_AES_128_GCM_SHA256 # TLS 1.3
#- TLS_AES_256_GCM_SHA384
- TLS_CHACHA20_POLY1305_SHA256 I observed the following: For TLS 1.2 cipher settings, both etcd and kube-api can scan In TLS 1.3, all three cipher suites ( I also attempted to set the tls_min_version to empty. The results are the same. |
Should I just close this PR? It appears that TLS 1.3 cipher suite is not functioning as expected in the |
Thanks @yckaolalala I'm not sure whether it should be closed :-) Because I have not test the config yet , so I can just give some weak suggestion : |
775c557
to
8fce0af
Compare
8fce0af
to
3ba93da
Compare
Thanks @yankay |
Thanks @yckaolalala |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: yankay, yckaolalala The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
3ba93da
to
a2534c6
Compare
/lgtm |
I've resynced the job, all good now 👍 |
What type of PR is this?
/kind documentation
What this PR does / why we need it:
Reference: https://pkg.go.dev/crypto/tls#pkg-constants
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: