diff options
| author | Nicola Murino <nicola.murino@gmail.com> | 2023-07-18 19:01:21 +0200 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-11-08 19:10:19 +0000 |
| commit | eb61739cd99fb244c7cd188d3c5bae54824e781d (patch) | |
| tree | 0e6aa46d6604aba25c8a7e0953423cae584502ea /ssh/common.go | |
| parent | 42c83fffffc70640068263e765db9c9b09cd2ba2 (diff) | |
| download | go-x-crypto-eb61739cd99fb244c7cd188d3c5bae54824e781d.tar.xz | |
ssh: allow to configure public key auth algorithms on the server sidev0.15.0
Fixes golang/go#61244
Change-Id: I29b43e379cf0cdb07b0d6935666491b997157e73
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/510775
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Commit-Queue: Nicola Murino <nicola.murino@gmail.com>
Run-TryBot: Nicola Murino <nicola.murino@gmail.com>
Auto-Submit: Nicola Murino <nicola.murino@gmail.com>
Reviewed-by: Han-Wen Nienhuys <hanwen@google.com>
Diffstat (limited to 'ssh/common.go')
| -rw-r--r-- | ssh/common.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ssh/common.go b/ssh/common.go index b419c76..dd2ab0d 100644 --- a/ssh/common.go +++ b/ssh/common.go @@ -10,7 +10,6 @@ import ( "fmt" "io" "math" - "strings" "sync" _ "crypto/sha1" @@ -140,8 +139,6 @@ var supportedPubKeyAuthAlgos = []string{ KeyAlgoDSA, } -var supportedPubKeyAuthAlgosList = strings.Join(supportedPubKeyAuthAlgos, ",") - // unexpectedMessageError results when the SSH message that we received didn't // match what we wanted. func unexpectedMessageError(expected, got uint8) error { |
