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

Issue 13642043: code review 13642043: go.crypto/ssh: introduce PublicKey interface type. (Closed)

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

Description

go.crypto/ssh: introduce PublicKey interface type. Public functions affected: -AgentKey.Key -AgentClient.SignRequest -ClientKeyring.Key -MarshalPublicKey -ParsePublicKey

Patch Set 1 #

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

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

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

Total comments: 12

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

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

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

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

Total comments: 6

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+448 lines, -439 lines) Patch
M ssh/agent.go View 1 2 chunks +3 lines, -3 lines 0 comments Download
M ssh/certs.go View 1 2 3 4 5 6 6 chunks +40 lines, -41 lines 0 comments Download
M ssh/client.go View 1 2 3 4 2 chunks +4 lines, -13 lines 0 comments Download
M ssh/client_auth.go View 1 2 3 4 5 6 7 8 8 chunks +14 lines, -15 lines 0 comments Download
M ssh/client_auth_test.go View 1 2 3 4 5 6 2 chunks +7 lines, -6 lines 0 comments Download
M ssh/common.go View 1 2 3 4 5 6 2 chunks +15 lines, -119 lines 0 comments Download
M ssh/common_test.go View 1 2 chunks +0 lines, -51 lines 0 comments Download
M ssh/keys.go View 1 2 3 4 5 6 7 8 4 chunks +282 lines, -146 lines 0 comments Download
A ssh/keys_test.go View 1 2 3 4 5 6 7 8 1 chunk +60 lines, -0 lines 0 comments Download
M ssh/server.go View 1 10 chunks +16 lines, -38 lines 0 comments Download
M ssh/test/keys_test.go View 1 4 chunks +3 lines, -3 lines 0 comments Download
M ssh/test/test_unix_test.go View 1 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 16
hanwen-google
Hello agl@golang.org, jpsugar@google.com (cc: golang-dev@googlegroups.com, jmpittman@google.com), I'd like you to review this change to https://code.google.com/p/go.crypto
10 years, 7 months ago (2013-09-10 11:11:53 UTC) #1
hanwen-google
Hi, I think this is a big improvement, but some caveats: * this will affect ...
10 years, 7 months ago (2013-09-10 11:16:10 UTC) #2
hanwen-google
Also, I just noticed that cert based user-auth is untested. Jonathan, could you look into ...
10 years, 7 months ago (2013-09-10 11:28:55 UTC) #3
jmpittman
I have not fully looked over this, but I wanted to comment on your ClientKeyRing ...
10 years, 7 months ago (2013-09-10 16:08:16 UTC) #4
hanwen-google
On Tue, Sep 10, 2013 at 6:08 PM, <jmpittman@google.com> wrote: > I have not fully ...
10 years, 7 months ago (2013-09-10 16:28:28 UTC) #5
jpsugar
Despite my nitpicks, this looks really good -- it's a fantastic improvement to the API ...
10 years, 7 months ago (2013-09-10 16:45:05 UTC) #6
jmpittman
On 2013/09/10 16:28:28, hanwen-google wrote: > On Tue, Sep 10, 2013 at 6:08 PM, <mailto:jmpittman@google.com> ...
10 years, 7 months ago (2013-09-10 16:58:58 UTC) #7
hanwen-google
On Tue, Sep 10, 2013 at 6:58 PM, <jmpittman@google.com> wrote: > On 2013/09/10 16:28:28, hanwen-google ...
10 years, 7 months ago (2013-09-10 17:08:00 UTC) #8
hanwen-google
https://codereview.appspot.com/13642043/diff/1002/ssh/client.go File ssh/client.go (left): https://codereview.appspot.com/13642043/diff/1002/ssh/client.go#oldcode367 ssh/client.go:367: On 2013/09/10 16:45:05, jpsugar wrote: > Random blank line ...
10 years, 7 months ago (2013-09-10 17:14:40 UTC) #9
jpsugar
https://codereview.appspot.com/13642043/diff/1002/ssh/keys.go File ssh/keys.go (right): https://codereview.appspot.com/13642043/diff/1002/ssh/keys.go#newcode198 ssh/keys.go:198: Name() string On 2013/09/10 17:14:40, hanwen-google wrote: > I ...
10 years, 7 months ago (2013-09-10 17:16:31 UTC) #10
hanwen-google
On Tue, Sep 10, 2013 at 7:16 PM, <jpsugar@google.com> wrote: > > https://codereview.appspot.com/13642043/diff/1002/ssh/keys.go > File ...
10 years, 7 months ago (2013-09-10 17:40:26 UTC) #11
jpsugar
LGTM https://codereview.appspot.com/13642043/diff/26001/ssh/client_auth.go File ssh/client_auth.go (right): https://codereview.appspot.com/13642043/diff/26001/ssh/client_auth.go#newcode227 ssh/client_auth.go:227: s := serializeSignature(key.PrivateKeyAlgo(), sign) Is this a bug ...
10 years, 7 months ago (2013-09-10 18:07:39 UTC) #12
hanwen-google
also added keys_test.go. Adam, any comments? https://codereview.appspot.com/13642043/diff/26001/ssh/client_auth.go File ssh/client_auth.go (right): https://codereview.appspot.com/13642043/diff/26001/ssh/client_auth.go#newcode227 ssh/client_auth.go:227: s := serializeSignature(key.PrivateKeyAlgo(), ...
10 years, 7 months ago (2013-09-11 11:11:44 UTC) #13
agl1
LGTM Changing the public API is acceptable for a good reason, and this seems like ...
10 years, 7 months ago (2013-09-13 18:24:11 UTC) #14
agl1
*** Submitted as https://code.google.com/p/go/source/detail?r=84f83fa76088&repo=crypto *** go.crypto/ssh: introduce PublicKey interface type. Public functions affected: -AgentKey.Key -AgentClient.SignRequest ...
10 years, 7 months ago (2013-09-13 18:25:29 UTC) #15
hanwen-google
10 years, 7 months ago (2013-09-16 12:18:51 UTC) #16
*** Abandoned ***
Sign in to reply to this message.

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