NixOS / NixOS/org

Secureboot with Shim

Open
#45 9 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
48
Forks
36
Avg merge
2m
Merged PRs (30d)
3

Description

SecureBoot support on a Linux distribution requires a shim binary signed by Microsoft to be loaded before boot, and there was some efforts to make it happen on NixOS.

A lot has changed since then, both above mentioned people are not actively participating in Nixpkgs, and we have an entirely new management structure with the SC.

Could the SC move forward with this? I believe it's not something a random contributor like us, can move it to the finish line. A security contact from the foundation/organisation is needed.

We can argue over and over about how SecureBoot setup benefits Microsoft, and the UX design is just bad, but it has undoubtedly been adopted by all modern hardware vendors.

Currently, to install NixOS, one needs to disable SecureBoot, which just ends up painting the bad picture, unlike Fedora or Ubuntu, which installs fine from the ISO out of the box. Disabling SecureBoot is not something good for security, even though it has its caveats.

Sure, we can reuse the shim binary that are provided by Ubuntu or Fedora, but again reusing things from other distros is not a good idea. We'd not have any control over the builds, and those distros can just stop making those builds publicly accessible.


It's time we actually address this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked shim-review and nixos-shim efforts, then establish whether the SC and a foundation security contact can own the work. Done would require an agreed path for producing and maintaining a Microsoft-signed shim for NixOS, rather than another individual implementation attempt.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.