It's a simple script that signs OpenRazer drivers on Fedora, so they'll be usable with UEFI Secure Boot.
Follow these steps before signing:
- Run
openssl req -config ./openssl.cnf \ -new -x509 -newkey rsa:2048 \ -nodes -days 36500 -outform DER \ -keyout "MOK.priv" \ -out "MOK.der"
sudo mokutil --import MOK.der
- Reboot and import the key in EFI.
First install the drivers however you like. Usually by dnf install openrazer-meta
. Then just run sudo sh ./razer-sign.sh
. You have to do this
with every new kernel, sadly.
As you're importing a custom key into EFI, obviously you shouldn't just leave it laying around on the internet. Back it up somewhere safe just in case.
Public domain.