Skip to content

Unifrom keyring support across architectures and functions

Michal Suchanek kexec keyrings linux-arm-kernel linux-modules linux-s390 linux-security-module lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Fix arm64 kexec forbidding kernels signed with keys in the secondary keyring to bootarch/arm64/kernel/kexec_image.c+2 -12 replies
2/4kexec, KEYS, arm64: Make use of platform keyring for signature verificationarch/arm64/kernel/kexec_image.c+11 -31 reply
3/4kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verificationarch/s390/kernel/machine_kexec_file.c+13 -51 reply
4/4module, KEYS: Make use of platform keyring for signature verificationkernel/module_signing.c+10 -414 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchLee, Chun-YiBaoquan He
1/4R-b A-b
2/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Unifrom keyring support across architectures and functions

While testing KEXEC_SIG on powerpc I noticed discrepancy in support for different keyrings across architectures and between KEXEC_SIG and MODULE_SIG. Fix this by enabling suport for the missing keyrings.

The latter two patches obviously conflict with the ongoing module code cleanup. If they turn out desirable I will add them to the other series dealing with KEXEC_SIG.

The arm patches can be merged independently.

Thanks

Michal

Michal Suchanek (4):
Fix arm64 kexec forbidding kernels signed with keys in the secondary
keyring to boot
kexec, KEYS, arm64: Make use of platform keyring for signature
verification
kexec, KEYS, s390: Make use of built-in and secondary keyring for
signature verification
module, KEYS: Make use of platform keyring for signature verification

 arch/arm64/kernel/kexec_image.c       | 13 +++++++++++--
 arch/s390/kernel/machine_kexec_file.c | 18 +++++++++++++-----
 kernel/module_signing.c               | 14 ++++++++++----
 3 files changed, 34 insertions(+), 11 deletions(-)
Signature · 1 line
2.31.1