KeePassDX icon indicating copy to clipboard operation
KeePassDX copied to clipboard

Please change the way fingerprints work

Open RenatoLopes771 opened this issue 7 years ago • 6 comments

I tend to only use fingerprint to log in, generally forgetting the passwords that I put (because thats the whole point of password generators anyway).

So recently I came kn with a flaw with this system: I accidentally typed on the password field and put my fingerprint and... lost all my acess to that database because I store that wrong password. Now I gotta reset all my passwords.

Here are a few suggestions:

  • Make it so I can store a fingerprint as a password, like normal passwords and keys
  • Make so a fingerprint is only stored IF the password is correct

I think those will solve the issue to those who are more fortunate than me.

RenatoLopes771 avatar Sep 04 '19 15:09 RenatoLopes771

The master password should not be forgotten, the fingerprint simply allows to go faster but uses the master password internally. I am implementing the new version of the Biometric API in develop branch and it requires a new workflow, you will not be able to accidentally scan a fingerprint. I will try to improve the code to save the values in the keystore only if the database opens after the scan.

J-Jamet avatar Sep 04 '19 17:09 J-Jamet

In Version 2.5.0 beta 22 (installed from the Play Store, running on a Galaxy S10 ) the behavior of the fingerprint registration interface is problematic. When creating a new database and assigning a password to it any click on the password checkbox or in the password text field causes the fingerprint registration modal to pop up.

In addition to that, when unlocking the new database for the first time the authentication screen also displays a message stating that the database does not yet have a password even though one has been registered.

I'm including this here because it seems closely related to the issue @underlineGalaxy experienced. However, given that this issue is already in review this may be more appropriately moved into an issue of its own.

Creating the new db:

Screenshot_20190905-221012_KeePass DX

First accessing of the new db:

Screenshot_20190905-221103_KeePass DX

Note that in this screenshot only a single character has been entered (circled in yellow) into the password field when unlocking the newly createdddb for the first time yet the prompt to register a fingerprint has already appeared.

Screenshot_20190905-221154_KeePass DX

ebenwight avatar Sep 06 '19 05:09 ebenwight

I completely redid the fingerprint system, it should now work with the S10 +, tell me if it's ok with the version 2.5.0.0beta23?

J-Jamet avatar Sep 14 '19 10:09 J-Jamet

~~Shall I reply directly (email) or on the issue itself?~~
Nevermind , email replies generate their own comments apparently.

Re:expected app performance: I am happy to say that with the beta23 release the biometrics registration and unlock functionality works as expected.

I only tested with password as the master key for the did not use keyfile, but fingerprints were registered by typing in the correct password and then hitting the option to register one. An uncircumcised password generates an appropriate error message, and no password entered disables the button to register a fingerprint.

I'd say that meets my definition of fixed.

ebenwight avatar Sep 15 '19 03:09 ebenwight

@ebenwight but does it still register the fingerprint if I type the wrong password?

RenatoLopes771 avatar Sep 15 '19 19:09 RenatoLopes771

No ;)

J-Jamet avatar Sep 16 '19 14:09 J-Jamet