Bug 6764 - Support for kernel signed modules
Summary: Support for kernel signed modules
Status: RESOLVED WONTFIX
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-06 19:03 UTC by Cassiano Martin
Modified: 2014-02-23 14:51 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments
signed modules patch (1.36 KB, patch)
2014-01-06 19:06 UTC, Cassiano Martin
Details

Note You need to log in before you can comment on or make changes to this bug.
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.