Bug 6764

Summary: Support for kernel signed modules
Product: buildroot Reporter: Cassiano Martin <cassiano>
Component: OtherAssignee: unassigned
Status: RESOLVED WONTFIX    
Severity: enhancement CC: buildroot, yann.morin.1998
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:
Attachments: signed modules patch

Description Cassiano Martin 2014-01-06 19:03:41 UTC
Attached is a patch which enable signed kernel modules usage, when stripping is activated on build options

If modules are stripped, the signing key is removed from it, preventing module load.
Comment 1 Cassiano Martin 2014-01-06 19:06:09 UTC
Created attachment 5162 [details]
signed modules patch
Comment 2 Yann E. MORIN 2014-01-06 19:20:26 UTC
Cassiano, All,

Thanks for your patch.

Could you please conmtribute it as explained in the manual, please?
http://buildroot.net/downloads/manual/manual.html#_contributing_to_buildroot

We do not use the bug-tracker to submit patches, only to track
actual and unsolved issues.

Regards,
Yann E. MORIN.
Comment 3 Thomas De Schampheleire 2014-02-07 08:40:52 UTC
Hi Cassiano, 

Do you mind sending your patch to the mailing list?
This will facilitate review and discussion on the patch, and finally integration in buildroot itself.
You will need to be subscribed to the list, though.
http://www.buildroot.org/lists.html

Thanks in advance!
Thomas
Comment 4 Thomas De Schampheleire 2014-02-23 14:51:22 UTC
A better solution to this problem would be to strip the modules before signing. However, this should be done in the kernel rather than in buildroot.
Please discuss the matter upstream, once it is fixed there, it will be in buildroot too (when using these newer kernels). Thanks.