I'm having trouble loading my own module to the linux kernel. Once I execute:
$ sudo ./insmod hello.ko
I get the error:
insmod: ERROR: could not insert module hello.ko: Required key not available.
The .c and Makefile are provided and I believe they are correct, so I won't post them here.
I've done some research, and found that I can disable the secure boot in my PC and this should solve the problem, but I'm looking for an alternative solution that doesn't involve disabling the secure boot.
I also read something about setting up my own keys and signing everything with them, but the person that provided that answer didn't give any additional information about how to do that.
Any help on how to do it will be appreciated.