-
Notifications
You must be signed in to change notification settings - Fork 667
Birthday attack follow: Update additional server configs with tls config containing restricted set of cipher suites #4419
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
|
/assign @spadgett |
aedd7ca to
86f8df1
Compare
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.
These are correctly denied.
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.
However, these are also denied :)
Working on figuring out what is up with this.
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.
@spadgett curious if you have a thought.
test/Dockerfile.ciphertest
Outdated
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.
Didn't really want to create my own test image, but couldn't find the correct mix of tools otherwise.
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.
docker build -f Dockerfile.ciphertest -t quay.io/benjaminapetersen/console-ciphertest:latest .
and exists here https://quay.io/repository/benjaminapetersen/console-ciphertest
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'm not sure we want to host this on your personal quay account. We could potentially use OpenShift builds to build the image.
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.
+1
996bba7 to
c9e7246
Compare
test-ciphers.sh
Outdated
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.
Final output for this test looks like:
invalid cipher was correctly denied (DES-CBC3-SHA)
invalid cipher was correctly denied (RSA-AES-128-CBC-SHA256)
invalid cipher was correctly denied (ECDHE-RSA-3DES-EDE-CBC-SHA)
invalid cipher was correctly denied (RSA-3DES-EDE-CBC-SHA)
valid cipher was correctly accepted (ECDHE-RSA-AES128-GCM-SHA256)
valid cipher was correctly accepted (ECDHE-RSA-AES256-GCM-SHA384)
valid cipher was correctly accepted (ECDHE-ECDSA-CHACHA20-POLY1305)
valid cipher was correctly accepted (ECDHE-RSA-CHACHA20-POLY1305)
success
server ciphers correctly handled
cmd/bridge/main.go
Outdated
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.
Shouldn't need the RootCAs: x509.NewCertPool(), here, removing.
c9e7246 to
63233ea
Compare
spadgett
left a comment
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.
@benjaminapetersen I'd suggest we work on the test as a follow on so we don't hold up the basic fix, which is simple. Changes to main.go LGTM.
test/Dockerfile.ciphertest
Outdated
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'm not sure we want to host this on your personal quay account. We could potentially use OpenShift builds to build the image.
|
@spadgett agree about hosting (I don't want it on my personal quay either), not sure how much work it is to setup OpenShift builds. |
test/test-ciphers-from-pod.sh
Outdated
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.
Can't use
set -o errexit
As some of the test requires an error. I'm not sure if there is a better approach.
…d set of cipher suites
ed2a33f to
6e42f08
Compare
|
Updated, eliminated the cipher tests as we've decided it's not really worth the effort. |
|
@benjaminapetersen: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions 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. I understand the commands that are listed here. |
spadgett
left a comment
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.
/approve
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: benjaminapetersen, spadgett The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold |
|
/hold cancel |
Follow-on to #3389
Full list of related PRs
Will need a cherry-pick including both commits for backport.
TODO:
test-ciphers.shto validate that this does fix the problem.