Skip to contentSkip to conversation

Move cert handling to certs/ directory

GIT PULL David Howells 2 participants 2 messages Aug 24, 2015 – Aug 25, 2015 Crypto API

lore
Share & tools
lore
#0 lore raw

Hi James,

Sorry for the late request, but can you pull this please? It's a set of commits that puts a bit of polish on the previous module signing patches. It moves the certificate handling to its own directory rather than sharing in the kernel/ directory. It then moves key generation into the certs/ directory rather than doing it in the root.

This allows us to simplify the kernel/Makefile and slightly simplify the new certs/Makefile. It also keeps the various generated files in the same place to make them easier to find and clean up.

David
---
The following changes since commit 0e38c35815f50e5a347977d76fb5eb4c3bf020b5:

Merge branch 'smack-for-4.3' of https://github.com/cschaufler/smack-next into next (2015-08-14 17:35:10 +1000)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/modsign-pkcs7-20150814

for you to fetch changes up to 3ee550f12c1529a023f71c9b5becb3351911047b:

modsign: Handle signing key in source tree (2015-08-14 16:32:52 +0100)

----------------------------------------------------------------
Module signing with PKCS#7

----------------------------------------------------------------
David Howells (1):
Move certificate handling to its own directory

David Woodhouse (2):
modsign: Use if_changed rule for extracting cert from module signing key
modsign: Handle signing key in source tree

 Documentation/module-signing.txt        |  18 ++--
 MAINTAINERS                             |   9 ++
 Makefile                                |   9 +-
 certs/Kconfig                           |  42 ++++++++++
 certs/Makefile                          |  94 +++++++++++++++++++++
 {kernel => certs}/system_certificates.S |   4 +-
 {kernel => certs}/system_keyring.c      |   0
 crypto/Kconfig                          |   1 +
 init/Kconfig                            |  39 ---------
 kernel/Makefile                         | 143 --------------------------------
 scripts/Kbuild.include                  |  51 ++++++++++++
 11 files changed, 212 insertions(+), 198 deletions(-)
 create mode 100644 certs/Kconfig
 create mode 100644 certs/Makefile
 rename {kernel => certs}/system_certificates.S (86%)
 rename {kernel => certs}/system_keyring.c (100%)
#1 lore raw
Quoted 8 lines · David Howells

Hi James,

Sorry for the late request, but can you pull this please? It's a set of commits that puts a bit of polish on the previous module signing patches. It moves the certificate handling to its own directory rather than sharing in the kernel/ directory. It then moves key generation into the certs/ directory rather than doing it in the root.

Quoted 4 lines

This allows us to simplify the kernel/Makefile and slightly simplify the new certs/Makefile. It also keeps the various generated files in the same place to make them easier to find and clean up.

Pulled to my next branch, thanks.

- James

Signature · 2 lines
James Morris
<[email protected]>