Version 1.5.0
Changes:
RelyingPartynow makes an immutable copy of theoriginsargument, instead of storing a reference to a possibly mutable value.- The enum
AuthenticatorTransporthas been replaced by a value class containing methods and value constants equivalent to the previous enum. - The return type of
PublicKeyCredentialDescriptor.getTransports()is now aSortedSetinstead ofSet. The builder still accepts a plainSet. - Registration ceremony now verifies that the returned credential public key matches one of the algorithms specified in
RelyingParty.preferredPubkeyParamsand can be successfully parsed.
New features:
- Origin matching can now be relaxed via two new
RelyingPartyoptions:allowOriginPort(defaultfalse): Allow any port number in the originallowOriginSubdomain(defaultfalse): Allow any subdomain of any origin listed inRelyingParty.origins- See JavaDoc for details and examples.
- The new
AuthenticatorTransportcan now contain any string value as the transport identifier, as required in the editor's draft of the L2 spec. See: w3c/webauthn#1275 - Added support for RS1 credentials. Registration of RS1 credentials is not enabled by default, but can be enabled by setting
RelyingParty.preferredPubKeyCredParamsto a list containingPublicKeyCredentialParameters.RS1.- New constant
PublicKeyCredentialParameters.RS1 - New constant
COSEAlgorithmIdentifier.RS1
- New constant
Artifacts built with JDK 11.