NewsCrawler.org

A second look at webauthn-ruby: what changed in v3.5.0

webauthn-ruby をもう一回覗いてみた
Image: zenn.dev

After hearing SmartHR's practical introduction to passkeys[1] at Kaigi on Rails, the author took a fresh look at webauthn-ruby, a Ruby library that brings the WebAuthn[2] API to Rails and other Ruby applications for passwordless login with biometrics or security keys. The article reads the v3.5.0 code released on October 22, 2026, and lists the README changes: webauthn_id is now webauthn_user_handle, generate_user_id became generate_user_handle, credentials became webauthn_credentials, and the origin setting was replaced by allowed_origins, which accepts multiple values. New authenticator_selection options cover resident_key[3] and user_verification[4], set differently for passkey login, passwordless login, or a second factor, and verify calls now take user_verification: true when biometric or PIN confirmation must be enforced. Verification is now wrapped in begin/rescue WebAuthn::Error, and the walkthrough covers challenge generation from 32 random bytes, attestation statement and credential ID length checks (now capped at 1023 bytes), new top_origin and backup_flags checks, and the removal of token binding verification. When the library is used, the Rails application itself takes on the FIDO server role of generating and verifying challenges.

Read the original zenn.dev

Sources

  • Zenn JA

    webauthn-ruby をもう一回覗いてみた

    1 like1 bookmark0 comments

Published: First seen: Читать по-русски

Open as a page