aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-01-19 17:19:37 +0100
committerHans Nilsson <[email protected]>2017-01-31 17:13:55 +0100
commit6847d9223420fb86cdf72f0e608a5f41a2673053 (patch)
treed97d429cf63d46172f7910c4019a8b7ceb43c7b3
parentd08006aaec92873c8cca6b7aeb57dcd2786fa330 (diff)
downloadotp-6847d9223420fb86cdf72f0e608a5f41a2673053.tar.gz
otp-6847d9223420fb86cdf72f0e608a5f41a2673053.tar.bz2
otp-6847d9223420fb86cdf72f0e608a5f41a2673053.zip
ssh: removed 'ssh-dss' from default list
Reason: insecure
-rw-r--r--lib/ssh/src/ssh_transport.erl5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ssh/src/ssh_transport.erl b/lib/ssh/src/ssh_transport.erl
index d172005a85..7a01f9926c 100644
--- a/lib/ssh/src/ssh_transport.erl
+++ b/lib/ssh/src/ssh_transport.erl
@@ -84,6 +84,11 @@ default_algorithms(kex) ->
'diffie-hellman-group1-sha1' % Gone in OpenSSH 7.3.p1
]);
+default_algorithms(public_key) ->
+ supported_algorithms(public_key, [
+ 'ssh-dss' % Gone in OpenSSH 7.3.p1
+ ]);
+
default_algorithms(cipher) ->
supported_algorithms(cipher, same(['AEAD_AES_128_GCM',
'AEAD_AES_256_GCM']));