@simplewebauthn/server
Advanced tools
Changelog
v0.8.0 - The one with better challenges
Packages:
Changes:
challenge
parameter of generateAttestationOptions()
and
generateAssertionOptions()
is now optional.
startAttestation()
and startAssertion()
now convert the base64url-encoded
options.challenge
to a buffer before passing it to the authenticator.verifyAttestationResponse()
and verifyAssertionResponse()
now require the
base64url-encoded challenge to be passed in as expectedChallenge
:Before:
const challenge = 'someChallenge';
const opts = generateAttestationOptions({
...atteOpts,
challenge,
});
const verification = verifyAttestationResponse({
...atteResp,
// Raw original value
expectedChallenge: challenge,
});
After:
const challenge = 'someChallenge';
const opts = generateAttestationOptions({
...atteOpts,
// This is now optional
challenge,
});
const verification = verifyAttestationResponse({
...atteResp,
// Now expected to be the base64url-encoded `challenge` returned
// by `generateAttestationOptions()`
expectedChallenge: opts.challenge,
});
Changelog
v0.7.4
Packages:
Changes:
Changelog
v0.7.3
Packages:
Changes:
Changelog
v0.7.2
Packages:
Changes:
generateAttestationOptions()
and verifyAttestationResponse()
Changelog
v0.7.1
Packages:
Changes:
Changelog
v0.7.0 - The one that passes FIDO conformance testing
Packages:
Changes:
verifyAttestationResponse()
changed from boolean
to
Promise<boolean>
. This was necessary to support querying FIDO MDS for an authenticator metadata
statement during attestation verification.requireUserVerification
parameter of verifyAssertionResponse()
has
been replaced with the new optional fidoUserVerification
parameter. This enables greater control
over user verification when verifying assertions.Changelog
v0.6.1
Packages:
Changes:
verifyAttestationResponse()
options param description.Changelog
v0.6.0 - The one with better response verification
Packages:
Changes:
verifyAttestationResponse()
and verifyAssertionResponse()
methods now take a single arguments object.requireUserVerification
argument.