summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.ibm.com>2024-06-19 10:15:53 -0400
committerArmin Kuster <akuster808@gmail.com>2024-07-01 07:07:58 -0400
commitd2d125de9231a9919f3b7f4be4b994336a2eced1 (patch)
treedbf48a2ea75b26c8aaa9e048f2b8bf363c0417da
parent81d5a6edc780fe8c94efe37842e52f7cc56957ae (diff)
downloadmeta-security-d2d125de9231a9919f3b7f4be4b994336a2eced1.tar.gz
meta-integrity: Remove stale variables and documentation
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-integrity/README.md7
-rw-r--r--meta-integrity/classes/ima-evm-rootfs.bbclass5
2 files changed, 1 insertions, 11 deletions
diff --git a/meta-integrity/README.md b/meta-integrity/README.md
index c333a9f..75dadd4 100644
--- a/meta-integrity/README.md
+++ b/meta-integrity/README.md
@@ -153,12 +153,7 @@ ima-evm-rootfs.bbclass:
153 IMA_EVM_KEY_DIR = "<full path>" 153 IMA_EVM_KEY_DIR = "<full path>"
154 IMA_EVM_PRIVKEY = "<some other path/privkey_ima.pem>" 154 IMA_EVM_PRIVKEY = "<some other path/privkey_ima.pem>"
155 155
156By default, the entire file system gets signed. When using a policy which 156By default, the entire file system gets signed.
157does not require that, the set of files to be labelled can be chosen
158by overriding the default "find" expression, for example like this:
159
160 IMA_EVM_ROOTFS_FILES = "usr sbin bin lib -type f"
161
162 157
1632. Usage 1582. Usage
164======== 159========
diff --git a/meta-integrity/classes/ima-evm-rootfs.bbclass b/meta-integrity/classes/ima-evm-rootfs.bbclass
index 7b73373..bc07d58 100644
--- a/meta-integrity/classes/ima-evm-rootfs.bbclass
+++ b/meta-integrity/classes/ima-evm-rootfs.bbclass
@@ -19,11 +19,6 @@ IMA_EVM_X509 ?= "${IMA_EVM_KEY_DIR}/x509_ima.der"
19# ima-local-ca.x509 is what ima-gen-local-ca.sh creates. 19# ima-local-ca.x509 is what ima-gen-local-ca.sh creates.
20IMA_EVM_ROOT_CA ?= "${IMA_EVM_KEY_DIR}/ima-local-ca.pem" 20IMA_EVM_ROOT_CA ?= "${IMA_EVM_KEY_DIR}/ima-local-ca.pem"
21 21
22# Sign all regular files by default.
23IMA_EVM_ROOTFS_SIGNED ?= ". -type f"
24# Hash nothing by default.
25IMA_EVM_ROOTFS_HASHED ?= ". -depth 0 -false"
26
27# Mount these file systems (identified via their mount point) with 22# Mount these file systems (identified via their mount point) with
28# the iversion flags (needed by IMA when allowing writing). 23# the iversion flags (needed by IMA when allowing writing).
29IMA_EVM_ROOTFS_IVERSION ?= "" 24IMA_EVM_ROOTFS_IVERSION ?= ""