check shim version before installing with LUKS root
- Lenguaje dominante
- Rust
- Estrellas
- 2.3k
- Forks
- 230
- Merge medio
- 3 d 3 h
- PR fusionados (30 d)
- 36
Descripción
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.
Guía de contribución
Línea de trabajo
Comienza en el punto de entrada `bootc install to-disk --block-setup tpm2-luks` y sigue cómo se inspeccionan la imagen del contenedor y el shim EFI del host durante la instalación. El trabajo estará terminado cuando una versión de shim que no coincida impida la instalación con un error informativo, y cualquier restricción o indicación necesaria quede reflejada en la ayuda o la documentación.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust
- Área
- operating-systems, security
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100