-
-
Notifications
You must be signed in to change notification settings - Fork 26
Flipper Authenticator generates invalid codes, why so?
There are multiple reasons why Flipper Authenticator generates invalid codes:
Flipper Zero clock has known clock drift problem. So there is a chance that clock on your flipper device is just not precise and you just need to sync them by using desktop\mobile qFlipper application.
Because of Flipper Zero API doesn't provide an access to timezone offset it is necessary to set it manually for correct TOTP tokens generation. You may find your timezone offset (or another name is "UTC offset") here, here, here or on any other website found in google. Then set it in setting menu of Flipper Authenticator or using CLI command totp tz
or put straight into conf file.
Important
Remember that if you are setting timezone via CLI or manually in conf file timezone must be provided in hours. Example: if your timezone is UTC+5:30
means 5
hours and 30
minutes you should provide it as 5.50
(5 hours + 0.5 hour (30 minutes)
) and not 5.30
or so. You must also account for changes in daylight savings time manually.
Sometimes it is possible that you just made a mistake while typing or copying token secret. Some providers (ex. Amazon) shows token secrets as a grouped string (ex. XXXX ZZZZ YYYY NNNN MMMM
), it is fine to use such a string if you are entering token secret manually or using CLI, however it is not allowed to use such a string to copy&paste it straight to a config file. In such a scenario you need to drop all the whitespaces from your token secret before putting it into config file.
In majority of situations using default hashing algorithm SHA1
should work just fine. But for some rare providers it might be necessary to use SHA256
or SHA512
as a hashing alogorithm.
- Home
- First steps
-
FAQ
- How does it work?
- Is it secure?
- How to get it?
- How to build it?
- Where is config file?
- What is token secret and where to get it?
- Is there a CLI?
- Is there a token input automation?
- How to add new token?
- Does it support Steam-style tokens?
- How to change\recover PIN?
- How to backup?
- How to reset application?
- Flipper Authenticator generates invalid codes, why so?
- How to migrate from another authenticator app?
- TOTP codes became invalid after daylight saving time switch, why?
- Is it possible to connect "Flipper Authenticator" and "Bluetooth Remote" apps to the same device via Bluetooth?
- What does "API version mismatch" error mean?
- Does it support AZERTY\QWERTZ keyboard layout?
- Is there a companion app for desktop?
- Is it possible to migrate to another authenticator app?
- How PIN is stored?