KMODSIGN(1)
π KMODSIGN β a.k.a. kmodsign(1) from the User Commands section β¨
okay bestie, sit down, hydrate, and let me tell you about the kernel module signing tool π this one lives in section 1 of the manual, and it's literally the thing that makes your modules β¨trustworthyβ¨ to a suspicious kernel. no cap.
πΈ NAME πΈ
kmodsign β the kernel module signing tool. that's it, that's the name, short and iconic π
π¦ SYNOPSIS π¦
kmodsign [-dpkD] <hash algo> <key> <x509> <module> [<dest>]
so like, flags first, then a hash algo, then your key, then your x509, then the module, and maybe a destination if you're feeling generous π«Ά that's the whole shape of it.
β¨ DESCRIPTION β¨
Sign a kernel module image for use with an enforcing kernel.
fr fr that's the entire job description: you hand it a kernel module, it signs it, and now an enforcing kernel will actually be chill about loading it. no signature, no entry, iykyk π
π OPTIONS π
-pβ ok so this one saves a copy of the p7s signature with a.p7sextension. a lil keepsake π-dβ this gives you a detached signature file (.p7s) only. that's it. just the signature, nothing else. very minimalist of it πΈ-Dβ this one produces a full detached signature block, and the tea is it may be cat'd onto the end of a module π so you can just append it. obsessed.-kβ switch to using keyid for identification. keyid szn, periodt π₯
β οΈ quick vibe check: those four flags in the synopsis are written glued together as[-dpkD], and yeah you can absolutely stack them. also ngl,<dest>in the synopsis is square-bracketed, so it's optional β if you skip it, don't come crying to me about where the output went π
one last thing before you go β this page is kmodsign 4.4, dated July 2026 π and yeah it says kmodsign at the top and bottom too bc man pages are dramatic like that. mwah, go sign something, you ate πππ
π¦ where this page comes from
- ubuntu stonking: sbsigntool 0.9.5-2build1 Β· GPL-3.0-or-later WITH OpenSSL exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms