Han-Wen Nienhuys
4e213c0672
x/crypto/ssh: close memPipe after running kex test.
...
Change-Id: I6022d669946a7cb3403757a7c0dbf21a474e1c95
Reviewed-on: https://go-review.googlesource.com/13590
Reviewed-by: Adam Langley <agl@golang.org >
2015-08-17 22:17:06 +00:00
Adam Langley
fa50e7408b
go.crypto/ssh: import gosshnew.
...
See https://groups.google.com/d/msg/Golang-nuts/AoVxQ4bB5XQ/i8kpMxdbVlEJ
R=hanwen
CC=golang-codereviews
https://golang.org/cl/86190043
2014-04-09 13:57:52 -07:00
Han-Wen Nienhuys
7dc9a79b3e
go.crypto/ssh: implement memTransport using sync.Cond.
...
This makes memTransport safe for use with multiple
writers/closers.
R=golang-dev, dave
CC=agl, golang-dev
https://golang.org/cl/14532048
2013-10-13 08:34:25 +11:00
Han-Wen Nienhuys
73e99326fb
go.crypto/ssh: separate kex algorithms into kexAlgorithm class.
...
Adds readPacket() to conn, and renames conn to packetConn.
Key exchanges operate on packetConn, so they can be
unittested.
R=agl, jpsugar, dave
CC=golang-dev
https://golang.org/cl/13352055
2013-09-24 12:26:29 -04:00
Alex Brainman
665213f561
go.crypto/ssh: use 127.0.0.1 during TestKexAlgorithms (fixes windows build)
...
R=golang-dev, mikioh.mikioh, remyoudompheng
CC=golang-dev
https://golang.org/cl/13370043
2013-08-29 12:57:42 +10:00
Han-Wen Nienhuys
d7d50b0a7c
go.crypto/ssh: implement ECDH.
...
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 golang/go#6158 .
R=dave, agl
CC=golang-dev
https://golang.org/cl/13021045
2013-08-28 10:50:25 -04:00