Skip to content

Releases

v3.5.2

Choose a tag to compare

@santiagorodriguez96 santiagorodriguez96 released this 01 Dec 21:22
8a2b1d8

This release fixes the security advisory GHSA-97v8-p42x-qfhv.

Fixed

  • Match origins exactly when allowed_origins or allowed_top_origins is 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_origins or allowed_top_origins now 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

Choose a tag to compare

@santiagorodriguez96 santiagorodriguez96 released this 01 Dec 21:23
852f70d

This release fixes the security advisory GHSA-97v8-p42x-qfhv.

Fixed

  • Match origins exactly when allowed_origins is 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

Full Changelog: v3.4.4...v3.4.5

v3.3.1

Choose a tag to compare

@santiagorodriguez96 santiagorodriguez96 released this 20 Nov 19:21
13e5d1f

What's Changed

Changed

  • Bump cbor to ~> 0.6.2.2 and cose to ~> 1.4 by @stanhu in #523

Full Changelog: v3.3.0...v3.3.1

v3.5.1

Choose a tag to compare

@santiagorodriguez96 santiagorodriguez96 released this 10 Nov 23:22

What's Changed

Changed

  • Bump cbor to ~> 0.6.2.2 and cose to ~> 1.4 by @stanhu in #523

Full Changelog: v3.5.0...v3.5.1

v3.4.4

Choose a tag to compare

@santiagorodriguez96 santiagorodriguez96 released this 10 Nov 23:43
v3.4.4
e2349cd

What's Changed

Changed

  • Bump cbor to ~> 0.6.2.2 and cose to ~> 1.4 by @stanhu in #523

Full Changelog: v3.4.3...v3.4.4

v2.5.3

Choose a tag to compare

@santiagorodriguez96 santiagorodriguez96 released this 11 Nov 02:00
v2.5.3
551d027

What's Changed

Changed

  • Bump cbor to ~> 0.6.2.2 and cose to ~> 1.4 by @stanhu in #523

Full Changelog: v2.5.2...v2.5.3

v3.5.0

Choose a tag to compare

@santiagorodriguez96 santiagorodriguez96 released this 22 Oct 21:38
e8029aa

Added

  • Add support for crossOrigin/topOrigin verification during credential registration and authentication by @nicolastemciuc in #486.
  • Add support for the attestation_formats option in WebAuthn::Credential.options_for_create by @santiagorodriguez96 in #514.
  • Add support for the hints option in WebAuthn::Credential.options_for_create and WebAuthn::Credential.options_for_get by @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_handle as an alias for generate_user_id by @ttanimichi in #503.

Changed

  • Bump the default credential_options_timeout from 120_000 to 300_000 milliseconds (5 minutes) by @santiagorodriguez96 in #515.
  • WebAuthn::FakeClient#get now defaults backup_state to false. 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 TokenBinding verification during credential registration and authentication by @nicolastemciuc in #450.
    • BREAKING CHANGE: WebAuthn::TokenBindingVerificationError no longer exists. Remove it from any rescue clauses.
    • BREAKING CHANGE: WebAuthn::FakeClient.new no longer accepts token_binding:.
    • BREAKING CHANGE: WebAuthn::ClientData no longer exposes #token_binding or #valid_token_binding_format?.

New Contributors

Full Changelog: v3.4.3...v3.5.0