Files
crypto/ssh
Sami Pönkänen 9334d73e5f ssh: fix support for partial success authentication responses in client
The existing client side authentication does not handle correctly
the partial success flag in SSH_MSG_USERAUTH_FAILURE authentication
responses.

This commit fixes two problems in ssh library:
1) RetryableAuthMethod() now breaks out from the retry loop and
   returns  when underlying auth method fails with partial success
   set to true.
2) Book keeping of tried (and failed) auth methods in
   clientAuthenticate() does not mark an auth method failed if it
   fails with partial success set to true.

Fixes golang/go#23461

Change-Id: Ib2e1a1d54bfe2549496199bb2f66ebbce58d130d
Reviewed-on: https://go-review.googlesource.com/88035
Reviewed-by: Han-Wen Nienhuys <hanwen@google.com>
Run-TryBot: Han-Wen Nienhuys <hanwen@google.com>
2018-02-08 15:07:01 +00:00
..
2017-12-18 18:48:59 +00:00
2014-04-09 13:57:52 -07:00
2017-12-18 18:48:59 +00:00
2018-01-22 08:55:56 +00:00
2017-11-13 21:34:09 +00:00
2017-11-13 21:34:09 +00:00
2017-11-28 17:48:09 +00:00
2017-11-28 17:48:09 +00:00
2017-12-18 18:48:59 +00:00
2017-11-28 19:40:09 +00:00
2014-04-09 13:57:52 -07:00
2016-07-06 16:40:51 +00:00