1
0
mirror of https://github.com/golang/go synced 2024-10-04 20:21:22 -06:00
go/src/pkg
Gustav Paul bd9dc3d55f exp/ssh: allow for msgUserAuthBanner during authentication
The SSH spec allows for the server to send a banner message to the client at any point during the authentication process. Currently the ssh client auth types all assume that the first response from the server after issuing a userAuthRequestMsg will be one of a couple of possible authentication success/failure messages. This means that client authentication breaks if the ssh server being connected to has a banner message configured.

This changeset refactors the noneAuth, passwordAuth and publickeyAuth types' auth() function and allows for msgUserAuthBanner during authentication.

R=golang-dev, rsc, dave, agl
CC=golang-dev
https://golang.org/cl/5432065
2011-12-02 10:34:42 -05:00
..
archive gofmt: applied gofmt -w -s src misc 2011-12-01 14:33:24 -08:00
bufio various: reduce overuse of os.EINVAL + others 2011-11-13 22:42:42 -05:00
builtin builtin: document delete 2011-11-09 10:49:41 -08:00
bytes bytes: fix test output 2011-11-28 09:50:51 -08:00
compress use new time API 2011-11-30 12:01:46 -05:00
container container/heap: document what Push and Pop do 2011-11-03 15:30:57 -04:00
crypto crypto/tls: cleanup certificate load on windows 2011-12-01 12:38:00 -05:00
debug all: sort imports 2011-11-02 15:54:16 -04:00
encoding asn1: fix incorrect prints found by govet 2011-12-02 10:13:02 -05:00
errors errors: new package 2011-11-01 21:46:59 -04:00
exp exp/ssh: allow for msgUserAuthBanner during authentication 2011-12-02 10:34:42 -05:00
expvar renaming_2: gofix -r go1pkgrename src/pkg/[a-l]* 2011-11-08 15:40:58 -08:00
flag src/pkg/[a-m]*: gofix -r error -force=error 2011-11-01 22:04:37 -04:00
fmt fmt: don't check for nil when printing arrays as Go syntax. 2011-11-23 09:04:02 -08:00
go go/doc: exclude lines ending in ':' from possible headings 2011-12-01 15:14:15 -08:00
hash Add a []byte argument to hash.Hash to allow an allocation to be saved. 2011-12-01 12:35:37 -05:00
html html: allow whitespace between head and body 2011-12-02 11:46:24 +11:00
image various: reduce overuse of os.EINVAL + others 2011-11-13 22:42:42 -05:00
index/suffixarray renaming_2: gofix -r go1pkgrename src/pkg/[a-l]* 2011-11-08 15:40:58 -08:00
io Add a []byte argument to hash.Hash to allow an allocation to be saved. 2011-12-01 12:35:37 -05:00
log use new time API 2011-11-30 12:01:46 -05:00
math math: faster Sincos 2011-11-30 15:11:44 -05:00
mime mime: remove ".wav" from tests (to fix build) 2011-11-18 13:24:17 +11:00
net net, syscall: remove BindToDevice API from UDPConn, IPConn 2011-12-02 23:18:16 +09:00
old use new time API 2011-11-30 12:01:46 -05:00
os os/exec: make LookPath always search the current directory under Windows. 2011-12-02 14:29:24 +11:00
patch Add a []byte argument to hash.Hash to allow an allocation to be saved. 2011-12-01 12:35:37 -05:00
path os: new FileInfo, FileMode types + update tree 2011-11-30 12:04:16 -05:00
reflect reflect: make Value an opaque struct 2011-11-16 19:18:25 -05:00
regexp regexp: fix doc comment 2011-11-09 13:46:54 -05:00
runtime time: new Time, Duration, ZoneInfo types 2011-11-30 11:59:44 -05:00
sort renaming_3: gofix -r go1pkgrename src/pkg/[m-z]* 2011-11-08 15:41:54 -08:00
strconv strconv: make Ftoa faster 2011-11-15 12:17:25 -05:00
strings strings: fix test output 2011-11-28 09:51:03 -08:00
sync allow copy of struct containing unexported fields 2011-11-15 12:20:59 -05:00
syscall net, syscall: remove BindToDevice API from UDPConn, IPConn 2011-12-02 23:18:16 +09:00
testing use new time API 2011-11-30 12:01:46 -05:00
text template: move the empty check into parse, which needs it when constructing 2011-12-01 17:24:54 -08:00
time time: update doc string for Error method 2011-12-01 11:44:17 -08:00
unicode renaming_3: gofix -r go1pkgrename src/pkg/[m-z]* 2011-11-08 15:41:54 -08:00
unsafe unsafe: update doc 2011-08-31 17:59:35 -04:00
websocket Add a []byte argument to hash.Hash to allow an allocation to be saved. 2011-12-01 12:35:37 -05:00
deps.bash renaming_1: hand-edited files for go 1 renaming 2011-11-08 15:38:47 -08:00
Makefile html/template: update to new template API 2011-11-30 17:42:18 -05:00