From eb61739cd99fb244c7cd188d3c5bae54824e781d Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Tue, 18 Jul 2023 19:01:21 +0200 Subject: ssh: allow to configure public key auth algorithms on the server side Fixes golang/go#61244 Change-Id: I29b43e379cf0cdb07b0d6935666491b997157e73 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/510775 TryBot-Result: Gopher Robot Reviewed-by: Bryan Mills Commit-Queue: Nicola Murino Run-TryBot: Nicola Murino Auto-Submit: Nicola Murino Reviewed-by: Han-Wen Nienhuys --- ssh/common.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'ssh/common.go') 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 { -- cgit v1.3