summaryrefslogtreecommitdiff
path: root/ext/git/ssh.go
diff options
context:
space:
mode:
authorjannfis <jann@mistrust.net>2024-05-27 19:38:30 +0000
committerjannfis <jann@mistrust.net>2024-05-27 19:40:33 +0000
commit67f3d349f9fb60bb232cf6f0734a090bc48f5a4e (patch)
treef8b3731f82b98982d4f26ee598635d7932efed19 /ext/git/ssh.go
parenteb1d8d30bb22cb82928df64fd5028fa978f8cb5b (diff)
chore(deps): Pull in Git client changes from Argo CD v2.11.2
Signed-off-by: jannfis <jann@mistrust.net>
Diffstat (limited to 'ext/git/ssh.go')
-rw-r--r--ext/git/ssh.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/git/ssh.go b/ext/git/ssh.go
index eb07a05..a1cb337 100644
--- a/ext/git/ssh.go
+++ b/ext/git/ssh.go
@@ -11,14 +11,14 @@ import (
// Unfortunately, crypto/ssh does not offer public constants or list for
// this.
var SupportedSSHKeyExchangeAlgorithms = []string{
- "diffie-hellman-group1-sha1",
- "diffie-hellman-group14-sha1",
+ "curve25519-sha256",
+ "curve25519-sha256@libssh.org",
"ecdh-sha2-nistp256",
"ecdh-sha2-nistp384",
"ecdh-sha2-nistp521",
- "curve25519-sha256@libssh.org",
- "diffie-hellman-group-exchange-sha1",
"diffie-hellman-group-exchange-sha256",
+ "diffie-hellman-group14-sha256",
+ "diffie-hellman-group14-sha1",
}
// List of default key exchange algorithms to use. We use those that are