How do I build a custom kernel with modules signed.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am building a kernel from the fedora `kernel.spec` file and SRPM. It works as good as the official kernel, but nothing in it is signed. I know that I can sign the kernel RPM package, but what about the kernel itself (for secure boot). The Fedora kernel is signed on a separate system, but I can not find any docs for it. I know that I cant use Fedora's keys, but what about signing it with my keys, then adding those keys to the shim.

I am trying to make it so that a user starting on a fresh install can use the kernel by adding the public keys to the shim, then installing the kernel RPM. I also want the modules to be signed with my key (I don't care if it is the same key that used for the rest of the kernel). I do not mean signing the RPM packages, but the binaries that are installed from the RPM package. I also do not want to have to signed the installed binaries with a per install key locally. 

tl;dr: I want to make kernel RPM package that is exactly the same as the Fedora package, but I compile it, and it uses my signing keys. I also want to be able to distribute this in the same way as the Fedora package, but with the user adding the key to the shim.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux