-
Notifications
You must be signed in to change notification settings - Fork 235
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
Error: Error creating signature #181
Comments
@camboYY If you'd be more specific with the reproduction steps. The Android source code in @Override
public void onAuthenticationSucceeded(@NonNull BiometricPrompt.AuthenticationResult result) {
super.onAuthenticationSucceeded(result);
try {
...
} catch (Exception e) {
promise.reject("Error creating signature: " + e.getMessage(), "Error creating signature");
}
} When I log this error, it says: |
@jayfunk we also see this problem using version 2.2.0 using the following scenario:
Using the device pin code, you will receive Can you check this please? Thanks! |
@sandergo90 Curious if there was further solution that helped you resolve this? We have the same issue using device credentials, so really curious, thank you! |
At the moment the fix from my comment did the trick. But still waiting for an explanation for it or a proper solution. |
I have been able to recreate this issue but only on Android 31. Anything below 31 seems to work fine with the pin. @sandergo90 What duration did you set |
I found a solution for the authentication error, but I ran into another issue where I was unable to verify the signed content with the new solution. Maybe someone can take a look at the PR #225 and see what I might have done that caused this regression. |
Hello guys, |
@Theokalo were you able to resolve the issue? |
Hello guys, |
Hi @sandergo90 |
You can follow this comment #253 (comment) |
useBiometrics.ts:89 signature error: Error: Error creating signature
at Object.promiseMethodWrapper [as createSignature] (NativeModules.js:103)
at Object.createSignature (index.js:68)
at _callee4$ (VM6 useBiometrics.bundle:237)
at tryCatch (runtime.js:63)
at Generator.invoke [as _invoke] (runtime.js:293)
at Generator.next (runtime.js:118)
at tryCatch (runtime.js:63)
at invoke (runtime.js:154)
at runtime.js:189
at tryCallTwo (core.js:45)
The text was updated successfully, but these errors were encountered: