lib/lastpass/blob.rb in lastpass-1.5.0 vs lib/lastpass/blob.rb in lastpass-1.6.0

- old
+ new

@@ -2,14 +2,16 @@ # Licensed under the terms of the MIT license. See LICENCE for details. module LastPass class Blob attr_reader :bytes, - :key_iteration_count + :key_iteration_count, + :encrypted_private_key - def initialize bytes, key_iteration_count + def initialize bytes, key_iteration_count, encrypted_private_key @bytes = bytes @key_iteration_count = key_iteration_count + @encrypted_private_key = encrypted_private_key end def encryption_key username, password Fetcher.make_key username, password, key_iteration_count end