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

From: Randy Dunlap
Date: Tue Oct 20 2020 - 10:56:41 EST


On 10/20/20 6:42 AM, Ben Boeckel wrote:
> 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

extended ... extension.
Can we drop one of those or reword it?

>> + affects kernel module verification and kexec PE binary verification
>> + now.
>
> Is the "now" necessary? Isn't it implied by the option's existence?


--
~Randy