diff options
author | Armin Kuster <akuster808@gmail.com> | 2019-05-19 09:51:08 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-05-28 07:38:52 -0700 |
commit | f26869aef36bd278d14cfe48101cdf5f7189a7c4 (patch) | |
tree | 27673fefda563c83a1bd4f785564a2ff1f659492 | |
parent | 756a1649b77de121748155f3e1917b22fd44782c (diff) | |
download | meta-security-f26869aef36bd278d14cfe48101cdf5f7189a7c4.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" |