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

ERR_OSSL_UNSUPPORTED on crypto.verify #79

Open
mattjmatthias opened this issue Feb 18, 2024 · 0 comments
Open

ERR_OSSL_UNSUPPORTED on crypto.verify #79

mattjmatthias opened this issue Feb 18, 2024 · 0 comments

Comments

@mattjmatthias
Copy link

Having got this setup and running, I find when the lambda actually runs to verify a passkey, it fails with the error

Error: error:1E08010C:DECODER routines::unsupported
    at Verify.verify (node:internal/crypto/sig:230:24)
    at validateAssertionSignature (file:///var/task/index.mjs:61:22)
    at Runtime.handler (file:///var/task/index.mjs:27:42)
    at Runtime.handleOnceNonStreaming (file:///var/runtime/index.mjs:1173:29) {
  library: 'DECODER routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_UNSUPPORTED'
}

Having looked into other implementations of webauthn, it seems surprising that no consideration of the different algorithms that are used is included in this code demo.

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