Add config option to configure systemd-cryptenroll PCRs
- Lingua principale
- Rust
- Stelle
- 2.3k
- Fork
- 230
- Merge medio
- 3g 3h
- PR unite (30g)
- 36
Descrizione
Right now bootc uses the naive systemd-cryptenroll default PCR selection of 7 when binding a LUKS volume. This is not ideal as shim package updates or version disagreement between installation and installed environment will cause the PCR 7 hash to change thus prevent unlocking of the LUKS root volume.
Beyond the obvious implications that broken boot is a very bad user experience, use of PCR 7 only is not necessarily a best practice when using TPM to unlock encrypted partitions. Users will most certainly need control over the PCR configuration and the systemd-cryptenroll defaults are really not intended as production solutions (they are a rather plain default that might work in some cases).
Either an install configuration or CLI option is needed to allow configuration of the TPM PCRs that the LUKS volume is bound to.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia individuando l'invocazione di systemd-cryptenroll da parte di bootc e la configurazione di installazione esistente o la gestione delle opzioni CLI. Il lavoro è completo quando gli utenti possono configurare quali PCRs vengono utilizzati durante il binding di un volume LUKS e l'interfaccia scelta e il comportamento previsto sono documentati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- operating-systems, security
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100