1f381c272SMimi Zohar# 2f381c272SMimi Zoharconfig INTEGRITY 3f381c272SMimi Zohar def_bool y 466dbc325SMimi Zohar depends on IMA || EVM 5f381c272SMimi Zohar 6f1be242cSDmitry Kasatkinconfig INTEGRITY_SIGNATURE 78607c501SDmitry Kasatkin boolean "Digital signature verification using multiple keyrings" 8de353533SDmitry Kasatkin depends on INTEGRITY && KEYS 98607c501SDmitry Kasatkin default n 105e8898e9SDmitry Kasatkin select SIGNATURE 118607c501SDmitry Kasatkin help 128607c501SDmitry Kasatkin This option enables digital signature verification support 138607c501SDmitry Kasatkin using multiple keyrings. It defines separate keyrings for each 148607c501SDmitry Kasatkin of the different use cases - evm, ima, and modules. 158607c501SDmitry Kasatkin Different keyrings improves search performance, but also allow 168607c501SDmitry Kasatkin to "lock" certain keyring to prevent adding new keys. 178607c501SDmitry Kasatkin This is useful for evm and module keyrings, when keys are 188607c501SDmitry Kasatkin usually only added from initramfs. 198607c501SDmitry Kasatkin 20d726d8d7SMimi Zoharconfig INTEGRITY_AUDIT 21d726d8d7SMimi Zohar bool "Enables integrity auditing support " 22d726d8d7SMimi Zohar depends on INTEGRITY && AUDIT 23d726d8d7SMimi Zohar default y 24d726d8d7SMimi Zohar help 25d726d8d7SMimi Zohar In addition to enabling integrity auditing support, this 26d726d8d7SMimi Zohar option adds a kernel parameter 'integrity_audit', which 27d726d8d7SMimi Zohar controls the level of integrity auditing messages. 28d726d8d7SMimi Zohar 0 - basic integrity auditing messages (default) 29d726d8d7SMimi Zohar 1 - additional integrity auditing messages 30d726d8d7SMimi Zohar 31d726d8d7SMimi Zohar Additional informational integrity auditing messages would 32d726d8d7SMimi Zohar be enabled by specifying 'integrity_audit=1' on the kernel 33d726d8d7SMimi Zohar command line. 34d726d8d7SMimi Zohar 35e0751257SDmitry Kasatkinconfig INTEGRITY_ASYMMETRIC_KEYS 36e0751257SDmitry Kasatkin boolean "Enable asymmetric keys support" 37e0751257SDmitry Kasatkin depends on INTEGRITY_SIGNATURE 38e0751257SDmitry Kasatkin default n 39e0751257SDmitry Kasatkin select ASYMMETRIC_KEY_TYPE 40e0751257SDmitry Kasatkin select ASYMMETRIC_PUBLIC_KEY_SUBTYPE 41e0751257SDmitry Kasatkin select PUBLIC_KEY_ALGO_RSA 42e0751257SDmitry Kasatkin select X509_CERTIFICATE_PARSER 43e0751257SDmitry Kasatkin help 44e0751257SDmitry Kasatkin This option enables digital signature verification using 45e0751257SDmitry Kasatkin asymmetric keys. 46e0751257SDmitry Kasatkin 47f381c272SMimi Zoharsource security/integrity/ima/Kconfig 4866dbc325SMimi Zoharsource security/integrity/evm/Kconfig 49