commit | 9334d73e5f05d728ee11a17c031f7eb9aed2c144 | [log] [tgz] |
---|---|---|
author | Sami Pönkänen <sami.ponkanen@gmail.com> | Wed Jan 17 14:44:42 2018 +0200 |
committer | Han-Wen Nienhuys <hanwen@google.com> | Thu Feb 08 15:07:01 2018 +0000 |
tree | b88e2a9473a22ae20805d650be2d919771c30654 | |
parent | d9133f5469342136e669e85192a26056b587f503 [diff] |
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>
This repository holds supplementary Go cryptography libraries.
The easiest way to install is to run go get -u golang.org/x/crypto/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/crypto
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the crypto repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/crypto:” in the subject line, so it is easy to find.
Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.