summaryrefslogtreecommitdiff
path: root/lib/leap_cli/ssh_key.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-06-21 10:51:35 -0700
committerelijah <elijah@riseup.net>2013-06-21 10:51:35 -0700
commitcae55de7bf25d60f4f504c658b936bbbd94ff464 (patch)
treec001b86a39d073d425dbd7a2d03ad8e240b07883 /lib/leap_cli/ssh_key.rb
parent213ba54117c8bc8e09754ca066fc57f6c4a33a8d (diff)
fix ecdsa ssh key comparison
Diffstat (limited to 'lib/leap_cli/ssh_key.rb')
-rw-r--r--lib/leap_cli/ssh_key.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/leap_cli/ssh_key.rb b/lib/leap_cli/ssh_key.rb
index 4b3c985..a525128 100644
--- a/lib/leap_cli/ssh_key.rb
+++ b/lib/leap_cli/ssh_key.rb
@@ -82,6 +82,7 @@ module LeapCli
def_delegator :@key, :private_encrypt, :private_encrypt
def_delegator :@key, :private_decrypt, :private_decrypt
def_delegator :@key, :params, :params
+ def_delegator :@key, :to_text, :to_text
def public_key
SshKey.new(@key.public_key)