Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Accept an unrecognized device with an unsupported TPM and add its CA to the trusted list as "Manually added"

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust

調査の方向性

Begin with the device enrollment and attestation posture-check paths, then trace device status display, Accept TPM controls, EK CA settings, and activity logging. Use the listed test scenarios to validate unknown-device rejection, manual acceptance, CA reuse, and quarantined-device restrictions. Resolve the open questions about declining devices and removing manually added CAs before implementation.

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

説明

User story

As an admin, I want to accept devices whose TPM isn't in Defguard's CA database, so that users with unsupported hardware can pass attestation.

Acceptance criteria
  • A device whose EK certificate doesn't chain to a CA in the database gets the status "Unrecognized" in the Devices list, the drawer and the user profile.
  • Unrecognized devices fail attestation posture checks.
  • The "Accept TPM" action is in the row menu and the drawer, only for Unrecognized devices.
  • The action opens a confirmation modal explaining that the TPM's CA will be trusted for all future devices.
  • After accepting, the device becomes "Attested manually", and the CA appears in the Settings EK CA list (US1) with a "Manually added" badge.
  • Later devices with a TPM from the same CA become "Attested" automatically.
  • The Activity log records the acceptance.
Test scenarios
  1. Enroll a device with an unknown TPM → its status is Unrecognized and it's rejected by an attestation posture check.
  2. Accept its TPM → the device becomes Attested manually and can connect.
  3. Open Settings › Device Attestation → the new CA is listed with the Manually added badge.
  4. Enroll a second device with the same TPM → it becomes Attested with no admin action.
  5. For a device that isn't quarantined → "Accept TPM" isn't available.
Notes
  • Store the issuing CA from the device's EK certificate chain when accepting.
Open questions
  • Can an admin decline a quarantined device? The design shows a "Declined" status.
  • Can a manually added CA be removed, and what happens to devices already attested through it?
主要言語
Rust
スター
2.9k
フォーク
121
平均マージ
21時間 35分
マージ済み PR(30日)
68

環境構築

はじめの一歩

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

DefGuard/defguard のほかの issue

DefGuard/defguard の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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