titanium-identity icon indicating copy to clipboard operation
titanium-identity copied to clipboard

Errors with consecutive wrong fingerprints

Open albert0m opened this issue 5 years ago • 1 comments

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 avatar Jan 19 '20 23:01 albert0m

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}

albert0m avatar Jan 20 '20 07:01 albert0m