modsign: Extract signing cert from CONFIG_MODULE_SIG_KEY if needed
authorDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 20 Jul 2015 20:16:30 +0000 (21:16 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 7 Aug 2015 15:26:14 +0000 (16:26 +0100)
commit1329e8cc69b93a0b1bc6d197b30dcff628c18dbf
treec468b5fe99777d0e5072b1bc41f43ef47253cf8e
parent19e91b69d77bab16405cc284b451378e89a4110c
modsign: Extract signing cert from CONFIG_MODULE_SIG_KEY if needed

Where an external PEM file or PKCS#11 URI is given, we can get the cert
from it for ourselves instead of making the user drop signing_key.x509
in place for us.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Documentation/module-signing.txt
init/Kconfig
kernel/Makefile
scripts/Makefile
scripts/extract-cert.c [new file with mode: 0644]