|author||Julian Kornberger <email@example.com>||Mon Jun 22 20:02:02 2020 +0000|
|committer||Han-Wen Nienhuys <firstname.lastname@example.org>||Mon Jun 22 21:36:23 2020 +0000|
ssh: Make error message deterministic By using a slice instead of a map for tried authentication methods the order is always the same. Small slices are also faster than maps. Before the change sometimes I get the error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain and sometimes: ssh: handshake failed: ssh: unable to authenticate, attempted methods [publickey none], no supported methods remain Change-Id: I06507d57e9eef497ff05bce088d52607e69dde3e GitHub-Last-Rev: 3a46aae4c6e3e5f52ca4b04384b3cc4efc039aa6 GitHub-Pull-Request: golang/crypto#142 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/239171 Reviewed-by: Han-Wen Nienhuys <email@example.com> Run-TryBot: Han-Wen Nienhuys <firstname.lastname@example.org> TryBot-Result: Gobot Gobot <email@example.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
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.