Closed kazudotdev closed 10 months ago
I have the same stack trace from a proper app, when logging in with a google keychain passkey. Is this just a dep update? I'm using the latest of simplewebauthn (v8.3.5) on deno
Error: Cannot get schema for 'c' target
at U.get (https://esm.sh/v135/@peculiar/asn1-schema@2.3.6/denonext/asn1-schema.mjs:2:5738)
at Function.fromASN (https://esm.sh/v135/@peculiar/asn1-schema@2.3.6/denonext/asn1-schema.mjs:2:8561)
at Function.parse (https://esm.sh/v135/@peculiar/asn1-schema@2.3.6/denonext/asn1-schema.mjs:2:8469)
at unwrapEC2Signature (https://deno.land/x/simplewebauthn@v8.3.5/packages/server/src/helpers/iso/isoCrypto/unwrapEC2Signature.ts:10:37)
at Module.verify (https://deno.land/x/simplewebauthn@v8.3.5/packages/server/src/helpers/iso/isoCrypto/verify.ts:26:32)
at verifySignature (https://deno.land/x/simplewebauthn@v8.3.5/packages/server/src/helpers/verifySignature.ts:43:15)
at verifyAuthenticationResponse (https://deno.land/x/simplewebauthn@v8.3.5/packages/server/src/authentication/verifyAuthenticationResponse.ts:240:21)
at eventLoopTick (ext:core/01_core.js:178:11)
at async serveLoginRoute (file:///code/danopia/dist-app-deno/webapp/server/serve-login-flow.ts:283:28)
at async Server.<anonymous> (file:///code/danopia/dist-app-deno/webapp/server/main.ts:59:12)
FYI I haven't forgotten about this, it's just the holidays. I'll have some down time next week and plan on addressing this and some issues then ✌️
Thank you for the quick response @MasterKale! Happy holidays
This issue should be resolved in the latest @simplewebauthn/server@8.3.6
. Thank you for your patience 🙇♂️
Describe the issue
verifySignature in server/helers/verifySignature.ts are failed.
Reproduction Steps
Expected behavior
Passed all of tests
Code Samples + WebAuthn Options and Responses
Dependencies
SimpleWebAuthn Libraries
Additional context
I updated version of peculiar library from 2.3.6 to 2.3.8.
Then, all of test passed like below.