ios-application icon indicating copy to clipboard operation
ios-application copied to clipboard

TOTP over 30 seconds leads to invalid code

Open julianspuffer opened this issue 11 months ago • 0 comments

Describe the bug Default TOTP is 30 seconds. I've tried 2 higher time limits, 45 and 60 seconds. They haven't worked when both setting up 2fa and logging in (until I set TOTP back down to 30 sec).

To Reproduce Steps to reproduce the behavior:

  1. When connecting a new online account to raivo, set the time limit to something more than 30 seconds (45, 60 are the ones I've tested)
  2. Try to log into whatever account was connected, and use the raivo OTP with plenty of time left
  3. OTP doens't work at works at first during the initial raivo-to-account connection
  4. Edit otp, bump TOTP down to the default 30 sec
  5. Try again, and this time the online account is properly connected to raivo
  6. But then try again to bump the TOTP up
  7. Then try to log into that online account, and thats also where the 6 digit code is deemed invalid by the account OTP form

Expected behavior OTP should be valid due to plenty of time being left

Screenshots N/A

Smartphone (please complete the following information):

  • Device: iPhone 13 mini
  • OS: iOS 17.0 public beta 3
  • Version 1.4.21

Additional context N/A

julianspuffer avatar Aug 18 '23 05:08 julianspuffer