1
0
mirror of https://git.code.sf.net/p/linux-ima/ima-evm-utils synced 2025-07-01 21:31:14 +02:00

tests: add fsverity measurement test

Test IMA support for including fs-verity enabled file measurements
in the IMA measurement list based on the ima-ngv2 and ima-sigv2
records.

Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
Mimi Zohar
2022-11-13 08:48:32 -05:00
parent aad5d334a6
commit b259a2ba8b
9 changed files with 408 additions and 3 deletions

View File

@ -30,6 +30,7 @@ apk add \
diffutils \
docbook-xml \
docbook-xsl \
e2fsprogs-extra \
keyutils-dev \
libtool \
libxslt \
@ -41,6 +42,7 @@ apk add \
pkgconfig \
procps \
sudo \
util-linux \
wget \
which \
xxd

View File

@ -11,7 +11,8 @@ apt-get install -y \
$TSS \
asciidoc \
attr \
docbook-style-xsl \
e2fsprogs \
fsverity-utils-devel \
gnutls-utils \
libattr-devel \
libkeyutils-devel \
@ -21,6 +22,7 @@ apt-get install -y \
openssl-gost-engine \
rpm-build \
softhsm \
util-linux \
wget \
xsltproc \
xxd \

View File

@ -40,6 +40,7 @@ $apt \
debianutils \
docbook-xml \
docbook-xsl \
e2fsprogs \
gzip \
libattr1-dev$ARCH \
libkeyutils-dev$ARCH \
@ -50,6 +51,7 @@ $apt \
pkg-config \
procps \
sudo \
util-linux \
wget \
xsltproc

View File

@ -25,9 +25,12 @@ yum -y install \
automake \
diffutils \
docbook-xsl \
e2fsprogs \
git-core \
gnutls-utils \
gzip \
keyutils-libs-devel \
kmod \
libattr-devel \
libtool \
libxslt \
@ -38,6 +41,7 @@ yum -y install \
pkg-config \
procps \
sudo \
util-linux \
vim-common \
wget \
which
@ -49,4 +53,6 @@ yum -y install swtpm || true
if [ -f /etc/centos-release ]; then
yum -y install epel-release
fi
yum -y install softhsm || true
yum -y install softhsm || true
./tests/install-fsverity.sh

View File

@ -26,6 +26,7 @@ zypper --non-interactive install --force-resolution --no-recommends \
diffutils \
docbook_5 \
docbook5-xsl-stylesheets \
e2fsprogs \
gzip \
ibmswtpm2 \
keyutils-devel \
@ -37,6 +38,7 @@ zypper --non-interactive install --force-resolution --no-recommends \
pkg-config \
procps \
sudo \
util-linux \
vim \
wget \
which \