UEFI secure boot
Hi all,
I have a question regarding grub2 in relation with UEFI secure boot. I do use a grub2 efi binary which is signed with sbsigntools. If the grub2 starts I think there is in general no information about that the grub2 is booted in secure boot environment.
Is there a possibility to show that in grub2? I found no way to do that. Are you interested in having the possibility to show the uefi secure boot status (e.g. EFI variable secureboot)?
Best regards,
Dennis
Quoted 6 lines · Dennis Wassenberg
Hi all,
I have a question regarding grub2 in relation with UEFI secure boot. I do use a grub2 efi binary which is signed with sbsigntools. If the grub2 starts I think there is in general no information about that the grub2 is booted in secure boot environment.
Why do you need that?
Quoted 1 line
Is there a possibility to show that in grub2? I found no way to do that.
If there is an use case why not.
Quoted 2 lines
Are you interested in having the possibility to show the uefi secure boot status (e.g. EFI variable secureboot)?
I am going to work on shim protocol verification for Multiboot2 compatible images. I hope that it will be taken into GRUB2 2.03.
Daniel
Hi, Daniel,
Quoted 9 lines · Daniel Kiper
Quoted 6 lines · Dennis Wassenberg
Hi all,
I have a question regarding grub2 in relation with UEFI secure boot. I do use a grub2 efi binary which is signed with sbsigntools. If the grub2 starts I think there is in general no information about that the grub2 is booted in secure boot environment.
Why do you need that?
Just to show that it is booted in secure mode. In general there are only a few devices which shows at the beginning that secureboot is active. So maybe it makes sense to show it at the booted efi application. If a user is interested in knowing if it is active or not he has to enter the Setup. In case of Lenovo there it is not shown directly if secureboot is active or not. At the secureboot tab there is shown that secureboot is enabled or not and if secureboot is in custom mode or setup mode. I believe that not every user known what this means. Thats why I think a hint if secureboot is currently active or not would make sense.
Quoted 4 lines
Quoted 2 lines
Is there a possibility to show that in grub2? I found no way to do that.
If there is an use case why not.
Would this be a use case?
Quoted 6 lines
Quoted 3 lines
Are you interested in having the possibility to show the uefi secure boot status (e.g. EFI variable secureboot)?
I am going to work on shim protocol verification for Multiboot2 compatible images. I hope that it will be taken into GRUB2 2.03.
Ah ok.
Quoted 2 lines
Daniel
Thank you for your response.
Best regards,
Dennis
Quoted 6 lines
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
I tried to submit a patch some time ago, where you can get SecureBoot and SetupMode variables from GRUB shell and config file:
http://lists.gnu.org/archive/html/grub-devel/2016-01/msg00078.html
It was abandoned for some reason.
Also, I think recent patches proposed by Matthew Garrett also allow to do this
Quoted 52 lines · Dennis Wassenberg
Hi, Daniel,
Quoted 9 lines · Daniel Kiper
Quoted 6 lines · Dennis Wassenberg
Hi all,
I have a question regarding grub2 in relation with UEFI secure boot. I do use a grub2 efi binary which is signed with sbsigntools. If the grub2 starts I think there is in general no information about that the grub2 is booted in secure boot environment.
Why do you need that?
Just to show that it is booted in secure mode. In general there are only a few devices which shows at the beginning that secureboot is active. So maybe it makes sense to show it at the booted efi application. If a user is interested in knowing if it is active or not he has to enter the Setup. In case of Lenovo there it is not shown directly if secureboot is active or not. At the secureboot tab there is shown that secureboot is enabled or not and if secureboot is in custom mode or setup mode. I believe that not every user known what this means. Thats why I think a hint if secureboot is currently active or not would make sense.
Quoted 4 lines
Quoted 2 lines
Is there a possibility to show that in grub2? I found no way to do that.
If there is an use case why not.
Would this be a use case?
Quoted 6 lines
Quoted 3 lines
Are you interested in having the possibility to show the uefi secure boot status (e.g. EFI variable secureboot)?
I am going to work on shim protocol verification for Multiboot2 compatible images. I hope that it will be taken into GRUB2 2.03.
Ah ok.
Quoted 2 lines
Daniel
Thank you for your response.
Best regards,
DennisQuoted 6 lines
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel