-
Notifications
You must be signed in to change notification settings - Fork 19
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
add image repackaging for secure boot #34
Comments
Photon OS SB implementation is pretty much locked down, with minimal to no flexibility.
|
We have the option, in open-vmdk. See this example ova config file: https://github.com/vmware/photon-os-installer/blob/master/examples/ova/minimal_ova.yaml#L6 . Just set |
Hi Alexey and Hi Oliver, In any case, I have considered myself and continue to consider myself a loyal partner, although without executive power in Broadcom's commercial sense. VVF environmentsI am aware of the plan to keep secure boot functionality in the virtualization layer. This has worked well in the past and created security for data center virtual hardware release upgrades. The possibilities are
Hence, e.g. for the signature database, the following modifications are possible
With that in VVF environments, it is easy for POI to "forward" secure boot functionality. Encryption not. POI is standalone with offline capability and not as a service. In nowadays, Secure Boot embraced Edge as well. Btw. Shim 15.8 with dhcp doesn't work yet flawlessly. non-VVF environmentsOn e.g. Azure, Secure Boot with Encryption driven by POI is not possible. Cyber Resilience ActKernel modules can be signed by us, product teams or our partners. conclusionIf the suggestion was bad, please close the case. I'm not doing this to chat. I care about this Broadcom product. |
Is your feature request related to a problem? Please describe.
Afaik there is no built-in Secure Boot functionality for Photon OS Installer. A first step would be a way to unpack and repack an image to either with custom keys or with a signed boot loader.
Describe the solution you'd like
Functionality for Photon OS installer secure boot
Support of Photon OS biased images during make build and for post-image-creation unpack and repack of to either with custom keys or with a signed boot loader.
A sort of one-fits-them-all is not the goal. The suggestion is a wish list.
Describe alternatives you've considered
options considered
Additional context
systemd-ukify
The systemd developer team actually work on a sort of unified kernel image bundle functionality, see e.g. systemd/systemd@83bf58f.
Not yet implemented in Ph5.
sbctl
Sbctl has more manual steps and more restrictions, but yes, it works on Ph5.
Remarks
Rethinking the situation of Photon OS on Dell IoT gateway in 2015, the secure delivery of firmware bits through updates of a secure boot operating system seems to become more affordable.
In addition, with the deadline of October 19th 2026, all Microsoft UEFI certificates 2011 will fail. This can be checked with pwsh
[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Windows Production PCA 2011'
[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Windows UEFI CA 2023'
Older Microsoft appliances on VVF/VCF won't boot properly if not patched including its recovery boot bits. Many companies are familiar to use static, older images. This could be the case after that deadline as well. With such a built-in functionality in Photon OS Installer however, pressure could be cushioned for the VCF/VVF business. It would be nice to have something like a VMware Converter for Secure Boot Conversion. From an embedded license perspective see github.com/microsoft slash secureboot_slash objects/issues/138.
The text was updated successfully, but these errors were encountered: