diff options
Diffstat (limited to 'ext/git/ssh.go')
| -rw-r--r-- | ext/git/ssh.go | 8 |
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 |
