WebAuthn

Web Authentication(WebAuthn:ウェブオースン)とは、FIDO2に基づくパスキーで使用されていて、ユーザーの公開鍵認証のインターフェイスをウェブ型のアプリケーションやサービスへと標準化するための、World Wide Web Consortium (W3C)によるウェブ標準である。FIDO Allianceから支援を受けている。ユーザーの証明をやり取りする時にウェブサイトとウェブブラウザ間の相互作用を形式化する試みであるW3Cのより一般的なクレデンシャル管理(英語版)APIの拡張を実装する。

2019年3月4日に、Web Authentication レベル1がウェブ標準として承認された。

概要

前身のFIDO Universal Second Factor (U2F)のように、W3C Web Authentication (WebAuthn)は下記のようにウェブサイト、ウェブブラウザ、認証器が対応している:

WebAuthnはWebAuthn Relying Partyと称する検証者に要求者が所有をどのように証明するかを明記し、FIDO2認証器をコントロールする。認証プロセスは準拠するウェブブラウザに過ぎないWebAuthn Clientと呼ばれるエンティティが取り持っている。

通常のWeb Authentication (WebAuthn) の流れ

右図では、認証器はハードウェア認証器と仮定する。どちらの場合でも、認証器は多要素暗号認証器でWebAuthn Relying Partyを対象とした認証アサーションに証明するために公開鍵暗号を利用する。ユーザー確認にPINを使用すると仮定するとして、認証器は「ユーザーが持っているもの」でPINは「ユーザーが知っているもの」とする。

WebAuthn Relying PartyはJavaScriptを経由してWebAuthn Client(ウェブブラウザなど)に指示する。WebAuthn Clientはブラウザに実装されたJavaScriptのAPIをする認証器とやり取りする。認証器はFIDO Client to Authenticator Protocol(英語版) 2.0に準じている。

仕様書

対応ウェブブラウザ

全ての主要なウェブブラウザが Web Authentication に対応している。

対応アプリケーション、デバイス

WebAuthnの実装例 (Pixiv用Bitwarden)

Web Authenticationは各アカウント固有の「ユーザーハンドル」識別子を参照する機能を追加したことで古いハードウェアトークンを保存することができなくなったにもかかわらず既存のFIDO U2FセキュリティキーはWebAuthn標準とほぼ互換性がある。最初のFIDO2互換認証器(英語版)の1つはYubicoの第2世代セキュリティキーであることが2018年4月10日に発表されている。

Dropboxは2018年5月8日にWeb Authenticationログイン(2段階認証として)に対応したと発表した。

批判

2018年8月、Paragon Initiative Enterprisesは予定されているWebAuthn標準のセキュリティ検査を行った。この時は特定の悪用は発見されなかったが、この標準が使用し権限を与える基礎的な暗号の方法においていくつかの重大な脆弱性を発見したとしている。

批判の主要な点は、過去に他の暗号化システムで問題になっていた2つの潜在的問題を中心に回っていて、そのために同じようなサイバー攻撃の被害に遭うのを避けなければいけないという点である:

脚注

  1. ↑ “WebAuthn 【Web Authentication】”. e-words IT用語辞典. 2024年11月8日閲覧。
  2. ↑ “WebAuthnをエミュレートするWebアプリの開発”. セキュアスカイプラス. 2024年11月8日閲覧。
  3. ↑ “用語解説: WebAuthn”. 神戸大学. 2025年2月26日時点のオリジナルよりアーカイブ。2024年11月8日閲覧。
  4. ↑ “WebAuthn(ウェブオースン)”. NRI SECURE. 2024年1月8日閲覧。
  5. 1 2 3 4 “Web Authentication: An API for accessing Public Key Credentials Level 1”. World Wide Web Consortium (W3C) (2019年3月4日). 2019年3月4日閲覧。
  6. ↑ “Web Authentication Working Group”. W3C. 2018年5月11日閲覧。
  7. ↑ “FIDO2 Project”. FIDO Alliance. 2018年5月11日閲覧。
  8. 1 2 “W3C and FIDO Alliance Finalize Web Standard for Secure, Passwordless Logins”. World Wide Web Consortium (W3C) (2019年3月4日). 2019年3月4日閲覧。
  9. ↑ Protalinski, Emil (March 4, 2019). “W3C Approves WebAuthn as the Web Standard for Password-Free Logins”. 2020年5月14日閲覧.
  10. ↑ “Web Authentication: An API for accessing Public Key Credentials - Level 2”. w3.org. 2025年7月21日閲覧。
  11. ↑ “Web Authentication: An API for accessing Public Key Credentials - Level 3”. w3.org. 2025年7月21日閲覧。
  12. ↑ Brand, Christiaan (2018年6月3日). “Enabling Strong Authentication with WebAuthn”. Google Developers. 2018年6月25日閲覧。
  13. ↑ Shankland, Stephen (2018年5月9日). “Firefox moves browsers into post-password future with WebAuthn tech”. CNET. 2018年5月11日閲覧。
  14. ↑ Sarkar, et. al. (2018年5月23日). “Announcing Windows 10 Insider Preview Build 17682”. Microsoft. 2018年6月25日閲覧。
  15. ↑ “Yubico Launches New Developer Program and Security Key for FIDO2 and WebAuthn W3C Specifications” (Press release). 2018年4月10日. 2018年5月7日時点のオリジナルよりアーカイブ. 2018年5月11日閲覧.
  16. ↑ Girardeau, Brad (2018年5月8日). “Introducing WebAuthn support for secure Dropbox sign in”. Dropbox Tech Blog. Dropbox. 2018年5月8日時点のオリジナルよりアーカイブ。2018年5月11日閲覧。
  17. ↑ “Security Concerns Surrounding WebAuthn: Don't Implement ECDAA (Yet)”. Paragon Initiative Enterprises Blog (2018年8月23日). 2018年10月9日閲覧。
  18. ↑ “FIDO ECDAA Algorithm”. FIDO Alliance (2018年2月27日). 2018年10月9日閲覧。

関連項目

外部リンク