Linux users may face yet another hurdle related to Secure Boot when the Microsoft-signed key used by many distributions to support the firmware-based security feature expires on September 11, leaving users at the mercy of distribution from OEMs, and systems possibly not receiving a necessary firmware update.

As LWN reported (paywall) that Microsoft will stop using the expiring key to sign the shim in September. “But the replacement key, which has been available since 2023, may not be installed on many systems; worse yet, it may require the hardware vendor to issue an update for the system firmware, which may or may not happen,” LWN said. “It seems that the vast majority of systems will not be lost in the shuffle, but it may require extra work from distributors and users.”

The report said manufacturers could add support for the new key in a full firmware update or by updating the KEK database. The former assumes that manufacturers would be interested in distributing a firmware update for a wide variety of products so a small percentage of their users could use Secure Boot with a non-Windows OS; the latter is an unproven mechanism that isn’t guaranteed to work on all devices. Both seem likely to leave at least some people to figure out a solution on their own.

  • Meron35@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    7 days ago

    Microsoft’s Secure Boot UEFI bootloader signing key expires in September, posing problems for Linux users

  • hbar@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    7 days ago

    So my old Lenovo x220 that started as Windows and since then I wiped and installed pop os with full disk encryption is going to have a problem?

    • icedterminal@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 days ago

      Secure boot will fail validation. You can still boot it anyway by disabling secure boot. You just lose a layer of security. You can manually sign boot files yourself and add the relevant certificate to the motherboard firmware database. Assuming it lets you.

      • hbar@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        6 days ago

        I see, I’m just a novice at Linux and this seems complicated. Is there a good tutorial somewhere? Otherwise I might just disable secure boot

        • icedterminal@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          2 days ago

          Sorry for delay.

          Install sbsigntool

          Create Certificate:

          openssl x509 -outform der -in cacert.pem -out certificate.crt
          

          The resulting certificate.crt is what will be used to verify the signature of the EFI binary. You will import this into the motherboards firmware database.

          Sign EFI Binary:

          sbsign --key cakey.pem --cert cacert.pem bootx64.efi --output BOOTX64.efi
          

          After you sign the boot file, reboot into the firmware and import the certificate. Reboot normally and secure boot should work without issue.

  • Bluewing@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    7 days ago

    It would appear that major distros like RedHat/Fedora, Ubuntu, Debian, etc are not overly concerned at this point. I would suspect that if they truely feared this happening, they would be moving very quickly to create patches or work arounds for this problem.

  • fubarx@lemmy.world
    link
    fedilink
    arrow-up
    46
    ·
    8 days ago

    If you start with a reasonably recent Windows machine, there’s a TPM with secure boot (and MS keys) enabled. If setting up dualboot Windows/Linux, you’re going through BIOS/UEFI, so expiring keys will affect you. Booting into Windows and doing an update should fix the problem.

    If you disabled secureboot/FDE, then installed Linux and left it at that, you should be OK.

    But under Linux, those who reenable fulldisk encryption or secure boot via the TPM may be impacted by this, and since they’ve removed Windows, they may be screwed: https://allthings.how/how-to-enable-tpm-encryption-and-secure-boot-on-ubuntu-24-04/

      • fubarx@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        7 days ago

        The Windows update loads a chain of trust that tells the bootloader the device is OK and your version of Windows is real and your full-disk-encryption is fine. Linux folks don’t have (or need) all that. They can create their own chain of trust if they want, but they don’t have read/write access to the Microsoft one.

        If they did, we would be reading a completely different article starting with why the world was on fire.

    • ArcaneSlime@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      7 days ago

      So my framework 16 that has never seen Windows running FedoraKDE with FDE (but not auto-unlock, typed pass every boot) enabled is going to explode?

      Half kidding, but like, should I disable secure boot or something? Run fwupd?

      • fubarx@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        7 days ago

        If it’s never seen Windows you may be fine.

        The problem is mostly for systems that dual-boot or had Windows at one point, but got Linux installed on top. A lot of people use old Lenovo, HP, or Dell computers and repurpose them for Linux. Those are the ones that may get bit.

        • ArcaneSlime@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          2
          ·
          7 days ago

          Ordered it plain, added flavor myself (FedoraKDE, as I mentioned lol).

          I do have a few spare old laptops with linux that used to be windows, but tbh the critical one is my main, the others don’t really need secure boot as long as they don’t get bricked.

  • Goun@lemmy.ml
    link
    fedilink
    arrow-up
    26
    ·
    8 days ago

    I don’t understand, a. Why is Linux using Microsoft keys?, and b. Why isn’t this a problem for Windows too?

  • toynbee@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    8 days ago

    I’ve learned several new commands from this thread and am grateful to all of you who’ve taught me them.