CONFIG_INTEGRITY Integrity subsystem
This option enables the integrity subsystem, which is comprised of a number of different components including the Integrity Measurement Architecture (IMA), Extended Verification Module (EVM), IMA-appraisal extension, digital signature verification extension and audit measurement log support.
Each of these components can be enabled/disabled separately. Refer to the individual components for additional details.
- Depends on
SECURITY
If INTEGRITY
CONFIG_INTEGRITY_SIGNATURE Digital signature verification using multiple keyrings
This option enables digital signature verification support using multiple keyrings. It defines separate keyrings for each of the different use cases - evm, ima, and modules. Different keyrings improves search performance, but also allow to "lock" certain keyring to prevent adding new keys. This is useful for evm and module keyrings, when keys are usually only added from initramfs.
If INTEGRITY_SIGNATURE
CONFIG_INTEGRITY_ASYMMETRIC_KEYS Enable asymmetric keys support
This option enables digital signature verification using asymmetric keys.
- Depends on
INTEGRITY && INTEGRITY_SIGNATURE - Selects
ASYMMETRIC_KEY_TYPE if INTEGRITY && INTEGRITY_SIGNATURE - Selects
ASYMMETRIC_PUBLIC_KEY_SUBTYPE if INTEGRITY && INTEGRITY_SIGNATURE - Selects
CRYPTO if INTEGRITY && INTEGRITY_SIGNATURE - Selects
CRYPTO_RSA if INTEGRITY && INTEGRITY_SIGNATURE - Selects
X509_CERTIFICATE_PARSER if INTEGRITY && INTEGRITY_SIGNATURE
If INTEGRITY_ASYMMETRIC_KEYS
CONFIG_INTEGRITY_TRUSTED_KEYRING Require all keys on the integrity keyrings be signed
This option requires that all keys added to the .ima and .evm keyrings be signed by a key on the system trusted keyring.
- Depends on
INTEGRITY && SYSTEM_TRUSTED_KEYRING && INTEGRITY_ASYMMETRIC_KEYS
CONFIG_INTEGRITY_PLATFORM_KEYRING Provide keyring for platform/firmware trusted keys
Provide a separate, distinct keyring for platform trusted keys, which the kernel automatically populates during initialization from values provided by the platform for verifying the kexec'ed kerned image and, possibly, the initramfs signature.
- Depends on
INTEGRITY && INTEGRITY_ASYMMETRIC_KEYS && SYSTEM_BLACKLIST_KEYRING
CONFIG_INTEGRITY_MACHINE_KEYRING Provide a keyring to which Machine Owner Keys may be added
If set, provide a keyring to which Machine Owner Keys (MOK) may be added. This keyring shall contain just MOK keys. Unlike keys in the platform keyring, keys contained in the .machine keyring will be trusted within the kernel.
- Depends on
INTEGRITY && SECONDARY_TRUSTED_KEYRING && INTEGRITY_ASYMMETRIC_KEYS && SYSTEM_BLACKLIST_KEYRING && (LOAD_UEFI_KEYS || LOAD_PPC_KEYS)
If INTEGRITY_MACHINE_KEYRING
CONFIG_INTEGRITY_CA_MACHINE_KEYRING Enforce Machine Keyring CA Restrictions
The .machine keyring can be configured to enforce CA restriction on any key added to it. By default no restrictions are in place and all Machine Owner Keys (MOK) are added to the machine keyring. If enabled only CA keys are added to the machine keyring, all other MOK keys load into the platform keyring.
- Depends on
INTEGRITY && INTEGRITY_MACHINE_KEYRING
If INTEGRITY_CA_MACHINE_KEYRING
CONFIG_INTEGRITY_CA_MACHINE_KEYRING_MAX Only CA keys without DigitialSignature usage set
When selected, only load CA keys are loaded into the machine keyring that contain the CA bit set along with the keyCertSign Usage field. Keys containing the digitialSignature Usage field will not be loaded. The remaining MOK keys are loaded into the .platform keyring.
- Depends on
INTEGRITY && INTEGRITY_CA_MACHINE_KEYRING
CONFIG_LOAD_UEFI_KEYS
- Depends on
INTEGRITY && INTEGRITY_PLATFORM_KEYRING &&
CONFIG_LOAD_IPL_KEYS
- Depends on
INTEGRITY && INTEGRITY_PLATFORM_KEYRING && S390
CONFIG_LOAD_PPC_KEYS Enable loading of platform and blacklisted keys for POWER
Enable loading of keys to the .platform keyring and blacklisted hashes to the .blacklist keyring for powerpc based platforms.
- Depends on
INTEGRITY && INTEGRITY_PLATFORM_KEYRING && PPC_SECURE_BOOT
CONFIG_INTEGRITY_AUDIT Enables integrity auditing support
In addition to enabling integrity auditing support, this option adds a kernel parameter 'integrity_audit', which controls the level of integrity auditing messages. 0 - basic integrity auditing messages (default) 1 - additional integrity auditing messages
Additional informational integrity auditing messages would be enabled by specifying 'integrity_audit=1' on the kernel command line.