lib/slosilo/key.rb in slosilo-2.1.1 vs lib/slosilo/key.rb in slosilo-2.2.1

- old
+ new

@@ -156,10 +156,10 @@ salt = shake_salt key.private_encrypt(hash_function.digest(salt + value)) + salt end def fingerprint - @fingerprint ||= OpenSSL::Digest::MD5.hexdigest key.public_key.to_der + @fingerprint ||= OpenSSL::Digest::SHA256.hexdigest key.public_key.to_der end def == other to_der == other.to_der end