Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fingerprint not working on some devices #37

Closed
PhilippC opened this issue Oct 9, 2017 · 14 comments
Closed

Fingerprint not working on some devices #37

PhilippC opened this issue Oct 9, 2017 · 14 comments
Labels

Comments

@PhilippC
Copy link
Owner

PhilippC commented Oct 9, 2017

Fails to init cipher

@PhilippC
Copy link
Owner Author

PhilippC commented Oct 9, 2017

BQ Aquaris X Pro
screenshot_20170907-082911

screenshot_20170907-082922

@PhilippC PhilippC added the bug label Oct 9, 2017
@Airwave1981
Copy link

Hi,

same problem on:
HTC U11

Cheers
Airwave

@thecodemonk
Copy link

Galaxy S8+ here. Fingerprint unlock was throwing this same error. I was going to start digging in the code, but before I did, I started searching for this error and came across a blog post saying that this message can pop up if lock screens are disabled or if fingerprints are added after the master key is created. I'm not an android dev, but I am a dev, so this had me starting to play with things. I first deleted my fingerprints in my phone and readded them. I removed all iris scanning (I was previously using it, but stopped, so I deleted the biometric data). I then opened the app and still had the error. I logged into the database, went to database settings, turned off finger prints then turned it back on. To my surprise, it prompted me to use my fingerprint to verify. Once I did, it is now working! I had a Galaxy S7 previously while using this app and fingerprints were enabled. Could this be a migration from one phone to another issue?

@jeff-schram
Copy link

Per your request, copy/pasted from #98:

At Fingerprint Rotionderdelen.init()[0x000d0]
...
caused by
InvalidKeyException: Only SecretKey is supported

Note that the Nokia 8 integrated the fingerprint sensor in the (capacitive) home button. Placing a finger on the sensor results in returning to the home screen

@maxmax20
Copy link

logcat from #90
logcat.txt

@AlexWayfer
Copy link

From #135, closed as duplicate of this issue:

OnePlus 5, in both stable and beta channels.

Fingerprint doesn't work at all (it's in Home button, and I'm returning to Home by touch it).

The red bang mark near master-password field, by touch on it pop-up with "Fingerprint unlock" title and error stack trace. I can't to screenshot because of it isn't allowed by app. And there is no "send" or "copy" buttons.

Begins with:

Exception of type 'Java.Lang.RuntimeException' was thrown.
  at keepass2android.FingerprintDecryption.Init () [0x00d0] in <aaa7e0749da146d3871f57c8138c11ad>:0
  at keepass2android.PasswordActivity.InitFingerprintUnlock () [0x00089] in <aaa7e0749da146d3871f57c8138c11ad>:0
  --- End of managed Java.LangRuntimeException stack trace ---
java.lang.RuntimeException: Failed to init Cipher
  at md5f0702f468598c68ce18586502249fb40.PasswordActivity.n_onResume(Native Method)
  at md5f0702f468598c68ce18586502249fb40.PasswordActivity.onResume(PasswordActivity.java:103)

I tired to type, sorry. Please, make button for email to developer this stack trace (or at least copy to clipboard).

@poblabs
Copy link

poblabs commented Dec 2, 2017

Just wanted to update that @thecodemonk's suggestion:

I logged into the database, went to database settings, turned off finger prints then turned it back on. To my surprise, it prompted me to use my fingerprint to verify. Once I did, it is now working!

worked for me as well on my Pixel 2 (see #62). The automatic app migration from my old phone to my new phone must have saved some sort of device-specific ID?

Anyways, just wanted to share my experience.

@PhilippC
Copy link
Owner Author

PhilippC commented Dec 2, 2017

thanks for the feedback. I purchased an HTC U11 device hoping I could reproduce the issue (as @Airwave1981 has reported to have the issue there) but was not able to do so. So maybe this really simply means you have to re-enable fingerprint?

@poblabs
Copy link

poblabs commented Dec 2, 2017

Perhaps. I don't know if there's a way to disable the fingerprint option on app migration to a new phone (new hardware ID or something)? That might force us into realizing that we need to re-enable it?

@jeff-schram
Copy link

jeff-schram commented Dec 2, 2017 via email

@frimtec
Copy link

frimtec commented Dec 2, 2017

Same with my pixel 2. Disable fingerprint and re-enable helped.

@AlexWayfer
Copy link

You're geniuses, guys! Thank you! It works for OnePlus 5 (app was restored via Google Sync from Sony Z5 Compact).

@Airwave1981
Copy link

Jipii, yes disable and enable fingerprint again also now worked for me HTCU11!!!

Now everything is fine.

Thanks a lot.

Cheers
Airwave

@Neutral67fr
Copy link

Nice! I had the same issue and I cold fix it with the trick found in this thread :-)
Thanks @thecodemonk

OnePlus 3T Oxygen OS 5.0 (Android 8.0.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants