This release marks the return of the library's ability to pass FIDO Conformance 🎉
Adding Ed25519 signature verification (see below) finally allowed the library to pass all required tests, and nearly all optional tests:
Packages:
- @simplewebauthn/browser@6.0.0
- @simplewebauthn/server@6.0.0
- @simplewebauthn/testing@6.0.0
- @simplewebauthn/typescript-types@6.0.0
Changes:
- [server] Signatures can now be verified with OKP public keys that use the Ed25519 curve and EDDSA algorithm (#256)
- [testing] Version sync
- [typescript-types] Version sync
Breaking Changes
- [server]
verifyAuthenticationResponse()now returnsPromise<VerifiedAuthenticationResponse>instead ofVerifiedAuthenticationResponse(#256)
Update your existing calls to verifyAuthenticationResponse() to handle the values resolved by the promises, whether with .then() or await depending on your code structure:
Before:
const verification = verifyAuthenticationResponse({
// ...
});After:
const verification = await verifyAuthenticationResponse({
// ...
});- [browser]
browserSupportsWebauthn()has been renamed tobrowserSupportsWebAuthn()(#257)
Update calls to browserSupportsWebauthn() to capitalize the "A" in "WebAuthn":
Before:
if (browserSupportsWebauthn()) {
// ...
}After:
if (browserSupportsWebAuthn()) {
// ...
}
