Repository navigation
Releases
Releases · cedarcode/webauthn-ruby
v3.5.2
This release fixes the security advisory GHSA-97v8-p42x-qfhv.
Fixed
- Match origins exactly when
allowed_originsorallowed_top_originsis set to a String. Before, origin verification accepted any origin that was a substring of the configured String. By @santiagorodriguez96 in GHSA-97v8-p42x-qfhv.
Deprecated
- Passing a value other than an Array to
allowed_originsorallowed_top_originsnow prints a deprecation warning. A future major version will raise an error instead. By @santiagorodriguez96 in GHSA-97v8-p42x-qfhv.
Full Changelog: v3.5.1...v3.5.2
v3.4.5
This release fixes the security advisory GHSA-97v8-p42x-qfhv.
Fixed
- Match origins exactly when
allowed_originsis set to a String. Before, origin verification accepted any origin that was a substring of the configured String. By @santiagorodriguez96 in GHSA-97v8-p42x-qfhv.
Deprecated
- Passing a value other than an Array to
allowed_originsnow prints a deprecation warning. A future major version will raise an error instead. By @santiagorodriguez96 in GHSA-97v8-p42x-qfhv.
Full Changelog: v3.4.4...v3.4.5
v3.3.1
v3.5.1
v3.4.4
v2.5.3
v3.5.0
Added
- Add support for crossOrigin/topOrigin verification during credential registration and authentication by @nicolastemciuc in #486.
- Add support for the
attestation_formatsoption inWebAuthn::Credential.options_for_createby @santiagorodriguez96 in #514. - Add support for the
hintsoption inWebAuthn::Credential.options_for_createandWebAuthn::Credential.options_for_getby @santiagorodriguez96 in #513. - Reject authenticator data where the BS (backup state) flag is set but the BE (backup eligibility) flag is not, during credential registration and authentication. Raises
WebAuthn::BackupFlagsVerificationError. By @santiagorodriguez96 in #516. - Reject credential IDs longer than 1023 bytes during credential registration. Raises
WebAuthn::CredentialIdLengthVerificationError. By @santiagorodriguez96 in #517. - Add
WebAuthn.generate_user_handleas an alias forgenerate_user_idby @ttanimichi in #503.
Changed
- Bump the default
credential_options_timeoutfrom120_000to300_000milliseconds (5 minutes) by @santiagorodriguez96 in #515. WebAuthn::FakeClient#getnow defaultsbackup_statetofalse. The previous default (backup_eligibility: false,backup_state: true) produced authenticator data that now fails verification. By @santiagorodriguez96 in #516.- Avoid mutating caller relying-party options by @OskarEichler in #509.
Removed
- Remove
TokenBindingverification during credential registration and authentication by @nicolastemciuc in #450.- BREAKING CHANGE:
WebAuthn::TokenBindingVerificationErrorno longer exists. Remove it from anyrescueclauses. - BREAKING CHANGE:
WebAuthn::FakeClient.newno longer acceptstoken_binding:. - BREAKING CHANGE:
WebAuthn::ClientDatano longer exposes#token_bindingor#valid_token_binding_format?.
- BREAKING CHANGE:
New Contributors
- @ttanimichi made their first contribution in #500
- @sandstrom made their first contribution in #505
- @OskarEichler made their first contribution in #509
Full Changelog: v3.4.3...v3.5.0