Please provide a signed syslinux-efi for secure-boot enabled systems

Bug #1465396 reported by Jason Gerard DeRose
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
System76
New
Undecided
Unassigned
syslinux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

syslinux-efi is a great option for PXE booting a UEFI-mode client, but the current package is not signed and so cannot be used when secure-boot is enable.

It would be very helpful if there was, say, a `syslinux-signed-efi` package similar to `linux-signed-generic`, etc.

For what it's worth, System76 is working on switching all its products to UEFI, and this is one of the last blockers for our imaging system (we don't want customers to be confused/concerned about the "booting in insecure mode" message).

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

We have already been working on the "Booting in insecure mode message", a new version of shim is available in proposed for all currently supported releases of Ubuntu, this should fix the technical issues with using the currently available methods of booting in UEFI mode.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :
Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Mathieu, so is it possible to use the signed shim with Syslinux then?

Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Mathieu: also, to clarify because I don't think my original description was clear enough:

We want to have our firmware in UEFI mode with secure boot on by default, yet we want to avoid having to toggle secure boot off in order to image, the toggle it back on prior to shipping to the customer.

The "Booting in insecure mode message" I'm talking about is the result of having secure-boot turned off at the firmware level, nothing to do with the operating system.

So for us, it would still be hugely helpful to have a signed EFI syslinux.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

@jderose signed with Microsoft Key, or Canonical Key? Are you willing provision Canonical UEFI key? I haven't looked into shim chainloading, but the signed shim should be able to chainload syslinux-efi instead of grub.

However, why syslinux-efi instead of grub? I believe it is possible to use shim+grub for EFI network boot.

Changed in syslinux (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Setting to Triaged. I was just addressing that specific issue about the "Booting from insecure mode" message; not about providing or not syslinux-efi-signed or some other method of booting in PXE with secure boot :)

Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Well, part of the reason for using syslinux over grub is our imaging system still needs to support PXE booting legacy BIOS systems, and syslinux is what we've used historically for that.

The other part is that back when I last tried using grub as a PXE bootloader, I wasn't able to get it working, although I haven't tried in a while. But we do have everything working with syslinux now, minus the signing.

As far as whether we want it signed with a with Microsoft Key or Canonical Key, I'm not totally clear on the details there, but I think we want it signed with whatever key is currently used to sign the shim and the kernels.

I was under the impression that the Canonical Key was signed by the same CA that the Microsoft Key is, and that's why you can still install Ubuntu on systems with secure boot enabled that originally shipped with Windows.

Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Mathieu: my goof... I thought the "Booting in insecure mode" message was actually coming from the firmware, didn't realize it was coming from shim. We confirmed that the shim package in proposed indeed fixes this behaviour.

And this also unblocks us when it comes to having a signed syslinux. We're not necessarily super attached to shipping with secure boot enabled (although we would like the option). What we are attached to is shipping UEFI systems and not having the "Booting in insecure mode" message cause customers needless concern and confusion.

Thanks for clearing this up for me, even though it took a bit for it to sink in! :D

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.