-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
Verification error: Invalid key for curve: "Public key is not a point" #292
Comments
In my case
|
Hello @KuznetsovNikita, can you please include how you're calling |
I'm use it in this way:
I didn't serialize/deserialize I guess the issue is that I try to run this function in a browser context. I try to run in the chrome extension background service worker, and the context for this environment is close to the browser instead node. Do you know if it possible to verify authentication in the browser? |
I found a lot of discussions in |
Thank you for looking around, I'm glad to see you were able to find previous discussions around this. Your story is yet another point convincing me to try for a "universal" refactor to make SimpleWebAuthn work in more environments than just Node. I'll attempt that as part of addressing #268 |
Hello
I have an issue during verification
verifyAuthenticationResponse
- in the functionconvertPublicKeyToPEM
The issue:
Invalid key for curve: "Public key is not a point"
it's throw by this function
jwkToPem
:The service is running locally
It's happen on macOs Catalina 10.15.7 when I try to verify Touch Id
Server algorithm - p256
Could you please help me?
The text was updated successfully, but these errors were encountered: