]> Cypherpunks repositories - gostls13.git/commit
exp/ssh: add client side support for publickey auth
authorDave Cheney <dave@cheney.net>
Sun, 13 Nov 2011 19:48:22 +0000 (14:48 -0500)
committerAdam Langley <agl@golang.org>
Sun, 13 Nov 2011 19:48:22 +0000 (14:48 -0500)
commit3ee171d174e401950d2d508583d090ee1a79e884
treeeb66f2dd39358d1eb3dd4cba1e34efc6d917a7ac
parent90ec203318a167505ae1038bdcdc7d2ce664a1eb
exp/ssh: add client side support for publickey auth

client.go/client_auth.go:
* add support for publickey key auth using the interface
  outlined by rsc in the previous auth CL

client_auth_test.go:
* password and publickey tests against server.go

common.go/server.go:
* move some helper methods from server.go into common.go
* generalise serializeRSASignature

R=rsc, agl, huin
CC=cw, golang-dev, n13m3y3r
https://golang.org/cl/5373055
src/pkg/exp/ssh/client.go
src/pkg/exp/ssh/client_auth.go
src/pkg/exp/ssh/client_auth_test.go [new file with mode: 0644]
src/pkg/exp/ssh/common.go
src/pkg/exp/ssh/server.go