mirror of
https://git.code.sf.net/p/linux-ima/ima-evm-utils
synced 2025-05-01 08:03:38 +02:00

Verifying the "boot_aggregate" requires reading the TPM PCRs for each of the TPM banks. In test environments without a physical TPM, a software TPM may be used, but requires initializing the TPM PCRs. By walking and replaying the TPM event log, a software TPM may be properly initialized. Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
23 lines
461 B
YAML
23 lines
461 B
YAML
language: C
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libkeyutils-dev
|
|
- libattr1-dev
|
|
- attr
|
|
- openssl
|
|
- libssl-dev
|
|
- asciidoc
|
|
- xsltproc
|
|
- docbook-xsl
|
|
- docbook-xml
|
|
install:
|
|
- ./tests/install-swtpm.sh
|
|
- ./tests/install-tss.sh
|
|
script:
|
|
- autoreconf -i && ./configure && make -j$(nproc) && sudo make install && VERBOSE=1 make check;
|
|
|
|
- tail -3 tests/ima_hash.log;
|
|
- tail -3 tests/sign_verify.log;
|
|
- tail -3 tests/boot_aggregate.log;
|