diff options
author | Chris Aumann <me@chr4.org> | 2014-04-17 13:11:33 +0200 |
---|---|---|
committer | Chris Aumann <me@chr4.org> | 2014-04-17 13:22:46 +0200 |
commit | cba8e6cfd0c2c9f849613737d2b40704372b8a2e (patch) | |
tree | b859bef3234a885cfd7197e029fd2a093aa47ba2 | |
parent | 483add718deefe976ca272e168e24185fc93a9b3 (diff) | |
download | net-ssh-cba8e6cfd0c2c9f849613737d2b40704372b8a2e.tar.gz |
Update chipers for known_hosts
Add ciphers recently added to openssh (since openssh-6.4)
-rw-r--r-- | lib/net/ssh/known_hosts.rb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/net/ssh/known_hosts.rb b/lib/net/ssh/known_hosts.rb index f91131e..7ee253a 100644 --- a/lib/net/ssh/known_hosts.rb +++ b/lib/net/ssh/known_hosts.rb @@ -15,9 +15,17 @@ module Net; module SSH SUPPORTED_TYPE = %w(ssh-rsa ssh-dss ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 - ecdsa-sha2-nistp521) + ecdsa-sha2-nistp521 + ssh-ed25519-cert-v01@openssh.com + ssh-rsa-cert-v01@openssh.com + ssh-rsa-cert-v00@openssh.com + ssh-ed25519 + ) else - SUPPORTED_TYPE = %w(ssh-rsa ssh-dss) + SUPPORTED_TYPE = %w(ssh-rsa ssh-dss + ssh-rsa-cert-v01@openssh.com + ssh-rsa-cert-v00@openssh.com + ) end |