PhilippC / keepass2android

Password manager app for Android
https://play.google.com/store/apps/details?id=keepass2android.keepass2android
GNU General Public License v3.0
4.57k stars 376 forks source link

[BUG] Error Initializing Biometric Unlock #2615

Open FrowieD opened 1 week ago

FrowieD commented 1 week ago

Checks

Describe the bug you encountered:

Encountered error on trying to use fingerprint to open file. New phone (Pixel 8). Transfered apps. Copied kdbx. Opened with password. Opted for fingerprint opening. Got error (see below) fingerprint works with all other apps.

Describe what you expected to happen:

Tried to open with fingerprint. Got error: Biometric unlock Error initializing Fingerprint Unlock: System.Exception: Failed to init cipher for fingerprint Init: key is null at keepass 2android.BiometricDecryp tion.Init [Ox00080] in <dabeaecbf9c 0465bb1 ce8a7bcc561 766>:0 at keepass2android. QuickUnlock.I nitFingerprintUnlock (0 [Ox000fa] in <dabeaecbf9c0465bb1 ce8a 7bcc5617 66>:0

What version of Keepass2Android are you using?

1.10-pre

Which version of Android are you on?

14

mankut80 commented 1 week ago

I can confirm this behaviour. Same situation with my phone. Pixel 7a, Android 15 Beta

CDann3r commented 2 days ago

Can confirm this also on Pixel 8 and Android 14. Would be nice to have this fixed because the Biometric quick unlock is a very convenient feature.

vinzenzbandi commented 1 day ago

I can confirm the same issue on the Google Pixel 8a. version 1.10 pre Android 14 It works fine on my Google Pixel 4a (same version but on Android 13)

mankut80 commented 1 day ago

Maybe I found a solution: In the event that the error occurred after an Android update or when switching to a new phone: In the app go to "Settings" - "Database" and deactivate the login via biometrics. Close the app, open it again and reactivate biometrics. Voila :-). At least that worked for me

Spiralpine commented 1 day ago

Maybe I found a solution: In the event that the error occurred after an Android update or when switching to a new phone: In the app go to "Settings" - "Database" and deactivate the login via biometrics. Close the app, open it again and reactivate biometrics. Voila :-). At least that worked for me

Yep. That's what I always do in the same situation.

vinzenzbandi commented 1 day ago

Maybe I found a solution: In the event that the error occurred after an Android update or when switching to a new phone: In the app go to "Settings" - "Database" and deactivate the login via biometrics. Close the app, open it again and reactivate biometrics. Voila :-). At least that worked for me

This worked for me as well. Thanks. :D