Kunzisoft / KeePassDX

Lightweight vault and password manager for Android, KeePassDX allows editing encrypted data in a single file in KeePass format and fill in the forms in a secure way.
https://www.keepassdx.com/
GNU General Public License v3.0
4.27k stars 261 forks source link

The database does not open if the fingerprint is scanned very quickly #1129

Open J-Jamet opened 2 years ago

J-Jamet commented 2 years ago

The database does not open if the fingerprint is scanned very quickly (when the setting of the biometric prompt is activated)

Maybe the problem comes from the Keystore which does not initialize at the same speed as the biometric prompt. We'll have to debug to find out exactly where the problem comes from.

J-Jamet commented 2 years ago

I don't know where the problem comes from, the google API methods for displaying the prompt are not asynchronous, so I haven't found a clean method to solve this problem.

https://github.com/Kunzisoft/KeePassDX/blob/7750843b04ce107bc33c140411a9c8b503ebbada/app/src/main/java/com/kunzisoft/keepass/biometric/AdvancedUnlockManager.kt#L308