pasamio / oathtoken

Automatically exported from code.google.com/p/oathtoken
0 stars 0 forks source link

Incorrect OTP displayed on app restart #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start app and select a time based token
2. Exit app, wait one interval length (30 or 60 seconds)
3. Start app again

What is the expected output?

A new OTP since more than "interval" seconds have passed

What do you see instead?

The same OTP as before.
But as soon as a click on the token name the correct OTP is displayed

What version of the product are you using? On what operating system?

1.0.2, iphone 3gs

Please provide any additional information below.

This might be caused by a missing "[self recalculatePassword];" line in in the  
"viewWillAppear" function in MainViewController.m. Just a guess though...

Original issue reported on code.google.com by jo...@edgewall.com on 5 May 2011 at 1:37

GoogleCodeExporter commented 9 years ago
Yes, bug found. Bug only occurs if the progress bar is further along when you 
restart the app than it was when you stopped it.

Original comment by archie.c...@gmail.com on 5 May 2011 at 2:36

GoogleCodeExporter commented 9 years ago
Fixed in r45.

Original comment by archie.c...@gmail.com on 5 May 2011 at 3:13

GoogleCodeExporter commented 9 years ago
Awesome, thanks for the quick response!

Any ideas on when a fixed version will be available from the appstore?

Original comment by jo...@edgewall.com on 5 May 2011 at 3:25

GoogleCodeExporter commented 9 years ago
Already submitted. Usually takes a few days at least.

Original comment by archie.c...@gmail.com on 5 May 2011 at 4:08