lib/tfa/totp_command.rb in tfa-0.0.11 vs lib/tfa/totp_command.rb in tfa-0.0.12

- old
+ new

@@ -11,9 +11,11 @@ private def password_for(secret) ::ROTP::TOTP.new(secret).now + rescue ROTP::Base32::Base32Error + "INVALID SECRET" end def all_passwords @storage.each do |hash| hash[hash.keys.first] = password_for(hash[hash.keys.first])