From: Alexander Popov Date: Mon, 19 Feb 2024 12:25:09 +0000 (+0300) Subject: Add MODULE_SIG_SHA3_512 as a valid option X-Git-Tag: v0.6.10~108 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=31352cfaebcf88a4cf39ab41396182f61e0a0ab6;p=kconfig-hardened-check.git Add MODULE_SIG_SHA3_512 as a valid option Refers to #107 --- diff --git a/kernel_hardening_checker/checks.py b/kernel_hardening_checker/checks.py index a0a89e1..635f0c1 100644 --- a/kernel_hardening_checker/checks.py +++ b/kernel_hardening_checker/checks.py @@ -163,6 +163,7 @@ def add_kconfig_checks(l, arch): l += [OR(KconfigCheck('self_protection', 'kspp', 'MODULE_SIG_ALL', 'y'), modules_not_set)] l += [OR(KconfigCheck('self_protection', 'kspp', 'MODULE_SIG_SHA512', 'y'), + KconfigCheck('self_protection', 'my', 'MODULE_SIG_SHA3_512', 'y'), modules_not_set)] l += [OR(KconfigCheck('self_protection', 'kspp', 'MODULE_SIG_FORCE', 'y'), modules_not_set)] # refers to LOCKDOWN