I’ve made the effort to secure mine and am aware of how the trusted protection module works with keys, Fedora’s Anaconda system, the shim, etc. I’ve seen where some here have mentioned they do not care or enable secure boot. Out of open minded curiosity for questioning my biases, I would like to know if there is anything I’ve overlooked or never heard of. Are you hashing and reflashing with a CH341/Rπ/etc, or is there some other strategy like super serious network isolation?

  • TheButtonJustSpins
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    7
    ·
    17 days ago

    You have to turn off Secure Boot to enable hibernation, and I value hibernation enough to do so.

    • 69420@lemmy.world
      link
      fedilink
      English
      arrow-up
      18
      arrow-down
      3
      ·
      17 days ago

      This is patently false. Secure boot and hibernation are not mutually exclusive.

      • thayer@lemmy.ca
        link
        fedilink
        English
        arrow-up
        4
        ·
        17 days ago

        Not mutually exclusive, but it’s highly probable that if you’re running a mainstream distro, the default kernel is in lockdown mode, preventing hibernation while secure boot is enabled.

        • Skull giver@popplesburger.hilciferous.nl
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          17 days ago

          On Linux there have been some challenges. Lockdown mode and hibernation don’t play nice. This isn’t to do with secure boot (you can also disable lockdown mode individually) but to prevent kernel access to processes that can edit the hibernation image last-minute (to bypass SELinux, for instance, which shouldn’t be possible even as root), lockdown mode has prevented hibernation for the longest time. I don’t know if it’s been fixed yet, it’s been a while since I last checked.

          Disabling secure boot makes the kernel go “whelp, looks like there’s no way to secure the boot process anyway” and will disable lockdown mode by default. If your device is free from other lockdown mode issues, this’ll seem to turn secure boot into a lockdown mode toggle, even though it’s just a side effect.

      • TheButtonJustSpins
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        2
        ·
        17 days ago

        While I believe you, I haven’t been able to enable hibernation with it on.

    • SteveTech@programming.dev
      link
      fedilink
      English
      arrow-up
      10
      ·
      17 days ago

      I believe if your swap partition is on an encrypted LVM, you can still hibernate with kernel lockdown enabled.

      • 0x0
        link
        fedilink
        arrow-up
        2
        ·
        15 days ago

        This is my setup on debian. Works without any issues.