diff options
author | elijah <elijah@riseup.net> | 2013-06-21 10:51:35 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-06-21 10:51:35 -0700 |
commit | cae55de7bf25d60f4f504c658b936bbbd94ff464 (patch) | |
tree | c001b86a39d073d425dbd7a2d03ad8e240b07883 /lib/leap_cli/commands | |
parent | 213ba54117c8bc8e09754ca066fc57f6c4a33a8d (diff) |
fix ecdsa ssh key comparison
Diffstat (limited to 'lib/leap_cli/commands')
-rw-r--r-- | lib/leap_cli/commands/node.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/node.rb b/lib/leap_cli/commands/node.rb index 2ced2ee..7a8dc0e 100644 --- a/lib/leap_cli/commands/node.rb +++ b/lib/leap_cli/commands/node.rb @@ -166,7 +166,7 @@ module LeapCli; module Commands public_key = get_public_key_for_ip(address, port) pub_key_path = Path.named_path([:node_ssh_pub_key, node.name]) if Path.exists?(pub_key_path) - if public_key == SshKey.load_from_file(pub_key_path) + if public_key == SshKey.load(pub_key_path) log :trusted, "- Public SSH host key for #{node.name} matches previously saved key", :indent => 1 else bail! do |