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

Errors with consecutive wrong fingerprints #45

Open
albert0m opened this issue Jan 19, 2020 · 1 comment
Open

Errors with consecutive wrong fingerprints #45

albert0m opened this issue Jan 19, 2020 · 1 comment

Comments

@albert0m
Copy link

If an user gives several consecutive wrong fingerprints, the module stops reading the fingerprint and the read method gives you straight a success = false.
It looks like the fingerprint breaks system-wide, if you lock your phone and try to unlock it, iOS asks you to insert the code in order to re-enable the Touch ID.

Am I the first one to face this problem?

@albert0m
Copy link
Author

Ok, apparently the system is logging this error:

-[LAClient evaluateACL:operation:options:uiDelegate:reply:]_block_invoke -> (null), Error Domain=com.apple.LocalAuthentication Code=-8 "Biometry is locked out." UserInfo={Subcode=3, NSLocalizedDescription=Biometry is locked out., BiometryType=1} on <private>

I guess this is a policy that locks you out after many attempts. Is it possible to get this specific error? The response from the module is a generic error:

{"success":false,"error":"The keychain item authentication failed (Code: -25293)","code":-25293,"bubbles":true,"type":"read","source":{},"cancelBubble":false}

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

1 participant