Web Authentication API(旧)
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
「[[マイクロソフト系技術情報 Wiki>http://techinfoofmicros...
-[[戻る>Web Authentication API]]
* 目次 [#ve4bca3a]
#contents
*概要 [#cd1246fb]
旧情報 → [[新情報>Web Authentication API]]
*詳細 [#e44e4639]
使用する (主な) 関数は 2 つ。
-makeCredential()メソッド
-getAssertion()メソッド
**仕様 [#c9b811f4]
-現在はドラフト仕様に基づく ms-prefix実装であるため、~
現在 (2016/05 時点) の Edge の実装では、明示的に下記を使...
--window.msCredentials.makeCredential
--window.msCredentials.getAssertion
-[[Polyfill>https://dotnetdevelopmentinfrastructure.ossco...
[[webauthn.js>#x7fbdb40]]という[[Polyfill>https://dotnetd...
-Promise~
[[Promise>https://dotnetdevelopmentinfrastructure.osscons...
**メソッド [#z9b20aaa]
***makeCredential()メソッド [#u6dfd455]
初回の key pair の作成
-private key の (Device への) 登録
-public key の取得 ([[JWK>JWT]] format)
***getAssertion()メソッド [#ocaf5400]
private key を用いた challenge data のデジタル署名
**補足 [#x49db2e9]
-(現時点で)以下に値が入ってこない。
--result.algorithm
--result.attestation
-PKIのキーペアは、CredentialIDを使用して、紐付けを行う模...
--このキーペアは、[[AIK(認証IDキー)>TPM(Trusted Platfo...
--従って、CredentialIDには、[[認証器>FIDO#lf855e22]]が生...
--なので、実装に注意が必要(あるサンプルコードは失敗する...
https://github.com/OpenTouryoProject/MultiPurposeAuthSite...
--なお、CredentialIDを使用すれば、複数のデバイスの登録が...
しかし、デバイスを特定する方法が無いので、登録が重複して...
*参考(旧)[#rdddcc10]
**しばやん雑記 [#t7f57b1c]
-Windows Hello を Web で使うための Web Authentication API...
http://blog.shibayan.jp/entry/20170129/1485665985
-ASP.NET Core Identity に Windows Hello を使ったログイン...
http://blog.shibayan.jp/entry/20170131/1485844075
--shibayan/webauthn-aspnet-demo: Demo Application for Win...
https://github.com/shibayan/webauthn-aspnet-demo
***Views [#vf27ef62]
-Manage/AddPublicKey.cshtml~
https://github.com/shibayan/webauthn-aspnet-demo/blob/mas...
-Account/Login.cshtml~
https://github.com/shibayan/webauthn-aspnet-demo/blob/mas...
***Controllers [#ddeef527]
-AccountController.cs~
https://github.com/shibayan/webauthn-aspnet-demo/blob/mas...
-ManageController.cs~
https://github.com/shibayan/webauthn-aspnet-demo/blob/mas...
***Services [#jd6b7233]
-FidoAuthenticator.cs~
https://github.com/shibayan/webauthn-aspnet-demo/blob/mas...
**microsoft.com [#z2da3470]
-Web Authentication API 紹介 (Windows Hello を使った Edge...
https://blogs.msdn.microsoft.com/tsmatsuz/2016/06/08/w3c-...
-Dev guide: Web authentication - Microsoft Edge Developme...
https://developer.microsoft.com/en-us/microsoft-edge/plat...
-A world without passwords: Windows Hello in Microsoft Ed...
https://blogs.windows.com/msedgedev/2016/04/12/a-world-wi...
***API リファレンス [#x65290df]
-Web Authentication~
https://msdn.microsoft.com/en-us/library/mt697638.aspx
--MSCredentials object~
https://msdn.microsoft.com/en-us/library/mt697639.aspx
---makeCredential method~
https://msdn.microsoft.com/en-us/library/mt697641.aspx
---getAssertion method~
https://msdn.microsoft.com/en-us/library/mt697640.aspx
***adrianba/fido-snippets [#x7fbdb40]
-polyfill
--webauthn.js~
https://github.com/adrianba/fido-snippets/blob/master/pol...
--polyfill.html~
https://github.com/adrianba/fido-snippets/blob/master/pol...
-csharp/app.cs~
https://github.com/adrianba/fido-snippets/blob/master/csh...
**Qiita [#y5466d73]
-まだパスワードで消耗してるの? TouchIDとFIDO2.0でパスワ...
https://qiita.com/rkato/items/3607e6870c71fbd3ec06
*[[FIDO2.0対応 - Open 棟梁 Wiki>https://opentouryo.osscon...
----
Tags: [[:認証基盤]]
終了行:
「[[マイクロソフト系技術情報 Wiki>http://techinfoofmicros...
-[[戻る>Web Authentication API]]
* 目次 [#ve4bca3a]
#contents
*概要 [#cd1246fb]
旧情報 → [[新情報>Web Authentication API]]
*詳細 [#e44e4639]
使用する (主な) 関数は 2 つ。
-makeCredential()メソッド
-getAssertion()メソッド
**仕様 [#c9b811f4]
-現在はドラフト仕様に基づく ms-prefix実装であるため、~
現在 (2016/05 時点) の Edge の実装では、明示的に下記を使...
--window.msCredentials.makeCredential
--window.msCredentials.getAssertion
-[[Polyfill>https://dotnetdevelopmentinfrastructure.ossco...
[[webauthn.js>#x7fbdb40]]という[[Polyfill>https://dotnetd...
-Promise~
[[Promise>https://dotnetdevelopmentinfrastructure.osscons...
**メソッド [#z9b20aaa]
***makeCredential()メソッド [#u6dfd455]
初回の key pair の作成
-private key の (Device への) 登録
-public key の取得 ([[JWK>JWT]] format)
***getAssertion()メソッド [#ocaf5400]
private key を用いた challenge data のデジタル署名
**補足 [#x49db2e9]
-(現時点で)以下に値が入ってこない。
--result.algorithm
--result.attestation
-PKIのキーペアは、CredentialIDを使用して、紐付けを行う模...
--このキーペアは、[[AIK(認証IDキー)>TPM(Trusted Platfo...
--従って、CredentialIDには、[[認証器>FIDO#lf855e22]]が生...
--なので、実装に注意が必要(あるサンプルコードは失敗する...
https://github.com/OpenTouryoProject/MultiPurposeAuthSite...
--なお、CredentialIDを使用すれば、複数のデバイスの登録が...
しかし、デバイスを特定する方法が無いので、登録が重複して...
*参考(旧)[#rdddcc10]
**しばやん雑記 [#t7f57b1c]
-Windows Hello を Web で使うための Web Authentication API...
http://blog.shibayan.jp/entry/20170129/1485665985
-ASP.NET Core Identity に Windows Hello を使ったログイン...
http://blog.shibayan.jp/entry/20170131/1485844075
--shibayan/webauthn-aspnet-demo: Demo Application for Win...
https://github.com/shibayan/webauthn-aspnet-demo
***Views [#vf27ef62]
-Manage/AddPublicKey.cshtml~
https://github.com/shibayan/webauthn-aspnet-demo/blob/mas...
-Account/Login.cshtml~
https://github.com/shibayan/webauthn-aspnet-demo/blob/mas...
***Controllers [#ddeef527]
-AccountController.cs~
https://github.com/shibayan/webauthn-aspnet-demo/blob/mas...
-ManageController.cs~
https://github.com/shibayan/webauthn-aspnet-demo/blob/mas...
***Services [#jd6b7233]
-FidoAuthenticator.cs~
https://github.com/shibayan/webauthn-aspnet-demo/blob/mas...
**microsoft.com [#z2da3470]
-Web Authentication API 紹介 (Windows Hello を使った Edge...
https://blogs.msdn.microsoft.com/tsmatsuz/2016/06/08/w3c-...
-Dev guide: Web authentication - Microsoft Edge Developme...
https://developer.microsoft.com/en-us/microsoft-edge/plat...
-A world without passwords: Windows Hello in Microsoft Ed...
https://blogs.windows.com/msedgedev/2016/04/12/a-world-wi...
***API リファレンス [#x65290df]
-Web Authentication~
https://msdn.microsoft.com/en-us/library/mt697638.aspx
--MSCredentials object~
https://msdn.microsoft.com/en-us/library/mt697639.aspx
---makeCredential method~
https://msdn.microsoft.com/en-us/library/mt697641.aspx
---getAssertion method~
https://msdn.microsoft.com/en-us/library/mt697640.aspx
***adrianba/fido-snippets [#x7fbdb40]
-polyfill
--webauthn.js~
https://github.com/adrianba/fido-snippets/blob/master/pol...
--polyfill.html~
https://github.com/adrianba/fido-snippets/blob/master/pol...
-csharp/app.cs~
https://github.com/adrianba/fido-snippets/blob/master/csh...
**Qiita [#y5466d73]
-まだパスワードで消耗してるの? TouchIDとFIDO2.0でパスワ...
https://qiita.com/rkato/items/3607e6870c71fbd3ec06
*[[FIDO2.0対応 - Open 棟梁 Wiki>https://opentouryo.osscon...
----
Tags: [[:認証基盤]]
ページ名: