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

Issue 5696065: code review 5696065: go.crypto/ssh: improve support for MAC algorithms (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by dave
Modified:
12 years ago
Reviewers:
CC:
golang-dev, agl1, huin-google
Visibility:
Public.

Description

go.crypto/ssh: improve support for MAC algorithms Also, add support for hmac-sha1. At the suggestion of AGL hmac-md5, and hmac-md5-96 support was not included. Fixes issue 3095.

Patch Set 1 #

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

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

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

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

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

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -46 lines) Patch
M ssh/client.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ssh/client_auth_test.go View 1 1 chunk +21 lines, -0 lines 0 comments Download
M ssh/common.go View 1 2 3 4 4 chunks +10 lines, -2 lines 1 comment Download
A ssh/mac.go View 1 2 3 4 5 1 chunk +58 lines, -0 lines 0 comments Download
M ssh/server.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ssh/transport.go View 1 2 3 chunks +6 lines, -40 lines 0 comments Download

Messages

Total messages: 8
dave_cheney.net
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go.crypto
12 years, 2 months ago (2012-02-25 10:15:04 UTC) #1
agl1
LGTM although, before landing, I'd like to confirm that MD5 is actually seriously useful to ...
12 years, 1 month ago (2012-02-26 21:06:01 UTC) #2
dave_cheney.net
More than happy to drop it. It was added mainly to ensure I properly supported ...
12 years, 1 month ago (2012-02-26 21:56:06 UTC) #3
dave_cheney.net
Hello golang-dev@googlegroups.com, agl@golang.org (cc: golang-dev@googlegroups.com, huin@google.com), Please take another look.
12 years, 1 month ago (2012-02-27 09:47:43 UTC) #4
dave_cheney.net
Thanks for your comments. Patch set 6 removes the previous addition of hmac-md5 variants (their ...
12 years, 1 month ago (2012-02-27 09:48:48 UTC) #5
huin-google
LGTM. Thanks for adding this.
12 years, 1 month ago (2012-02-27 09:52:38 UTC) #6
dave_cheney.net
On 2012/02/27 09:52:38, huin-google wrote: > LGTM. Thanks for adding this. Not a problem, I ...
12 years, 1 month ago (2012-02-27 09:53:07 UTC) #7
agl1
12 years, 1 month ago (2012-02-28 00:41:20 UTC) #8
*** Submitted as
http://code.google.com/p/go/source/detail?r=91ccd0bd392e&repo=crypto ***

go.crypto/ssh: improve support for MAC algorithms

Also, add support for hmac-sha1.

At the suggestion of AGL hmac-md5, and hmac-md5-96
support was not included.

Fixes issue 3095.

R=golang-dev, agl, huin
CC=golang-dev
http://codereview.appspot.com/5696065

Committer: Adam Langley <agl@golang.org>

http://codereview.appspot.com/5696065/diff/3007/ssh/common.go
File ssh/common.go (right):

http://codereview.appspot.com/5696065/diff/3007/ssh/common.go#newcode137
ssh/common.go:137: Macs []string
'MACs' in order to match the rest of the package. Will fix when submitting.
Sign in to reply to this message.

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