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

New_Fingerprints_Enrolled issue :- Failed to init Cipher : invalidKeyException #9

Closed
rakeshpalivela opened this issue Aug 17, 2016 · 2 comments

Comments

@rakeshpalivela
Copy link

Hi,

Issue 1 :
When I add new Finger Prints in my device, then I am getting the following exception.

Failed to init Cipher : invalidKeyException

If I changed my ClientID and Key then it was working fine...

So, can I know what it is doing after adding finger prints ....?

Issue 2 :

If I placed wrong finger, it allows up to five attempts after that I waited for 30 seconds and then I placed my finger but it is not doing any thing. It is again reactivating only after relaunch the popup.

Can you please help me in fixing these two issues.

mjwheatley pushed a commit that referenced this issue Aug 17, 2016
…t cipher because of InvalidKeyException (added new fingerprint) fixing issue #9
@mjwheatley
Copy link
Owner

Issue 1:
This is working as designed. It is a security feature. When a new fingerprint is added, it permanently invalidates the previous key. That way it cannot be used if someone hacked a new fingerprint on the device. I have publish v0.0.11 to create a new key after authenticating with the backup if their was a failure to initialize the cipher because of an InvalidKeyException. So if a new fingerprint is added, the user must validate using the backup before they can continue to use fingerprint validation.

Issue 2:
I am unable to replicate this issue. If I try five times it sends me to the backup validation. I can cancel or validate and continue. Either way I have to wait 30 seconds and I am able to continue to validate with the correct finger or attempt another 5 times with an invalid finger. I was testing using an emulator Nexus 5 API 23 x86. Please check your Logcat to see if there are any messages related to the finger touch not working.

@danicholls
Copy link

How would you handle this if you wanted disableBackup to be true, then?

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

No branches or pull requests

3 participants