Commit 228c37ff authored by David Howells's avatar David Howells

sign-file: Document dependency on OpenSSL devel libraries

The revised sign-file program is no longer a script that wraps the openssl
program, but now rather a program that makes use of OpenSSL's crypto
library.  This means that to build the sign-file program, the kernel build
process now has a dependency on the OpenSSL development packages in
addition to OpenSSL itself.

Document this in Kconfig and in module-signing.txt.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Reviewed-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 99db4435
...@@ -111,6 +111,9 @@ This has a number of options available: ...@@ -111,6 +111,9 @@ This has a number of options available:
additional certificates which will be included in the system keyring by additional certificates which will be included in the system keyring by
default. default.
Note that enabling module signing adds a dependency on the OpenSSL devel
packages to the kernel build processes for the tool that does the signing.
======================= =======================
GENERATING SIGNING KEYS GENERATING SIGNING KEYS
......
...@@ -1897,6 +1897,10 @@ config MODULE_SIG ...@@ -1897,6 +1897,10 @@ config MODULE_SIG
is simply appended to the module. For more information see is simply appended to the module. For more information see
Documentation/module-signing.txt. Documentation/module-signing.txt.
Note that this option adds the OpenSSL development packages as a
kernel build dependency so that the signing tool can use its crypto
library.
!!!WARNING!!! If you enable this option, you MUST make sure that the !!!WARNING!!! If you enable this option, you MUST make sure that the
module DOES NOT get stripped after being signed. This includes the module DOES NOT get stripped after being signed. This includes the
debuginfo strip done by some packagers (such as rpmbuild) and debuginfo strip done by some packagers (such as rpmbuild) and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment