ssh: separately count rejected public key queries towards MaxAuthTries Clients offering many keys exhaust MaxAuthTries before reaching the accepted one. As OpenSSH 10.6 does, rejected public key queries now count against MaxAuthTries only after MaxAuthTries of them. Unlike OpenSSH, where this limit is set separately with PubkeyAuthOptions max-pk-ok, it is not configurable and follows MaxAuthTries. Change-Id: I062269b91a74cf221c901ffe5927b76682cb7048 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/854345 Reviewed-by: Filippo Valsorda <filippo@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Junyang Shao <shaojunyang@google.com> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.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.