Auto Secure boot key enrollment with disk images #12568
Replies: 6 comments 6 replies
-
|
Any thoughts on this? |
Beta Was this translation helpful? Give feedback.
-
|
I think it might be technically possible, but it is not the best flow, as bootloader stays with the machine, so it might try to enroll the keys even when this is not desired, while ISO is a temporary boot media. If you have a usecase, please describe it here in full details (links to Slack don't work quite well). |
Beta Was this translation helpful? Give feedback.
-
|
Currently I am using a in house made method of rolling out bare metal nodes. This method uses disk images for installing the OS on the systems. Since we have access to the BIOS via Redfish we cannot add any keys fully automatic. If the disk image could auto enroll the secure boot keys it would help us big time. |
Beta Was this translation helpful? Give feedback.
-
|
According to the The
So The Talos |
Beta Was this translation helpful? Give feedback.
-
|
I added the support of auto-enrollment on disk image here: #13200 |
Beta Was this translation helpful? Give feedback.
-
|
@smira — picking this back up now that disk-image auto-enrollment is merged (#13214, v1.14.0-alpha.1). As shipped it writes The use cases you asked for (unattended bare-metal):
The common factor is no operator at the console, so the manual On your concern — that a disk-image bootloader is permanent and "might try to enroll the keys even when this is not desired," unlike a temporary ISO — I think the sd-boot Setup-Mode gate addresses it directly. In if (!IN_SET(secure_boot_mode(), SECURE_BOOT_SETUP, SECURE_BOOT_AUDIT))
return EFI_SUCCESS;Auto-enrollment (even with A clarification, because the docs and the code seem to disagree and I want to make sure I'm reading sd-boot correctly. The SecureBoot guide presents setup-mode auto-enrollment as automatic regardless of platform — e.g. "For the first boot, the UEFI firmware should be in the setup mode, so that the keys can be enrolled into the UEFI firmware automatically", "The ISO bootloader will enroll the keys in the UEFI firmware, and boot the Talos Linux in SecureBoot mode", and the So: is it accurate that there's no truly unattended bare-metal auto-enrollment today for either the ISO or the disk image — only the interactive menu? If yes, I'd be happy to send a docs clarification. And if the Setup-Mode-gate reasoning holds, would you be open to exposing the existing |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
As discussed in the Slack channel: https://taloscommunity.slack.com/archives/CMARMBC4E/p1767874009521259.
I try to boot Talos with secure boot enabled from a disk image. To fully automate this I want to auto enroll the secure boot keys. This is already a feature when the ISO is used, but not using disk images (@frezbo told me). I think this would be a great feature to support (if possible of couse).
Beta Was this translation helpful? Give feedback.
All reactions