SBSIGN(1)
π SBSIGN π
ok so real talk, this is sbsign from section 1 of the manual (User Commands, bestie, we're in the big leagues) β it's the UEFI secure boot signing tool and honestly? she's iconic. let's get into it π«Ά
β¨ NAME β¨
sbsign β the UEFI secure boot signing tool. that's it, that's the whole vibe. she signs things so your machine will actually trust them π₯
πΈ SYNOPSIS πΈ
sbsign [options] --key <keyfile> --cert <certfile> <efi-boot-image>
like, options go first, then you gotta have your key and your cert, then the EFI boot image you're signing. no cap π
π¦ DESCRIPTION π¦
okay so what does she actually do? literally this: sign an EFI boot image for use with secure boot.
that's the whole job. she takes your boot image, she signs it, and now secure boot is like "oh period, i trust this one." main character energy only π
π OPTIONS π
--engine <eng>β use the specified engine to load the key. you're handing the key-loading job off to eng, and honestly, delegation is self-care β¨--key <keyfile>β your signing key. and bestie, it's gotta be a PEM-encoded RSA private key, like that's non-negotiable. guard this file with your life fr fr π--cert <certfile>β your certificate. specifically an x509 certificate. she pairs with the key up there, they're a matching set π--addcert <addcertfile>β additional intermediate certificates in a file. yes additional, yes intermediate, yes you can bring your whole friend group π--detachedβ write a detached signature, instead of a signed binary. so the sig goes in its own little file instead of riding along inside the binary. independent queen behaviour π--output <file>β write signed data to<file>. and here's the default tea β: it's<efi-boot-image>.signed, or<efi-boot-image>.pk7for detached signatures. so if you don't specify, she picks for you, and she picks correctly π
heads up bestie: the default output name depends on whether you passed--detachedβ.signednormally,.pk7when it's detached. don't get caught out π
π§ a lil sign-off π§
and that's the whole page!! you read the entire thing, i'm so proud of you ππ«Ά this beauty is from sbsign 0.9.5, dated July 2025 β scream it from the rooftops, cite it in your notes, whatever, just remember it πβ¨
now go sign something. slay π
π¦ where this page comes from
- alpine 3.23: sbsigntool-doc 0.9.5-r3 Β· GPL-3.0-or-later WITH cryptsetup-OpenSSL-exception
- alpine 3.24: sbsigntool-doc 0.9.5-r3 Β· GPL-3.0-or-later WITH cryptsetup-OpenSSL-exception
- fedora 43: sbsigntools 0.9.5-11.fc43 Β· GPL-3.0-or-later AND LicenseRef-Fedora-Public-Domain AND LGPL-2.1-or-later AND LGPL-3.0-only AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms