[Bug 1993646] Re: MOK-enrolled Secure Boot keys are not saved on the installed system when doing an OEM installation

Aaron Rainbolt 1993646 at bugs.launchpad.net
Fri Oct 21 18:22:16 UTC 2022


Makes sense, and as Erich pointed out, the MOK is the machine *owner*
key, so having an OEM automatically enroll it is invasive and, as you
point out, dangerous. However, at the same time, it looks to me like OEM
installations aren't compatible with Secure Boot, so figuring out some
way to fix that may be helpful. Perhaps it would be possible to make the
generation and enrollment of the MOK key happen after the user turns the
system on and sets it up for the first time?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1993646

Title:
  MOK-enrolled Secure Boot keys are not saved on the installed system
  when doing an OEM installation

Status in ubiquity package in Ubuntu:
  New

Bug description:
  Steps to reproduce:

  1: Enable Secure Boot.
  2: Install the latest Ubuntu Kinetic ISO using the OEM installation option. Make sure to allow the installation of proprietary drivers and choose to configure Secure Boot.
  3: Reboot and do the key enrollment with mokutil.
  4: Reboot again, open a terminal, and run "ls /var/lib/shim-signed/mok". Then prepare the system for the end user (double-clicking the shortcut on the desktop).
  5: Reboot again, then finish setup.
  6: Run "ls /var/lib/shim-signed/moK" again.

  Expected result: The files "MOK.priv" and "MOK.der" should be shown
  with each "ls" command.

  Actual result: The listed directory is empty both times.

  Notes:

  This did NOT happen to me on a non-OEM installation. I noticed it
  attempting to manually sign a driver while grappling with bug 1991725.
  It probably will interfere with the use of DKMS modules even if they
  get installed and signed properly the first time.

  For some reason "ubuntu-bug shim-signed" thought that shim-signed
  wasn't an official Ubuntu package, so I'm reporting this without using
  ubuntu-bug. I can provide any desired log files from the test system
  upon request.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1993646/+subscriptions




More information about the foundations-bugs mailing list