Re: MODSIGN: Modules fail signature verification with -ENOKEY

From: Chris Samuel
Date: Sat Jan 12 2013 - 17:33:17 EST


/* Please CC, not on LKML */

On 13/01/13 00:08, Josh Boyer wrote:

On Sat, Jan 12, 2013 at 1:28 AM, Chris Samuel <chris@xxxxxxxxxxx> wrote:
>
>> [...Debian kernel-build...]
I'll file a bug against it asking for the it to not strip if
CONFIG_MODULE_SIG is set.

Thanks for the pointer!

Great. Glad you figured it out.

It raises a question - if we have CONFIG_MODULE_SIG should we disable stripping modules in the top level Makefile as it's going to break things?

The parsing for CONFIG_MODULE_SIG happens right after that for INSTALL_MOD_STRIP so the stripping could be disabled with with:

mod_strip_cmd = true
export strip_cmd

cheers,
Chris
--
Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/