ssh: return partial success immediately from publickey auth Change publicKeyCallback to return authPartialSuccess to the caller immediately when a signer receives partial success, instead of continuing to try remaining signers internally. The caller (clientAuthenticate) already handles authPartialSuccess by not adding the method to "tried", so findNext can re-select publickey on the next iteration. When it does, all signers are tried again from the beginning. Change-Id: Icc87721aa56ef59a357e409aa046640a27e5fc46 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/757900 Reviewed-by: Filippo Valsorda <filippo@golang.org> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This repository holds supplementary Go cryptography packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/crypto.
The main issue tracker for the crypto repository is located at https://go.dev/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.