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

Issue 5342057: code review 5342057: exp/ssh: Add support for (most) of the ciphers from RFC... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 1 month ago by huin-google
Modified:
14 years, 1 month ago
Reviewers:
CC:
dave_cheney.net, agl1, taruti, rsc, r, golang-dev
Visibility:
Public.

Description

exp/ssh: Add support for (most) of the ciphers from RFC4253, RFC4344 and RFC4345.

Patch Set 1 #

Patch Set 2 : diff -r a67f688c043e https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r f863a24df33d https://go.googlecode.com/hg/ #

Total comments: 17

Patch Set 4 : diff -r afa4ccab6746 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r afa4ccab6746 https://go.googlecode.com/hg/ #

Total comments: 28

Patch Set 6 : diff -r 68d902758434 https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r ee3c1e74c961 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 8 : diff -r be4d7ed4ed68 https://go.googlecode.com/hg/ #

Total comments: 8

Patch Set 9 : diff -r da9e7548e6ef https://go.googlecode.com/hg/ #

Total comments: 12

Patch Set 10 : diff -r 4382717b7ffc https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -32 lines) Patch
M src/pkg/exp/ssh/Makefile View 1 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/exp/ssh/cipher.go View 1 2 3 4 5 6 7 8 9 1 chunk +88 lines, -0 lines 0 comments Download
A src/pkg/exp/ssh/cipher_test.go View 1 2 3 4 5 6 7 8 9 1 chunk +62 lines, -0 lines 0 comments Download
M src/pkg/exp/ssh/client.go View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -2 lines 0 comments Download
M src/pkg/exp/ssh/common.go View 1 2 3 4 5 6 3 chunks +14 lines, -2 lines 0 comments Download
M src/pkg/exp/ssh/messages.go View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M src/pkg/exp/ssh/server.go View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -3 lines 0 comments Download
M src/pkg/exp/ssh/transport.go View 1 2 3 4 5 6 7 8 8 chunks +28 lines, -23 lines 0 comments Download

Messages

Total messages: 32
huin-google
Hello golang-dev@googlegroups.com (cc: dave@cheney.net, golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years, 1 month ago (2011-11-09 02:43:08 UTC) #1
huin-google
http://codereview.appspot.com/5342057/diff/4001/src/pkg/Makefile File src/pkg/Makefile (right): http://codereview.appspot.com/5342057/diff/4001/src/pkg/Makefile#newcode89 src/pkg/Makefile:89: exp/ssh\ I'm unsure if I should add this or ...
14 years, 1 month ago (2011-11-09 02:45:06 UTC) #2
dave_cheney.net
This is really nice. Thank you for this. I can't comment on the crypto changes ...
14 years, 1 month ago (2011-11-09 08:52:58 UTC) #3
huin-google
Hello golang-dev@googlegroups.com, dave@cheney.net, agl@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 1 month ago (2011-11-09 12:12:15 UTC) #4
huin-google
http://codereview.appspot.com/5342057/diff/4001/src/pkg/exp/ssh/Makefile File src/pkg/exp/ssh/Makefile (right): http://codereview.appspot.com/5342057/diff/4001/src/pkg/exp/ssh/Makefile#newcode15 src/pkg/exp/ssh/Makefile:15: transport.go\ On 2011/11/09 08:52:58, dfc wrote: > Could you ...
14 years, 1 month ago (2011-11-09 12:12:32 UTC) #5
dave_cheney.net
Re: the default algo list, after I made that comment I went looking and realized ...
14 years, 1 month ago (2011-11-09 12:46:22 UTC) #6
huin-google
http://codereview.appspot.com/5342057/diff/11002/src/pkg/exp/ssh/server.go File src/pkg/exp/ssh/server.go (right): http://codereview.appspot.com/5342057/diff/11002/src/pkg/exp/ssh/server.go#newcode44 src/pkg/exp/ssh/server.go:44: // Cryptographic-related conifguration. TODO: Correct spelling.
14 years, 1 month ago (2011-11-09 13:36:52 UTC) #7
huin-google
http://codereview.appspot.com/5342057/diff/11002/src/pkg/exp/ssh/cipher.go File src/pkg/exp/ssh/cipher.go (right): http://codereview.appspot.com/5342057/diff/11002/src/pkg/exp/ssh/cipher.go#newcode334 src/pkg/exp/ssh/cipher.go:334: "aes128-ctr": &blockCipherFactory{ It turns out that the aes*-ctr ciphers ...
14 years, 1 month ago (2011-11-09 14:32:29 UTC) #8
agl1
My suggestion for this CL is to try and drastically simplify it and make it ...
14 years, 1 month ago (2011-11-09 14:51:08 UTC) #9
huin-google
I've removed 3DES ciphers (as that's well known as broken, pretty much only put it ...
14 years, 1 month ago (2011-11-10 02:04:36 UTC) #10
huin-google
Hello golang-dev@googlegroups.com, dave@cheney.net, agl@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 1 month ago (2011-11-10 02:05:44 UTC) #11
taruti
On Thu, 10 Nov 2011 02:04:37 +0000, huin@google.com wrote: > I've removed 3DES ciphers (as ...
14 years, 1 month ago (2011-11-10 10:06:19 UTC) #12
huin-google
On 2011/11/10 10:06:19, taruti wrote: > On Thu, 10 Nov 2011 02:04:37 +0000, mailto:huin@google.com wrote: ...
14 years, 1 month ago (2011-11-10 13:00:38 UTC) #13
rsc
Please delete twofish and blowfish. The implementations are more than a table item. They introduce ...
14 years, 1 month ago (2011-11-10 15:40:23 UTC) #14
huin-google
Hello golang-dev@googlegroups.com, dave@cheney.net, agl@golang.org, taruti@taruti.net, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 1 month ago (2011-11-14 11:03:00 UTC) #15
huin-google
On 2011/11/14 11:03:00, huin-google wrote: > Hello mailto:golang-dev@googlegroups.com, mailto:dave@cheney.net, mailto:agl@golang.org, > mailto:taruti@taruti.net, mailto:rsc@golang.org (cc: mailto:golang-dev@googlegroups.com), ...
14 years, 1 month ago (2011-11-14 11:06:41 UTC) #16
agl1
This patch still has too much code: the concept of a blocksize appears repeatedly, but ...
14 years, 1 month ago (2011-11-14 17:34:27 UTC) #17
huin-google
On 2011/11/14 17:34:27, agl1 wrote: > This patch still has too much code: the concept ...
14 years, 1 month ago (2011-11-14 17:54:07 UTC) #18
huin-google
Hello golang-dev@googlegroups.com, dave@cheney.net, agl@golang.org, taruti@taruti.net, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 1 month ago (2011-11-15 15:26:41 UTC) #19
rsc
http://codereview.appspot.com/5342057/diff/9022/src/pkg/exp/ssh/cipher.go File src/pkg/exp/ssh/cipher.go (right): http://codereview.appspot.com/5342057/diff/9022/src/pkg/exp/ssh/cipher.go#newcode14 src/pkg/exp/ssh/cipher.go:14: // Used to dump the initial keystream for stream ...
14 years, 1 month ago (2011-11-16 21:53:17 UTC) #20
rsc
Also, is anyone running servers that refuse AES but accept RC4? My understanding was that, ...
14 years, 1 month ago (2011-11-16 21:58:33 UTC) #21
rsc
On Wed, Nov 16, 2011 at 16:58, Russ Cox <rsc@golang.org> wrote: > Also, is anyone ...
14 years, 1 month ago (2011-11-16 21:58:47 UTC) #22
huin-google
Hello dave@cheney.net, agl@golang.org, taruti@taruti.net, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 1 month ago (2011-11-17 10:32:44 UTC) #23
huin-google
On 2011/11/16 21:58:47, rsc wrote: > On Wed, Nov 16, 2011 at 16:58, Russ Cox ...
14 years, 1 month ago (2011-11-17 10:39:48 UTC) #24
huin-google
http://codereview.appspot.com/5342057/diff/9022/src/pkg/exp/ssh/cipher.go File src/pkg/exp/ssh/cipher.go (right): http://codereview.appspot.com/5342057/diff/9022/src/pkg/exp/ssh/cipher.go#newcode14 src/pkg/exp/ssh/cipher.go:14: // Used to dump the initial keystream for stream ...
14 years, 1 month ago (2011-11-17 10:40:11 UTC) #25
rsc
Thanks. I'm much more comfortable with this change now. I'd like Adam to look at ...
14 years, 1 month ago (2011-11-17 21:54:53 UTC) #26
agl1
On Thu, Nov 17, 2011 at 2:09 PM, Russ Cox <rsc@golang.org> wrote: > Thanks. I'm ...
14 years, 1 month ago (2011-11-17 22:10:59 UTC) #27
agl1
LGTM with these small changes. http://codereview.appspot.com/5342057/diff/18001/src/pkg/exp/ssh/cipher.go File src/pkg/exp/ssh/cipher.go (right): http://codereview.appspot.com/5342057/diff/18001/src/pkg/exp/ssh/cipher.go#newcode47 src/pkg/exp/ssh/cipher.go:47: panic(fmt.Sprintf("cipher requires %d bytes ...
14 years, 1 month ago (2011-11-18 16:10:43 UTC) #28
r
http://codereview.appspot.com/5342057/diff/18001/src/pkg/exp/ssh/cipher_test.go File src/pkg/exp/ssh/cipher_test.go (right): http://codereview.appspot.com/5342057/diff/18001/src/pkg/exp/ssh/cipher_test.go#newcode24 src/pkg/exp/ssh/cipher_test.go:24: encryptor, err := cipherMode.createCipher(testKey, testIv) encrypter not encryptor http://codereview.appspot.com/5342057/diff/18001/src/pkg/exp/ssh/cipher_test.go#newcode29 ...
14 years, 1 month ago (2011-11-18 16:25:59 UTC) #29
huin-google
Hello dave@cheney.net, agl@golang.org, taruti@taruti.net, rsc@golang.org, r@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 1 month ago (2011-11-18 16:37:00 UTC) #30
huin-google
http://codereview.appspot.com/5342057/diff/18001/src/pkg/exp/ssh/cipher.go File src/pkg/exp/ssh/cipher.go (right): http://codereview.appspot.com/5342057/diff/18001/src/pkg/exp/ssh/cipher.go#newcode47 src/pkg/exp/ssh/cipher.go:47: panic(fmt.Sprintf("cipher requires %d bytes for key but got %d ...
14 years, 1 month ago (2011-11-18 16:37:31 UTC) #31
agl1
14 years, 1 month ago (2011-11-18 17:57:03 UTC) #32
*** Submitted as http://code.google.com/p/go/source/detail?r=76e734d187df ***

exp/ssh: Add support for (most) of the ciphers from RFC4253, RFC4344 and
RFC4345.

R=dave, agl, taruti, rsc, r
CC=golang-dev
http://codereview.appspot.com/5342057

Committer: Adam Langley <agl@golang.org>
Sign in to reply to this message.

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