On Fri, 2026-10-16 at 15:04 +0200, Nowa Ammerlaan wrote:
> On 16/10/2026 14:42, James Le Cuirot wrote:
> > On Fri, 2026-10-16 at 12:17 +0200, Nowa Ammerlaan wrote:
> > > >         > On 15. Oct 2026, at 23:33, James Le Cuirot <che…@gentoo.org > > > >        <mailto:che…@gentoo.org>> wrote: > > > >         > > > > >         > On Thu, 2026-10-15 at 13:20 +0100, James Le Cuirot wrote: > > > >         >> Gentoo must therefore publish its own kernel and bootloader > > > >        builds signed with > > > >         >> its own key that Epic has agreed to trust. Signed UKIs are > > > >        probably not an > > > >         >> option as the kernel command line is baked in. > > > >         >> > > > >         >> From here, there are 3 options: > > > >         >> > > > >         >> a) Users enroll this key into their firmware db and boot without > > > >        the shim. > > > >         >> > > > >         >> b) Users install Fedora's signed shim (already packaged in > > > >        Gentoo) and enroll > > > >         >> this key into the MOK database. > > > >         >> > > > >         >> c) Gentoo approaches Microsoft to get a signed certificate so > > > >        that Gentoo can > > > >         >> be booted (via the shim) with Secure Boot enabled out of the box > > > >        on regular > > > >         >> PCs. This is obviously a great benefit by itself. > > > >         > > > > >         > I only remembered shortly after writing this and heading out the > > > >        door that > > > >         > Gentoo *already* publishes signed kernels and even UKIs. No > > > >        bootloader, but if > > > >         > the UKIs are usable, despite not being able to customise the > > > >        kernel command > > > >         > line, then you don't need one. > > > >         > > > > >         > So for (a) and (b), all Gentoo would need to do is ask Epic to > > > >        trust the > > > >         > existing key. I don't maintain the distribution kernels though, > > > >        so I'll leave > > > >         > that team to decide whether we should do this. > > > > > > > > > > > > Option C sounds like it would have a lot of benefit to releng as well. > > > > So should likely be considered as our end goal.
> > I'm personally more fond of the approach I have seen in Bazzite. They > borrow the Fedora shim like we do but have a super simple script to > deploy their certificate in the MOK. (Easy enough that my non-tech savvy > partner could do it)
Yeah, mokutil is pretty easy compared to the rest of the Gentoo install, but it would be nice if the installer CD and LiveGUI image booted out of the box.