lib/key_master.rb in cocoapods-keys-1.6.1 vs lib/key_master.rb in cocoapods-keys-1.7.0

- old
+ new

@@ -26,11 +26,10 @@ # guard method; raises error if something in application keychain # is nil. provides for better error message. verify_keychain_integrity # Generate a base64 hash string that is ~25 times the length of all keys - - @data_length = @keys.values.map(&:length).reduce(:+) * (20 + rand(10)) + @data_length = @keys.values.map(&:length).reduce(0, :+) * (20 + rand(10)) data = SecureRandom.base64(@data_length) data += '\\"' @data_length = data.length # Swap the characters within the hashed string with the characters from