Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check shim version before installing with LUKS root #561

Open
jmpolom opened this issue May 22, 2024 · 0 comments
Open

check shim version before installing with LUKS root #561

jmpolom opened this issue May 22, 2024 · 0 comments
Labels
area/install Issues related to `bootc install` enhancement New feature or request

Comments

@jmpolom
Copy link

jmpolom commented May 22, 2024

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.

@cgwalters cgwalters added area/install Issues related to `bootc install` enhancement New feature or request labels May 23, 2024
cgwalters added a commit to cgwalters/bootc that referenced this issue Nov 5, 2024
cgwalters pushed a commit to cgwalters/bootc that referenced this issue Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/install Issues related to `bootc install` enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants