Skip to content

Instantly share code, notes, and snippets.

@coder202
coder202 / signing-nvidia-kernel-modules.md
Last active April 27, 2025 08:01 — forked from reillysiemens/signing-vbox-kernel-modules.md
Signing Nvidia Proprietary Kernel Modules

Signing Nvidia Kernel Modules

(Tested on Fedora 35)

These are the steps I followed to enable Nvidia proprietary drivers boot with SecureBoot on my laptop without disabling UEFI Secure Boot. They're nearly identical to the process described on [Øyvind Stegard's blog][blog], save for a few key details. The images here are borrowed from the [Systemtap UEFI Secure Boot Wiki][systemtap].

  1. Install the Nvidia proprietary driver from the Rpmfusion repo (this might be different for your platform).
@coder202
coder202 / ubuntu-signing-nvidia.sh
Created December 30, 2021 11:43
Signing Nvidia Proprietary Modules - Ubuntu 20.04
#!/bin/sh
readonly hash_algo='sha256'
readonly key='/root/module-signing/MOK.priv'
readonly x509='/root/module-signing/MOK.der'
readonly name="$(basename $0)"
readonly esc='\\e'
readonly reset="${esc}[0m"