pquerna / otp

TOTP library for Go
Apache License 2.0
2.26k stars 222 forks source link

Invalid codes (example) #70

Closed Andudududu closed 2 years ago

Andudududu commented 2 years ago

Hello,

I am encountering a issue which was first flagged by another user last year. The example file runs fine, but the codes generated by the apps are all invalid when verified. However, this does not happen on every system I tested - three of our laptops have this issue, while a fourth runs the example and the codes are validated correctly. This is a really weird issue, and we are seeing it with some of the other Golang OTP, so it might be related to the OTP generation / validation process itself or to the system date/time.

Andudududu commented 2 years ago

Found the issue - time drift on our systems / cluster