Skip to content

Commit

Permalink
sign-file: Document dependency on OpenSSL devel libraries
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: David Woodhouse <[email protected]>
  • Loading branch information
dhowells committed Aug 12, 2015
1 parent 99db443 commit 228c37f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Documentation/module-signing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ This has a number of options available:
additional certificates which will be included in the system keyring by
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
Expand Down
4 changes: 4 additions & 0 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1897,6 +1897,10 @@ config MODULE_SIG
is simply appended to the module. For more information see
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
module DOES NOT get stripped after being signed. This includes the
debuginfo strip done by some packagers (such as rpmbuild) and
Expand Down

0 comments on commit 228c37f

Please sign in to comment.