lucasw / image_to_v4l2loopback

Stream ROS image topics to /dev/video using https://github.com/umlaeute/v4l2loopback
BSD 3-Clause "New" or "Revised" License
18 stars 24 forks source link

v4l2loopback module signing #2

Open lucasw opened 4 years ago

lucasw commented 4 years ago

How to get v4l2loopback working with UEFI secure boot?

$ sudo modprobe v4l2loopback
modprobe: ERROR: could not insert 'v4l2loopback': Operation not permitted
PKCS#7 signature not signed with a trusted key

Tried disabling validation with mokutils, rebooted and still didn't work, look into this further.

lucasw commented 4 years ago

Build https://github.com/umlaeute/v4l2loopback from scratch and sign key for myself?

https://ubuntu.com/blog/how-to-sign-things-for-secure-boot

lucasw commented 4 years ago

On another computer installing v4l2loopback had a prompt that said secure boot was enabled, wanted a password for it, and presumably gave it permission- need to reboot and see if it works.

Need to go into the mokutils shim utility and select change state, then disable secure boot, now can modprobe.