Skip to content

Commit

Permalink
perf: add not security KexAlgos and MACs
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeEirc committed Dec 18, 2024
1 parent 4919ded commit 865735d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/sshd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ const (

var (
supportedMACs = []string{"[email protected]",
"hmac-sha2-256", "hmac-sha1"}
"[email protected]",
"hmac-sha2-256", "hmac-sha1", "hmac-sha1-96"}

supportedKexAlgos = []string{
"curve25519-sha256", "[email protected]",
"ecdh-sha2-nistp256", "ecdh-sha2-nistp384", "ecdh-sha2-nistp521",
"diffie-hellman-group14-sha256", "diffie-hellman-group14-sha1",
"diffie-hellman-group1-sha1",
}
)

Expand Down

0 comments on commit 865735d

Please sign in to comment.