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

Issue 10372045: code review 10372045: crypto/tls: change advertised ciphersuite order. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by agl1
Modified:
11 years, 9 months ago
Reviewers:
r, raggi
CC:
golang-dev, r, raggi, jsing
Visibility:
Public.

Description

crypto/tls: change advertised ciphersuite order. TLS clients send ciphersuites in preference order (most prefereable first). This change alters the order so that ECDHE comes before plain RSA, and RC4 comes before AES (because of the Lucky13 attack). This is unlikely to have much effect: as a server, the code uses the client's ciphersuite order by default and, as a client, the non-Go server probably imposes its order.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M src/pkg/crypto/tls/cipher_suites.go View 1 2 3 1 chunk +6 lines, -4 lines 0 comments Download

Messages

Total messages: 6
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/
11 years, 9 months ago (2013-06-18 18:02:03 UTC) #1
r
LGTM
11 years, 9 months ago (2013-06-18 18:33:57 UTC) #2
raggi
On 2013/06/18 18:33:57, r wrote: > LGTM LGTM, thanks Adam. I'll close the other ticket.
11 years, 9 months ago (2013-06-18 20:04:24 UTC) #3
jsing
Can we add the reason for the ordering in a comment above cipherSuites? Currently they ...
11 years, 9 months ago (2013-06-19 01:17:59 UTC) #4
agl1
On Tue, Jun 18, 2013 at 9:17 PM, <jsing@google.com> wrote: > Can we add the ...
11 years, 9 months ago (2013-06-19 20:42:57 UTC) #5
agl1
11 years, 9 months ago (2013-06-19 20:47:05 UTC) #6
*** Submitted as https://code.google.com/p/go/source/detail?r=9ab9ac0001a0 ***

crypto/tls: change advertised ciphersuite order.

TLS clients send ciphersuites in preference order (most prefereable
first). This change alters the order so that ECDHE comes before plain
RSA, and RC4 comes before AES (because of the Lucky13 attack).

This is unlikely to have much effect: as a server, the code uses the
client's ciphersuite order by default and, as a client, the non-Go
server probably imposes its order.

R=golang-dev, r, raggi, jsing
CC=golang-dev
https://codereview.appspot.com/10372045
Sign in to reply to this message.

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