freeotp / freeotp-android

Apache License 2.0
1.37k stars 290 forks source link

Cant add token - Lock screen required! #388

Open SimplyM opened 5 months ago

SimplyM commented 5 months ago

First information: Token is unsafe! Second information: Lock screen required!

Tried to add SHA1 TOTP with QR and manual.

Tested on two Samsung phones G20 FE and G22. Phone one: Screen lock settings: Password (Strong), Fingerprint and Face Phone two: Screen lock settings: PIN, Fingerprint and Face Change lock screen to: Password (14 char with CAP, NO and Special) Disable fingerprint and face. Same error.

Im blocked in my work and I don't want to install Google Auth....

Great product.. good work.. only issue I had and used it for years.

joggee-fr commented 1 week ago

Hi @SimplyM, are you sure the secret you use is OK? I had the same issue doing some tests with manually generated QR code using a too short secret. Looking at the code, maybe the caught exception leading to this error message is to be managed a bit differently.