You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to verify an attestation, with the server library, using a credential having a public key using OKP, verifyOKP function crash with following error:
The text was updated successfully, but these errors were encountered:
Julien-Pires
changed the title
Verifying a public key using OKP make the server package to crash
Verifying attestation with a public key using OKP make the server package to crash
May 22, 2025
Hello @Julien-Pires can you please provide a registration response that causes the problem? Ideally as a sample of how you're calling the registration verification method.
Describe the issue
When trying to verify an attestation, with the server library, using a credential having a public key using OKP,
verifyOKP
function crash with following error:When reviewing the file
verifyOKP.js
, the error come from this linex: isoBase64URL.fromBuffer(x)
.The issue is that the import path is not correct and is going one folder up too far.
Current import:
import { isoBase64URL } from '../../index.js';
Correct import:
import { isoBase64URL } from '../index.js';
.Reproduction Steps
simplewebauthn/server
Expected behavior
Attestation verification succeed
SimpleWebAuthn Libraries
@simplewebauthn/[email protected]
The text was updated successfully, but these errors were encountered: