Re: [RFC PATCH 2/2] PKCS#7: Check codeSigning EKU for kernel module and kexec pe verification

From: Ben Boeckel
Date: Tue Oct 20 2020 - 09:42:14 EST


On Tue, Oct 20, 2020 at 14:50:01 +0800, Lee, Chun-Yi wrote:
> +config CHECK_CODESIGN_EKU
> + bool "Check codeSigning extended key usage"
> + depends on PKCS7_MESSAGE_PARSER=y
> + depends on SYSTEM_DATA_VERIFICATION
> + help
> + This option provides support for checking the codeSigning extended
> + key usage extension when verifying the signature in PKCS#7. It
> + affects kernel module verification and kexec PE binary verification
> + now.

Is the "now" necessary? Isn't it implied by the option's existence?

--Ben