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

Issue 13021045: code review 13021045: go.crypto/ssh: implement client side elliptic curve (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by hanwen-google
Modified:
10 years, 8 months ago
Reviewers:
agl1
CC:
dave_cheney.net, agl1, golang-dev
Visibility:
Public.

Description

go.crypto/ssh: implement elliptic curve Diffie-Hellman, including host key signature verification. Moves host key cryptographic verification to ClientConn.handshake(), so RSA host keys are also verified. Fixes issue 6158.

Patch Set 1 #

Patch Set 2 : diff -r 1747226a2f43 https://code.google.com/p/go.crypto #

Patch Set 3 : diff -r 1747226a2f43 https://code.google.com/p/go.crypto #

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

Patch Set 5 : diff -r 1747226a2f43 https://code.google.com/p/go.crypto #

Patch Set 6 : diff -r 1747226a2f43 https://code.google.com/p/go.crypto #

Patch Set 7 : diff -r 1747226a2f43 https://code.google.com/p/go.crypto #

Patch Set 8 : diff -r 1747226a2f43 https://code.google.com/p/go.crypto #

Patch Set 9 : diff -r 1747226a2f43 https://code.google.com/p/go.crypto #

Patch Set 10 : diff -r 1747226a2f43 https://code.google.com/p/go.crypto #

Total comments: 21

Patch Set 11 : diff -r 1747226a2f43 https://code.google.com/p/go.crypto #

Patch Set 12 : diff -r 1747226a2f43 https://code.google.com/p/go.crypto #

Total comments: 4

Patch Set 13 : diff -r 1747226a2f43 https://code.google.com/p/go.crypto #

Patch Set 14 : diff -r 1747226a2f43 https://code.google.com/p/go.crypto #

Unified diffs Side-by-side diffs Delta from patch set Stats (+538 lines, -84 lines) Patch
M ssh/certs.go View 1 1 chunk +19 lines, -13 lines 0 comments Download
M ssh/cipher.go View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +9 lines, -0 lines 0 comments Download
M ssh/client.go View 1 2 3 4 5 6 7 8 9 10 6 chunks +174 lines, -28 lines 0 comments Download
M ssh/client_auth_test.go View 1 2 3 4 5 6 7 8 9 2 chunks +20 lines, -0 lines 0 comments Download
M ssh/common.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +35 lines, -2 lines 0 comments Download
A ssh/kex_test.go View 1 2 3 4 1 chunk +90 lines, -0 lines 0 comments Download
M ssh/messages.go View 1 2 3 4 5 6 2 chunks +13 lines, -0 lines 0 comments Download
M ssh/server.go View 1 2 3 4 5 6 7 8 9 10 11 12 10 chunks +178 lines, -41 lines 0 comments Download

Messages

Total messages: 12
hanwen-google
Hello dave@cheney.net, agl@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.crypto
10 years, 8 months ago (2013-08-16 17:01:55 UTC) #1
hanwen-google
This is more of a heads up. The server side is missing, and the tests ...
10 years, 8 months ago (2013-08-16 17:04:49 UTC) #2
hanwen-google
I've added server side too, and a test for all key exchanges. both tests under ...
10 years, 8 months ago (2013-08-20 14:02:02 UTC) #3
agl1
(Note: on vacation until next week. Review may be delayed.) On Tue, Aug 20, 2013 ...
10 years, 8 months ago (2013-08-20 14:30:14 UTC) #4
agl1
Mostly LGTM. https://codereview.appspot.com/13021045/diff/29001/ssh/client.go File ssh/client.go (right): https://codereview.appspot.com/13021045/diff/29001/ssh/client.go#newcode146 ssh/client.go:146: // NOSUBMIT - should check this only ...
10 years, 8 months ago (2013-08-26 16:39:16 UTC) #5
hanwen-google
https://codereview.appspot.com/13021045/diff/29001/ssh/client.go File ssh/client.go (right): https://codereview.appspot.com/13021045/diff/29001/ssh/client.go#newcode146 ssh/client.go:146: // NOSUBMIT - should check this only if HostKeyChecker ...
10 years, 8 months ago (2013-08-26 17:20:13 UTC) #6
agl1
https://codereview.appspot.com/13021045/diff/29001/ssh/server.go File ssh/server.go (right): https://codereview.appspot.com/13021045/diff/29001/ssh/server.go#newcode252 ssh/server.go:252: zx, zy := curve.ScalarMult(x, y, curve.Params().N.Bytes()) On 2013/08/26 17:20:13, ...
10 years, 8 months ago (2013-08-27 16:54:32 UTC) #7
hanwen-google
PTAL https://codereview.appspot.com/13021045/diff/29001/ssh/server.go File ssh/server.go (right): https://codereview.appspot.com/13021045/diff/29001/ssh/server.go#newcode252 ssh/server.go:252: zx, zy := curve.ScalarMult(x, y, curve.Params().N.Bytes()) On 2013/08/27 ...
10 years, 8 months ago (2013-08-27 17:48:16 UTC) #8
agl1
https://codereview.appspot.com/13021045/diff/29001/ssh/server.go File ssh/server.go (right): https://codereview.appspot.com/13021045/diff/29001/ssh/server.go#newcode252 ssh/server.go:252: zx, zy := curve.ScalarMult(x, y, curve.Params().N.Bytes()) On 2013/08/27 17:48:16, ...
10 years, 8 months ago (2013-08-27 18:31:36 UTC) #9
hanwen-google
On Tue, Aug 27, 2013 at 8:31 PM, <agl@golang.org> wrote: > > https://codereview.appspot.com/13021045/diff/29001/ssh/server.go > File ...
10 years, 8 months ago (2013-08-28 11:36:21 UTC) #10
agl1
*** Submitted as https://code.google.com/p/go/source/detail?r=fe336c7071ab&repo=crypto *** go.crypto/ssh: implement ECDH. Implement elliptic-curve Diffie-Hellman, including host key signature ...
10 years, 8 months ago (2013-08-28 14:50:41 UTC) #11
hanwen-google
10 years, 8 months ago (2013-08-28 14:51:32 UTC) #12
*** Abandoned ***
Sign in to reply to this message.

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