Upgrade to Pro — share decks privately, control downloads, hide ads and more …

パスキーについて今日時点の僕が知っていること / What I Know About Pass...

パスキーについて今日時点の僕が知っていること / What I Know About Passkeys as of Today

Niigata 5分 Tech #6で話しました
https://niigata-5min-tech.connpass.com/event/312817/

Yukiya Nakagawa

March 29, 2024
Tweet

More Decks by Yukiya Nakagawa

Other Decks in Technology

Transcript

  1. ύεΩʔͷ ͋Δଆ໘ᶃ • ϩάΠϯ࣌͸ެ։伴҉߸ͰຊਓੑΛ֬ ೝ͢Ε͹ɺαʔόʔ͔Βެ։伴͚ͩྲྀ ग़ͯ͠΋ා͘ͳ͍͠࠷ߴ͡ΌͶʁ • ϦΫΤετઌͷυϝΠϯͱηοτͰ ൿີ伴Λอ؅͓͚ͯ͠͹ɺِυϝΠϯ ͰϑΟογϯάαΠτΛ࡞ͬͯ΋ਅυ

    ϝΠϯͷൿີ伴͕࢖ΘΕΔ͜ͱ͸ͳ ͍͔Β࠷ߴ͡ΌͶʁ αʔόʔίϯϐϡʔλʔ IUUQTBVUIFYBNQMFDPN ΫϥΠΞϯτίϯϐϡʔλʔ *%OL[O!OL[OEFW ɹެ։伴 IUUQTBVUIFYBNQMFDPN *%OL[O!OL[OEFW ɹൿີ伴 ϩάΠϯϦΫΤετ ͷຊจ IDͱॺ໊σʔλΛ ຒΊࠐΉ ϩάΠϯϦΫΤετΛߦ͏ ॺ໊σʔλΛݕূ͢Δ ੒ޭͨ͠Β *%ͷຊਓੑ͕֬ೝͰ͖Δ ͜ͷαΠτ΁ͷϦΫΤετ͔࣌͠ औΓग़ͤͳ͍
  2. ύεΩʔͷ ͋Δଆ໘ᶄ • ൿີ伴ͷར༻ʹ͸ೝূثʹΑΔೝূ͕ ඞཁ • ࠷௿Ͱ΋ॴ༗ೝূ͕গͳ͍ૢ࡞ͰߦΘ ΕΔ • Touch

    ID౳Λ࢖ͬͨ৔߹͸ಉ࣌ʹੜମ ೝূ΋ߦΘΕΔ • ૢ࡞ͱͯ͠͸1ճͳͷͰ؆୯͔ͭૣ͍ ΫϥΠΞϯτίϯϐϡʔλʔ IUUQTBVUIFYBNQMFDPN *%OL[O!OL[OEFW ɹൿີ伴 ϩάΠϯϦΫΤετ ͷຊจ ೝূث ผͷεϚϗͰ QRίʔυΛಡΈऔΔ Touch ID౳ ൿີ伴ͷొ࿥ɾಡΈग़͠ʹ͸ ೝূثʹΑΔೝূ͕ඞཁ ηΩϡϦςΟΩʔ
  3. ύεΩʔͷ͋Δଆ໘ᶅ ΫϥΠΞϯτίϯϐϡʔλʔ ύεϫʔυϚωʔδϟʔ ύεΩʔ IUUQTBVUIFYBNQMFDPN *%OL[O!OL[OEFW ɹൿີ伴 ΫϥΠΞϯτίϯϐϡʔλʔ` ύεϫʔυϚωʔδϟʔ ύεΩʔ

    IUUQTBVUIFYBNQMFDPN *%OL[O!OL[OEFW ɹൿີ伴 ύεϫʔυϚωʔδϟʔͷ ಉظઌͷΫϥ΢υ Ϋϥ΢υܦ༝Ͱ ൿີ伴͕ಉظ͞ΕΔ σόΠεؒͰൿີ伴͕ڞ༗͞ΕΔͷͰɺॴ༗͍ͯ͠ΔଞͷσόΠεͰ΋ϩάΠϯ͕༰қ
  4. 伴ൃߦͱ ೝূث • FIDOΞϥΠΞϯε͔ΒೝఆΛ ड͚ͨೝূث (Authenticator) Ͱ伴Λൃߦ͢Δ • Ͳ͜ͷύεϫʔυϚωʔ δϟʔʹొ࿥͢Δ͔͸Ϣʔ

    βʔ͕બ΂Δ ɹΫϥΠΞϯτίϯϐϡʔλʔ ೝূث ύεΩʔ IUUQTBVUIFYBNQMFDPN *%OL[O!OL[OEFW ɹൿີ伴 *%OL[O!OL[OEFW ɹެ։伴 αʔόʔʹૹΔ navigator.credentials.create()
  5. αʔόʔαΠυͷ࿩ • αʔόʔͷ໾ׂͱͯ͠͸࣍ͷ2ͭͱͳΔ • navigator.credentials.get() ʹ౉͢ύϥϝʔλͷൃߦ • navigator.credentials.get() Ͱॺ໊͞Εͨ݁ՌΛड͚औͬͯݕূ͢Δ •

    1ճͷϩάΠϯͰ navigator.credentials.get() ͷલޙʹ1ճͣͭαʔόʔʹϦΫΤετ͢Δ͜ͱʹͳΔ • ύεϫʔυΛ֬ೝ͢Δͷͱൺ΂Ε͹͸Δ͔ʹ೉͍͠ͷͰɺࣗલͰ͸࣮૷Ͱ͖ͳ͍ਓ΋ଟͦ͏ • IDaaSͷରԠ͕ਐΉͱύεΩʔ͕ීٴ͍͖ͯͦ͠͏ • Auth0, Okta, GMOτϥετϩάΠϯ, StartInͳͲɺύεΩʔରԠΛՎ͏IDaaS͸૿͖͍͑ͯͯΔ • Firebase Authentication͸H1 2024ʹϓϨϏϡʔ൛͕ग़Δ͔΋
  6. ࢀߟจݙ • https://goo.gle/passkeys • https:// fi doalliance.org/speci fi cations/ •

    https:// fi doalliance.org/ fi do2-2/ fi do2-web-authentication-webauthn/ • https://webauthn.io/ • https://blog.agektmr.com/2019/03/ fi do-webauthn • https://blog.agektmr.com/2022/12/passkey • https://blog.agektmr.com/2023/12/passkey-mythbusting • https:// fi rebase.uservoice.com/forums/948424-general/suggestions/46647016-support-authentication- with-passkeys • https://moneyforward-dev.jp/entry/2023/04/05/134721