bootc-dev / bootc-dev/bootc

check shim version before installing with LUKS root

Aperta
#561 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area/install enhancement
Lingua principale
Rust
Stelle
2.3k
Fork
230
Merge medio
3g 12h
PR unite (30g)
38

Descrizione

As shown in #421 if the shim version is not the same between the installation OS (could be anything really) booted when/where `bootc install to-disk --block-setup tpm2-luks` is run, the resulting system will fail to boot as PCR #7 hash changes when booted with the different EFI shim.

If a LUKS root is chosen for the installation to disk, bootc should check the shim version in the container image to be installed against the version available on the host system. If they do not agree, bootc should not proceed with the installation and produce an informative error message.

It also might be necessary to advise of restrictions with the to-disk installation workflow when using a LUKS root to ensure an installation OS is used that shares the same EFI shim as the system to be installed. This could be a documentation update or some more informative help messages produced by bootc. Or both.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start at the `bootc install to-disk --block-setup tpm2-luks` entry point and trace how the container image and host EFI shim are inspected during installation. Done means a mismatched shim version prevents installation with an informative error, with any needed restrictions or guidance reflected in help or documentation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
operating-systems, security
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.