diff options
| author | Armin Kuster <akuster808@gmail.com> | 2019-05-19 09:51:08 -0700 | 
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2019-05-26 21:58:11 -0700 | 
| commit | 40788be7b24c45f04fcf237998597e6cb3a159b8 (patch) | |
| tree | 27673fefda563c83a1bd4f785564a2ff1f659492 | |
| parent | 8ccf6cafba538b79aed3e5ce7837a77a2ac08e11 (diff) | |
| download | meta-security-40788be7b24c45f04fcf237998597e6cb3a159b8.tar.gz | |
ima.cfg: update to 5.0 kernel
Signed-off-by: Armin Kuster <akuster808@gmail.com>
| -rw-r--r-- | meta-integrity/recipes-kernel/linux/linux/ima.cfg | 28 | ||||
| -rw-r--r-- | meta-integrity/recipes-kernel/linux/linux/ima_evm_root_ca.cfg | 6 | 
2 files changed, 18 insertions, 16 deletions
| diff --git a/meta-integrity/recipes-kernel/linux/linux/ima.cfg b/meta-integrity/recipes-kernel/linux/linux/ima.cfg index 02381aa..b3e47ba 100644 --- a/meta-integrity/recipes-kernel/linux/linux/ima.cfg +++ b/meta-integrity/recipes-kernel/linux/linux/ima.cfg | |||
| @@ -1,16 +1,18 @@ | |||
| 1 | # Enable bare minimum IMA measurement and appraisal as needed by this layer. | ||
| 2 | |||
| 3 | CONFIG_SECURITY=y | ||
| 4 | CONFIG_INTEGRITY=y | ||
| 5 | |||
| 6 | # measurement | ||
| 7 | CONFIG_IMA=y | 1 | CONFIG_IMA=y | 
| 8 | 2 | CONFIG_IMA_MEASURE_PCR_IDX=10 | |
| 9 | # appraisal | 3 | CONFIG_IMA_NG_TEMPLATE=y | 
| 4 | CONFIG_IMA_DEFAULT_TEMPLATE="ima-ng" | ||
| 5 | CONFIG_IMA_DEFAULT_HASH_SHA1=y | ||
| 6 | CONFIG_IMA_DEFAULT_HASH="sha1" | ||
| 10 | CONFIG_IMA_APPRAISE=y | 7 | CONFIG_IMA_APPRAISE=y | 
| 11 | CONFIG_INTEGRITY_SIGNATURE=y | 8 | CONFIG_IMA_APPRAISE_BOOTPARAM=y | 
| 12 | CONFIG_INTEGRITY_ASYMMETRIC_KEYS=y | ||
| 13 | |||
| 14 | # Kernel will get built with embedded X.509 root CA key and all keys | ||
| 15 | # need to be signed with that. | ||
| 16 | CONFIG_IMA_TRUSTED_KEYRING=y | 9 | CONFIG_IMA_TRUSTED_KEYRING=y | 
| 10 | CONFIG_SIGNATURE=y | ||
| 11 | CONFIG_IMA_WRITE_POLICY=y | ||
| 12 | CONFIG_IMA_READ_POLICY=y | ||
| 13 | CONFIG_IMA_LOAD_X509=y | ||
| 14 | CONFIG_IMA_X509_PATH="/etc/keys/x509_ima.der" | ||
| 15 | |||
| 16 | #CONFIG_INTEGRITY_SIGNATURE=y | ||
| 17 | #CONFIG_INTEGRITY_ASYMMETRIC_KEYS=y | ||
| 18 | #CONFIG_INTEGRITY_TRUSTED_KEYRING=y | ||
| diff --git a/meta-integrity/recipes-kernel/linux/linux/ima_evm_root_ca.cfg b/meta-integrity/recipes-kernel/linux/linux/ima_evm_root_ca.cfg index 7338232..9a45425 100644 --- a/meta-integrity/recipes-kernel/linux/linux/ima_evm_root_ca.cfg +++ b/meta-integrity/recipes-kernel/linux/linux/ima_evm_root_ca.cfg | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | CONFIG_KEYS=y | 1 | # CONFIG_IMA_APPRAISE_SIGNED_INIT is not set | 
| 2 | CONFIG_SYSTEM_TRUSTED_KEYRING=y | 2 | CONFIG_EVM_LOAD_X509=y | 
| 3 | CONFIG_SYSTEM_TRUSTED_KEYS="" | 3 | CONFIG_EVM_X509_PATH="/etc/keys/x509_evm.der" | 
