Can't sign openrazer module

asked 2019-02-20 22:18:22 -0600

BinaryAura gravatar image

I'm unable to sign openrazer's razercore.ko.xz kernel module. command:

/usr/src/kernels/4.20.8-200.fc29.x86_64/scripts/sign-file \
sha256 \
/home/jadunker/private_key.priv \
/home/jadunker/public_key.der \
razercore.ko.xz

Where ls /home/jadunker yields:

Desktop    Downloads  private_key.priv  School     Video
Developer  Music      Public            sha256     x509-config.ini
Documents  Pictures   public_key.der    Templates

sign-file outputs:

At main.c:163:
- SSL error:0909006C:PEM routines:get_name:no_start line: crypto/pem/pem_lib.c:745
sign-file: /home/jadunker/private_key.priv: No such file or directory

I was following the instructions at: https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/kernel-module-driver-configuration/Working_with_Kernel_Modules

edit retag flag offensive close merge delete