Is there a way to properly list the drivers or kernel modules that are affected by enabling SecureBoot on my machine?
On my machine, I have an NVIDIA video card and I have installed its binary drivers through the PPA.
I have enrolled my own machine owner's key (MOK) and have signed some of the relevant kernel modules. That seems to work, but it's all just guess work: I just typed modinfo -n nvidia
and then used tab-completion to show the kernel modules with names starting with "nvidia". But how do I know I have been thorough and have not missed anything?
sbsign
and verified withsbverify
. Kernel modules, OTOH, are signed withsign-file
, which is part of the kernel source tree, and I don't see any obvious verification tool in the directory that holdssign-file
. The closest I can think of to doing what you want is to enable Secure Boot and then try loading the kernel module withmodprobe
and then see if it's loaded withlsmod
. If the module loads, then either it's signed or the kernel is not honoring Secure Boot. – Rod Smith Jun 09 '17 at 12:53