Lanzaboote – NixOS Secure Boot

(x86.lol)

95 points | by evilmonkey19 3 days ago

10 comments

  • lrvick 3 hours ago
    Secure boot protects against evil maid attacks, but no one would ever need use an evil maid attack on a NixOS user because anyone can merge whatever they want to NixOS without signature or review, particularly given that any maintainer can merge their own commits from their own pseudonyms.

    NixOS is always one compromised Github API token away from a backdoor into everything built with NixOS.

    I cannot imagine a threat model that would need secure boot yet accept the risks of NixOS.

    • pkulak 6 minutes ago
      > without signature or review

      What are you on about now? I got _one_ of my projects accepted into NixPkgs a couple years ago and have never done it since due to the huge PITA it was to find someone with contributor rights to sign off on it. If I want to update it, same hassle. Now I prefer to just throw a flake in the root of the project and call it good, which actually works really well.

      Wait until you find out that Arch has both secure boot and the AUR.

  • embedding-shape 16 hours ago
    > We plan on streamlining this as much as possible, but so far this has not happened yet.

    Probably integrating something like sbctl (https://github.com/Foxboron/sbctl#sbctl---secure-boot-manage...) would do the trick, it's making the whole signing and key management dance easy.

    Seems to already work together with limine on NixOS too: https://search.nixos.org/options?channel=25.11&query=sbctl#s...

  • digdugdirk 3 hours ago
    That looks like a really nice hackathon! That said, the fact that they probably had a majority of the best NixOS developers in the world under one roof and they weren't solely focused on NixOS error messages is borderline criminal...
  • c0balt 15 hours ago
    Lanzaboote is great, I've been using it for almost a year now in a dual boot with Windows 11 for full secure boot on my desktop. It is quite stable (notably was set and forget) and the initial setup was relatively easy.
    • e12e 31 minutes ago
      Does it play well with bitkeeper full disk encryption?

      Previous attempts at dual booting windows 11 on a laptop - I had issues when Linux updated boot alternatives - windows would demand bitkeeper recovery key input.

  • pyrophane 15 hours ago
    Huh, as a Lanaboote user I’m surprised to see this on the front page. I use this in combination with sbctl for key generation. I’m mostly using it because I wanted to set up full disk encryption with TPM2 auth.
  • krautsauer 14 hours ago
    This needs a (2022).
  • evilmonkey19 3 days ago
    Browsing the internet about secure boot and NixOS, I found the article of one of the creators
  • aiscoming 7 hours ago
    this is how Microsoft wins the war against general computing

    you must not join it, refuse to lockdown your computer

  • rahadbhuiya 3 hours ago
    [dead]