Run device attestation after enrollment (Desktop)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by tracing the desktop enrollment flow and the existing periodic posture-data checks, including disk-encryption checks. Then follow the core's EK certificate validation and device-status updates; done means all listed enrollment, periodic, failure, fingerprint, CA, and unsupported-client scenarios produce the specified statuses and metadata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
User story
As an admin, I want each device to be attested when it's enrolled and periodically afterwards, so that its attestation status is always current.
Acceptance criteria
- The desktop client runs attestation automatically after the device is enrolled, with no user action.
- The client re-runs attestation periodically, using the same interval and mechanism as the existing posture data checks (e.g. disk encryption).
- The core validates the device's EK certificate against the EK CA database, including manually added CAs:
- The certificate chains to a known CA → Attested.
- The attestation is valid but the CA is unknown → Unrecognized (#3734 ).
- There's no TPM, the attestation is invalid, or the client doesn't support attestation → Not attested.
- Each successful attestation stores or updates the attestation date, certificate owner and fingerprint.
- If a previously attested device fails a later attestation, its status changes to Not attested.
- If the device's fingerprint changes, its verification status is reset to Not verified.
Test scenarios
- Enroll a device with a supported TPM → it becomes Attested, with a date and fingerprint, without any user action.
- Enroll a device with no TPM → it becomes Not attested.
- Enroll a device with a TPM from an unknown CA → it becomes Unrecognized.
- Wait for the next periodic check → the attestation date updates.
- Make attestation fail on an attested device (e.g. disable the TPM) → at the next periodic check it becomes Not attested.
- A verified device reports a different fingerprint → it becomes Not verified.
- An older client without attestation support → the device is Not attested.
Notes
- Use the device's WireGuard public key as the attestation nonce. This binds the attestation to the client configuration.
- Attestation results will be part of every config polling request and stored in Core. Separate #3782
- Lingua principale
- Rust
- Stelle
- 2.9k
- Fork
- 121
- Merge medio
- 21h 54m
- PR unite (30g)
- 67
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DefGuard/defguard
-
Set focus to PIN field after user clicks connect when MFA method is security key (UX improvement)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
DefGuard/defguard#3851 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Invalid hover on the OS delete in posture check edit formForse già presa @jakub-tldr l’ha presa 5 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
DefGuard/defguard#3842 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Prevent setting "Defguard URL" and "Defguard public URL" to the same addressForse già presa @jakub-tldr l’ha presa 2 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
DefGuard/defguard#3751 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di DefGuard/defguard
Issue simili
-
test: sim_zero_omega_tests race on shared temp-file names, so two pairs of tests fail at randomAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
pop-os/cosmic-comp#2956 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area:release criticality:p3 documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
registrystack/registry-stack#2085 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
libp2p/rust-libp2p#6694 ·
I maintainer di solito rispondono entro 1 giorno