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

Issue 117100043: code review 117100043: crypto/tls: implement tls-unique channel binding (RFC 5...

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 9 months ago by andreser
Modified:
9 years, 8 months ago
Reviewers:
agl1
CC:
golang-codereviews, ashankar, agl2
Visibility:
Public.

Description

crypto/tls: implement tls-unique channel binding (RFC 5929 section 3). Tested against GnuTLS and Python.

Patch Set 1 #

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

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

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

Total comments: 7

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

Total comments: 2

Patch Set 6 : diff -r 333b975e98c2 https://code.google.com/p/go #

Total comments: 3

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -12 lines) Patch
M src/pkg/crypto/tls/common.go View 1 chunk +8 lines, -0 lines 0 comments Download
M src/pkg/crypto/tls/conn.go View 2 chunks +6 lines, -0 lines 0 comments Download
M src/pkg/crypto/tls/handshake_client.go View 6 chunks +8 lines, -6 lines 0 comments Download
M src/pkg/crypto/tls/handshake_server.go View 6 chunks +8 lines, -6 lines 0 comments Download
M src/pkg/crypto/tls/tls_test.go View 2 chunks +45 lines, -0 lines 0 comments Download

Messages

Total messages: 15
andreser
Hello golang-codereviews@googlegroups.com (cc: agl@google.com, golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
9 years, 9 months ago (2014-07-23 01:08:41 UTC) #1
agl1
On 2014/07/23 01:08:41, andreser wrote: > Hello mailto:golang-codereviews@googlegroups.com (cc: mailto:agl@google.com, > mailto:golang-codereviews@googlegroups.com), > > I'd ...
9 years, 9 months ago (2014-07-23 01:27:46 UTC) #2
andreser
> The tls-unique channel binding is broken without the master-secret fix that is > currently ...
9 years, 9 months ago (2014-07-23 18:38:18 UTC) #3
agl1
On Wed, Jul 23, 2014 at 11:38 AM, <andreser@google.com> wrote: > (1) seems like the ...
9 years, 9 months ago (2014-07-24 22:13:00 UTC) #4
ashankar
> The problem is that no extension number has been assigned yet. I asked > ...
9 years, 8 months ago (2014-07-28 17:23:47 UTC) #5
andreser
Hello golang-codereviews@googlegroups.com, agl@golang.org, ashankar@google.com (cc: agl@google.com, golang-codereviews@googlegroups.com), Please take another look.
9 years, 8 months ago (2014-08-02 00:14:43 UTC) #6
agl1
https://codereview.appspot.com/117100043/diff/60001/src/pkg/crypto/tls/common.go File src/pkg/crypto/tls/common.go (right): https://codereview.appspot.com/117100043/diff/60001/src/pkg/crypto/tls/common.go#newcode167 src/pkg/crypto/tls/common.go:167: ChannelBinding []byte // tls-unique channel binding (rfc 5929 section ...
9 years, 8 months ago (2014-08-04 18:42:58 UTC) #7
andreser
Hello golang-codereviews@googlegroups.com, agl@golang.org, ashankar@google.com (cc: agl@google.com, golang-codereviews@googlegroups.com), Please take another look.
9 years, 8 months ago (2014-08-04 22:38:38 UTC) #8
agl1
LGTM with nits. https://codereview.appspot.com/117100043/diff/80001/src/pkg/crypto/tls/common.go File src/pkg/crypto/tls/common.go (right): https://codereview.appspot.com/117100043/diff/80001/src/pkg/crypto/tls/common.go#newcode168 src/pkg/crypto/tls/common.go:168: // TLSUnique contains the "tls-unique" channel ...
9 years, 8 months ago (2014-08-05 00:30:57 UTC) #9
andreser
Hello golang-codereviews@googlegroups.com, agl@golang.org, ashankar@google.com (cc: agl@google.com, golang-codereviews@googlegroups.com), Please take another look.
9 years, 8 months ago (2014-08-05 16:51:08 UTC) #10
ashankar
https://codereview.appspot.com/117100043/diff/100001/src/pkg/crypto/tls/conn.go File src/pkg/crypto/tls/conn.go (right): https://codereview.appspot.com/117100043/diff/100001/src/pkg/crypto/tls/conn.go#newcode45 src/pkg/crypto/tls/conn.go:45: // firstFinished contains the first Finished has sent during ...
9 years, 8 months ago (2014-08-05 17:01:31 UTC) #11
agl1
https://codereview.appspot.com/117100043/diff/100001/src/pkg/crypto/tls/conn.go File src/pkg/crypto/tls/conn.go (right): https://codereview.appspot.com/117100043/diff/100001/src/pkg/crypto/tls/conn.go#newcode1001 src/pkg/crypto/tls/conn.go:1001: state.TLSUnique = c.firstFinished[:] On 2014/08/05 17:01:31, ashankar wrote: > ...
9 years, 8 months ago (2014-08-11 20:23:32 UTC) #12
andreser
On 2014/08/11 20:23:32, agl1 wrote: > https://codereview.appspot.com/117100043/diff/100001/src/pkg/crypto/tls/conn.go > File src/pkg/crypto/tls/conn.go (right): > > https://codereview.appspot.com/117100043/diff/100001/src/pkg/crypto/tls/conn.go#newcode1001 > ...
9 years, 8 months ago (2014-08-11 22:01:34 UTC) #13
agl1
*** Submitted as https://code.google.com/p/go/source/detail?r=b3759654d42d *** crypto/tls: implement tls-unique channel binding (RFC 5929 section 3). Tested ...
9 years, 8 months ago (2014-08-11 23:40:50 UTC) #14
agl1
9 years, 8 months ago (2014-08-11 23:41:27 UTC) #15
On 2014/08/11 22:01:34, andreser wrote:
> On 2014/08/11 20:23:32, agl1 wrote:
> >
>
https://codereview.appspot.com/117100043/diff/100001/src/pkg/crypto/tls/conn.go
> > File src/pkg/crypto/tls/conn.go (right):
> > 
> >
>
https://codereview.appspot.com/117100043/diff/100001/src/pkg/crypto/tls/conn....
> > src/pkg/crypto/tls/conn.go:1001: state.TLSUnique = c.firstFinished[:]
> > On 2014/08/05 17:01:31, ashankar wrote:
> > > Dunno if we care about that, if we do, might be safer to make a copy?
> > > Adam?
> > 
> > They can, but making a copy for every caller would mean a lot of allocing
for
> > something that 99.9% of callers don't care about. I think it's ok to assume
> that
> > the caller doesn't mutate the structure because, if they do, there are
several
> > other things in here that would be a problem.
> 
> Is there anything else you would like me to change here?

Sorry, this was waiting in a terminal for me to submit. Done.
Sign in to reply to this message.

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