sicherboot(8)

πŸ“¦ version 0.1.5, in ubuntu jammy

πŸ’– sicherboot(8) πŸ’–

okay bestie, sit down, hydrate, because we're talking about sicherboot β€” and no, it's not a vibe, it's an actual manual page from section 8 of the Sicherboot User Manuals. it's giving "the friend who explains secure boot to you at 2am and somehow makes it make sense." 🫢


✨ NAME ✨

sicherboot β€” systemd-boot integration with UEFI secure boot support πŸ¦‹


🌸 SYNOPSIS 🌸

sicherboot [command] [arg...]

like. that's it. that's the whole shape of it. a command, then whatever args that command wants. iconic. πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

so here's the tea: sicherboot manages the systemd-boot bootloader and the kernels, all living inside an EFI System Partition (aka the ESP, and yes it's pronounced like the vibe, iykyk).

it keeps a whole set of keys in /etc/sicherboot/keys and uses them to sign the binaries so they work with secure boot. that's the whole point. keys in, signed binaries out, secure boot happy, you happy. πŸ’œ


πŸ”₯ INITIAL SETUP πŸ”₯

first things first, bestie. after you install sicherboot:

  • set up /etc/kernel/cmdline
  • and maybe tweak some options in /etc/sicherboot/sicherboot.conf to your liking

do that, get it looking how you want, and then run sicherboot setup to do the initial installation. that's the moment. that's the main character moment. ⭐

πŸ’« sicherboot setup

performs the initial installation of sicherboot to the ESP. basically it runs enroll-keys, install-kernel, and bootctl install β€” and it asks before each step, so it's not out here doing stuff behind your back. consent king behavior. πŸ‘‘


πŸ—οΈ KEY MANAGEMENT πŸ—οΈ

πŸ”‘ sicherboot generate-keys

generates keys in the directory configured in the KEY_HOME option. that's it, that's the job. ✨

πŸ“₯ sicherboot enroll-keys

copies the public keys into the ESP β€” and if there are no keys yet, it runs generate-keys first. so thoughtful of it fr fr. πŸ’–


🌈 KERNEL MANAGEMENT 🌈

πŸ“¦ sicherboot install-kernel [VERSION]

installs the specified kernel version to the ESP, with initramfs, and signed. the whole package, no crumbs. πŸ”₯

πŸ—‘οΈ sicherboot remove-kernel [VERSION]

removes the specified kernel version from the ESP. bye bestie, you served well. 😭


πŸ› οΈ OTHER TOOLS πŸ› οΈ

🌟 sicherboot bootctl [ARGUMENT...]

runs the bootctl program with whatever arguments you give it, and then signs the bootloader afterwards. two birds, one slay. πŸ¦‹

✍️ sicherboot sign-image EXECUTABLE

signs the given executable using the db key. no cap, that's literally what it does. πŸ’…


πŸ“ FILES πŸ“

  • /etc/sicherboot/sicherboot.conf β€” the sicherboot configuration file πŸŽ€
  • /etc/sicherboot/keys β€” the default key storage location πŸ—οΈ
  • /etc/kernel/cmdline β€” kernel command line configuration file 🌸

πŸ‘‘ AUTHORS πŸ‘‘

Julian Andres Klode. periodt. πŸ’œ


ok that's the whole page bestie, go secure your boot or whatever, you got this 🫢

and that's a wrap on the Sicherboot User Manuals, dated September 6, 2016 β€” older than some of us but still absolutely eating. mwah. πŸ˜˜πŸ’–

πŸ“¦ where this page comes from