Re: [PATCH] ima: require CONFIG_MODULES for IMA_APPRAISE_MODSIG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 4/22/21 9:29 AM, Arnd Bergmann wrote:
From: Arnd Bergmann <arnd@xxxxxxxx>

When module support is disabled, CONFIG_MODULE_SIG_HASH cannot
be set either, so the build process fails with an error

certs/Makefile:52: *** Could not determine digest type to use from kernel config.  Stop.

when IMA_APPRAISE_MODSIG is set but modules are not.

Add a Kconfig dependency to prevent this configuration.

Fixes: 0165f4ca223b ("ima: enable signing of modules with build time generated key")
Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Thanks Arnd !!

This fix solves the config issue, but adds an unnecessary MODULES dependency on APPRAISE_MODSIG. APPRAISE_MODSIG can be used for kernel image(appended signature) as well as for kernel modules.

I am working on the fix. I am sorry for the delay, I got stuck with some urgent issues early this week.

Thanks & Regards,

      - Nayna




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux