Version 2.2.0
webauthn-server-core
:
Changes:
- Changed internal structure of
RegistrationResult
andAssertionResult
. This may affect you if you use Jackson or similar tools to serialize these values to JSON, for example. This is not an officially supported use case and thus does not warrant a major version bump. - Removed methods
RegistrationResult.toBuilder()
andAssertionResult.toBuilder()
. Both had package-private return types, and thus were not usable by outside callers.
New features:
- (Experimental) Added support for the new
BE
(backup eligible) andBS
(backup state) flags in authenticator data:- NOTE: Experimental features may receive breaking changes without a major version increase.
- Added
BE
andBS
properties toAuthenticatorDataFlags
, reflecting the respective flags (bits 0x08 and 0x10). - Added methods
isBackupEligible()
andisBackedUp()
toRegistrationResult
andAssertionResult
, reflecting respectively theBE
andBS
flags. - Added properties
backupEligible
andbackupState
, gettersisBackupEligible()
andisBackedUp()
, and corresponding builder methods toRegisteredCredential
.RelyingParty.finishAssertion(...)
will now validate that ifRegisteredCredential.isBackupEligible()
is present, then theBE
flag of any assertion of that credential must match the stored value.
Fixes:
- Fixed TPM attestation verification rejecting attestation certificates with TPM Device Attributes split between multiple RelativeDistinguishedName structures in the Subject Alternative Names extension.
- Thanks to Oussama Zgheb for the contribution, see #241
- Fixed various errors in JavaDoc.
webauthn-server-attestation
:
Fixes:
- Improved documentation of guarantees provided by
FidoMetadataDownloader
and required of its parameters.
Artifacts built with openjdk 17.0.5 2022-10-18
.