blob: b76235ae4786f2c34bc26072fad69bf457b124ce [file] [log] [blame]
Mimi Zoharf381c272011-03-09 14:13:22 -05001#
2config INTEGRITY
Dmitry Kasatkin7ef84e62014-04-17 15:07:15 +03003 bool "Integrity subsystem"
4 depends on SECURITY
5 default y
6 help
7 This option enables the integrity subsystem, which is comprised
8 of a number of different components including the Integrity
9 Measurement Architecture (IMA), Extended Verification Module
10 (EVM), IMA-appraisal extension, digital signature verification
11 extension and audit measurement log support.
12
13 Each of these components can be enabled/disabled separately.
14 Refer to the individual components for additional details.
15
16if INTEGRITY
Mimi Zoharf381c272011-03-09 14:13:22 -050017
Dmitry Kasatkinf1be2422012-01-17 17:12:07 +020018config INTEGRITY_SIGNATURE
Dmitry Kasatkin8607c502011-10-05 11:54:46 +030019 boolean "Digital signature verification using multiple keyrings"
Dmitry Kasatkin7ef84e62014-04-17 15:07:15 +030020 depends on KEYS
Dmitry Kasatkin8607c502011-10-05 11:54:46 +030021 default n
Dmitry Kasatkin5e8898e2012-01-17 17:12:03 +020022 select SIGNATURE
Dmitry Kasatkin8607c502011-10-05 11:54:46 +030023 help
24 This option enables digital signature verification support
25 using multiple keyrings. It defines separate keyrings for each
26 of the different use cases - evm, ima, and modules.
27 Different keyrings improves search performance, but also allow
28 to "lock" certain keyring to prevent adding new keys.
29 This is useful for evm and module keyrings, when keys are
30 usually only added from initramfs.
31
Dmitry Kasatkin1ae8f412014-04-17 14:41:06 +030032config INTEGRITY_ASYMMETRIC_KEYS
33 boolean "Enable asymmetric keys support"
34 depends on INTEGRITY_SIGNATURE
35 default n
36 select ASYMMETRIC_KEY_TYPE
37 select ASYMMETRIC_PUBLIC_KEY_SUBTYPE
38 select PUBLIC_KEY_ALGO_RSA
39 select X509_CERTIFICATE_PARSER
40 help
41 This option enables digital signature verification using
42 asymmetric keys.
43
Mimi Zohard726d8d2013-03-18 14:48:02 -040044config INTEGRITY_AUDIT
45 bool "Enables integrity auditing support "
Dmitry Kasatkin7ef84e62014-04-17 15:07:15 +030046 depends on AUDIT
Mimi Zohard726d8d2013-03-18 14:48:02 -040047 default y
48 help
49 In addition to enabling integrity auditing support, this
50 option adds a kernel parameter 'integrity_audit', which
51 controls the level of integrity auditing messages.
52 0 - basic integrity auditing messages (default)
53 1 - additional integrity auditing messages
54
55 Additional informational integrity auditing messages would
56 be enabled by specifying 'integrity_audit=1' on the kernel
57 command line.
58
Mimi Zoharf381c272011-03-09 14:13:22 -050059source security/integrity/ima/Kconfig
Mimi Zohar66dbc3252011-03-15 16:12:09 -040060source security/integrity/evm/Kconfig
Dmitry Kasatkin7ef84e62014-04-17 15:07:15 +030061
62endif # if INTEGRITY