I am running Debian 12 with nVidia proprietary drivers installed from the
official nVidia repository for Debian. I have SecureBoot enabled on my system and have set up automatic module signing via DKMS, as described
in this reddit thread. This worked well until I updated the drivers from 560.35.03 to 565.57.01, following the recent
security advisories. It seems like signing the nVidia modules no longer works and my system no longer boots into graphic mode, with errors reported from nvidia-persistencd service. Trying to sign a module manually by calling:
Code: Select all
/usr/src/linux-headers-6.1.0-26-amd64/scripts/sign-file sha256 /root/.mok/MOK.priv /root/.mok/MOK.der /lib/modules/6.1.0-26-amd64/updates/dkms/nvidia-current-drm.ko
results in:
Code: Select all
At main.c:298:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: /lib/modules/6.1.0-26-amd64/updates/dkms/nvidia-current-drm.ko
I note that there are no errors reported when (re)installing the nVidia driver packages, as if they were omitted or as if the module signing was not even attempted. Also, I can sign VirtualBox modules just fine, so it is not a general module signing problem, but rather specific to nVidia. The only way I can boot into graphic mode is by disabling SecureBoot in the BIOS. Help appreciated.