aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2015-08-11 07:38:54 -0400
committerDavid Howells <dhowells@redhat.com>2015-08-12 12:01:01 -0400
commit228c37ff980f5643401a1667f5ab7c6f38602cf8 (patch)
treee5626bde6b067bc3119caba067307439328948a6
parent99db44350672c8a5ee9a7b0a6f4cd6ff10136065 (diff)
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: David Howells <dhowells@redhat.com> Reviewed-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r--Documentation/module-signing.txt3
-rw-r--r--init/Kconfig4
2 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/module-signing.txt b/Documentation/module-signing.txt
index 4e62bc29666e..02a9baf1c72f 100644
--- a/Documentation/module-signing.txt
+++ b/Documentation/module-signing.txt
@@ -111,6 +111,9 @@ This has a number of options available:
111 additional certificates which will be included in the system keyring by 111 additional certificates which will be included in the system keyring by
112 default. 112 default.
113 113
114Note that enabling module signing adds a dependency on the OpenSSL devel
115packages to the kernel build processes for the tool that does the signing.
116
114 117
115======================= 118=======================
116GENERATING SIGNING KEYS 119GENERATING SIGNING KEYS
diff --git a/init/Kconfig b/init/Kconfig
index 62b725653c36..5d1a703663ad 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1897,6 +1897,10 @@ config MODULE_SIG
1897 is simply appended to the module. For more information see 1897 is simply appended to the module. For more information see
1898 Documentation/module-signing.txt. 1898 Documentation/module-signing.txt.
1899 1899
1900 Note that this option adds the OpenSSL development packages as a
1901 kernel build dependency so that the signing tool can use its crypto
1902 library.
1903
1900 !!!WARNING!!! If you enable this option, you MUST make sure that the 1904 !!!WARNING!!! If you enable this option, you MUST make sure that the
1901 module DOES NOT get stripped after being signed. This includes the 1905 module DOES NOT get stripped after being signed. This includes the
1902 debuginfo strip done by some packagers (such as rpmbuild) and 1906 debuginfo strip done by some packagers (such as rpmbuild) and