Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(159)

Issue 7163043: code review 7163043: crypto/tls: allow the server to enforce it's ciphersuit... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by agl1
Modified:
12 years, 5 months ago
Reviewers:
CC:
golang-dev, ioe, bradfitz, ality
Visibility:
Public.

Description

crypto/tls: allow the server to enforce its ciphersuite preferences. Previously, Go TLS servers always took the client's preferences into account when selecting a ciphersuite. This change adds the option of using the server's preferences, which can be expressed by setting tls.Config.CipherSuites. This mirrors Apache's SSLHonorCipherOrder directive.

Patch Set 1 #

Patch Set 2 : diff -r 7418ae25fbb4 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 7418ae25fbb4 https://code.google.com/p/go/ #

Total comments: 2

Patch Set 4 : diff -r 7dc8d66efb6d https://code.google.com/p/go/ #

Patch Set 5 : diff -r 2da48f86d386 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -5 lines) Patch
M src/pkg/crypto/tls/common.go View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M src/pkg/crypto/tls/handshake_server.go View 1 2 3 3 chunks +14 lines, -5 lines 0 comments Download
M src/pkg/crypto/tls/handshake_server_test.go View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 8
agl1
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 5 months ago (2013-01-17 20:24:13 UTC) #1
ioe
Just a nit. https://codereview.appspot.com/7163043/diff/4001/src/pkg/crypto/tls/common.go File src/pkg/crypto/tls/common.go (right): https://codereview.appspot.com/7163043/diff/4001/src/pkg/crypto/tls/common.go#newcode191 src/pkg/crypto/tls/common.go:191: ServerCipherSuitePreference bool s/ServerCipherSuitePreference/UseServersPreferredCipherSuite/g makes more clear ...
12 years, 5 months ago (2013-01-17 21:03:35 UTC) #2
bradfitz
s/it's/its/ On Thu, Jan 17, 2013 at 12:24 PM, <agl@golang.org> wrote: > Reviewers: golang-dev_googlegroups.com, > ...
12 years, 5 months ago (2013-01-17 21:34:46 UTC) #3
bradfitz
https://codereview.appspot.com/7163043/diff/4001/src/pkg/crypto/tls/common.go File src/pkg/crypto/tls/common.go (right): https://codereview.appspot.com/7163043/diff/4001/src/pkg/crypto/tls/common.go#newcode191 src/pkg/crypto/tls/common.go:191: ServerCipherSuitePreference bool On 2013/01/17 21:03:35, ioe wrote: > s/ServerCipherSuitePreference/UseServersPreferredCipherSuite/g ...
12 years, 5 months ago (2013-01-19 16:55:42 UTC) #4
ality
bradfitz@golang.org once said: > PreferServerCipherSuites I like this name. Anthony
12 years, 5 months ago (2013-01-20 02:23:03 UTC) #5
agl1
Thanks all. Have updated with Brad's suggested name.
12 years, 5 months ago (2013-01-21 16:21:36 UTC) #6
bradfitz
LGTM On Jan 21, 2013 8:21 AM, <agl@golang.org> wrote: > Thanks all. Have updated with ...
12 years, 5 months ago (2013-01-21 16:39:57 UTC) #7
agl1
12 years, 5 months ago (2013-01-22 15:10:52 UTC) #8
*** Submitted as https://code.google.com/p/go/source/detail?r=b68f084eaba7 ***

crypto/tls: allow the server to enforce its ciphersuite preferences.

Previously, Go TLS servers always took the client's preferences into
account when selecting a ciphersuite. This change adds the option of
using the server's preferences, which can be expressed by setting
tls.Config.CipherSuites.

This mirrors Apache's SSLHonorCipherOrder directive.

R=golang-dev, nightlyone, bradfitz, ality
CC=golang-dev
https://codereview.appspot.com/7163043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b