Document the security boundary and scope of KeyCredentialManager credentials

オープン
#2,540 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
42/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
静か

調査の方向性

既存の KeyCredentialManager ドキュメントから始め、同一ユーザーのプロセスのシナリオと、記載されている各スコープの質問を、権威ある Windows セキュリティ リファレンスに照らして検証します。完了条件は、資格情報の境界、packaging と AppContainer の影響、attestation の制限、およびローカルの高価値な秘密情報に推奨される多層防御パターンを扱う、明確なセクションを追加することです。

索引モデルが issue の本文から書いたものです。

説明

Pri3

The KeyCredentialManager documentation explains how to create, open, delete and use key credentials, but it is not clear what security boundary applies to a KeyCredential. This is important for applications that use Windows Hello / KeyCredentialManager to protect high-value local secrets. Current uncertainty is unclear whether a KeyCredential is scoped to Windows user account, device, application and package identity and credential name only within the user profile.

Scenario:
A desktop application creates a KeyCredential with a given name. Another process running under the same Windows user account calls KeyCredentialManager.OpenAsync with the same name and then calls RequestSignAsync. Windows Hello prompts the user. If the user approves, the operation may succeed.

Documentation questions:

  1. Is this behavior expected?
  2. Is the credential name intended to be secret?
  3. Can another same-user process open the credential if the name is known?
  4. Is there any app-level isolation?
  5. Does MSIX packaging affect credential scope?
  6. Does AppContainer affect credential scope?
  7. Does TPM-backed attestation change same-user local access?
  8. What is the recommended pattern for protecting local high-value secrets?

Suggested documentation improvement:
Please add a section to KeyCredentialManager documentation explaining the credential scope & what security boundary is and is not provided & whether same-user process access is expected & whether KeyCredentialManager is suitable as the only unlock mechanism for local & encrypted secrets & recommended alternatives or defense-in-depth patterns.

主要言語
JavaScript
スター
266
フォーク
517
平均マージ
1分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MicrosoftDocs/winrt-api のほかの issue

MicrosoftDocs/winrt-api の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。