We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df78a93 commit 6edcd13Copy full SHA for 6edcd13
1 file changed
app/models/metasploit/credential/ssh_key.rb
@@ -69,7 +69,7 @@ def private?
69
#
70
# @return [String]
71
def to_s
72
- data ? openssl_pkey_pkey.fingerprint : ''
+ data ? openssl_pkey_pkey.public_key.fingerprint : 'No fingerprint available'
73
end
74
75
private
0 commit comments