Releases: MasterKale/SimpleWebAuthn
v6.2.2
Packages:
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
Changes:
- [browser]
browserSupportsWebAuthnAutofill()
no longer supports the old Chrome Canary way of testing for conditional UI support (#298) - [server] Version sync
v6.2.1
Packages:
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
Changes:
- [browser] Multiple calls to
startRegistration()
andstartAuthentication()
will now more reliably cancel the preceding call (#275) - [server] Version sync
- [testing] Version sync
- [typescript-types] Version sync
v6.2.0
Packages:
- @simplewebauthn/[email protected]
Changes:
- [server] The value of the user verification flag is now returned from
verifyAuthenticationResponse()
asauthenticationInfo.userVerified
, similar to howverifyRegistrationResponse()
currently returns this value.
v6.1.0
v6.0.0 - The one with Ed25519 Support
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/[email protected]
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
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()) {
// ...
}
v5.4.5
Packages:
- @simplewebauthn/[email protected]
Changes:
- [server] Support FIDO Conformance user verification requirements (#254)
To leverage these requirements (as might be the case for RP's seeking FIDO certification), update your calls to verifyAuthenticationResponse()
to replace requireUserVerification
with the new advancedFIDOConfig.userVerification
option:
Before:
const verification = verifyAuthenticationResponse({
// ...
requireUserVerification: true
});
After
const verification = verifyAuthenticationResponse({
// ...
advancedFIDOConfig: {
// UserVerificationRequirement: 'required' | 'preferred' | 'discouraged'
userVerification: 'required',
},
});
Setting advancedFIDOConfig.userVerification
to 'required'
will only require the uv
flag to be true; up
flag may be false
. Setting it to 'preferred'
or 'discouraged'
will allow both up
and uv
to be false
during verification.
- [server] Rename the
devicePublicKey
property on theAuthenticationExtensionsAuthenticatorOutputs
type todevicePubKey
(#243; no one supports this yet so it's not a breaking change)
v5.4.4
v5.4.3
v5.4.2
Packages:
- @simplewebauthn/[email protected]
Changes:
- [server] Add support for
"rsa_emsa_pkcs1_sha256_raw"
and"rsa_emsa_pkcs1_sha256_der"
authentication algorithms in FIDO MDS metadata statements (#241)