commit | 1e6e3497d506cca640d89d202b2070f00e81b0cb | [log] [tgz] |
---|---|---|
author | Roland Shoemaker <roland@golang.org> | Fri Feb 11 14:29:42 2022 -0800 |
committer | Gopher Robot <gobot@golang.org> | Sun Feb 13 19:09:39 2022 +0000 |
tree | cb7040f4ef2da0de9b50910a4c3f76ccbdb693fa | |
parent | f4118a5b28e206eb1f30037b11ab68a3cd5e6442 [diff] |
crypto/ssh: don't send the last auth failure message if disconnecting If we are going to send the disconnect message and close the connection, because we have exhausted the number of authentication attempts, don't send the final authentication failure message. This behavior matches that of OpenSSH. Fixes golang/go#51149 Change-Id: I43b2de2e854f789161cd7fd6c05876661adfb2c1 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/385236 Trust: Roland Shoemaker <roland@golang.org> Run-TryBot: Roland Shoemaker <roland@golang.org> Auto-Submit: Roland Shoemaker <roland@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
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.