# File lib/rhc/rest/key.rb, line 33 def fingerprint begin public_key = Net::SSH::KeyFactory.load_data_public_key("#{type} #{content}") public_key.fingerprint rescue NotImplementedError, OpenSSL::PKey::PKeyError => e 'Invalid key' end end