Skip to content

additional "ima-measurement" support

Mimi Zohar linux-integrity 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 4 repliesIn review
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- limit number of messages
- read PCRs before walking the measurement list
- and other miscellaneous cleanup

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ima-evm-utils: improve reading TPM 1.2 PCRssrc/evmctl.c+18 -210 replies
2/8ima_evm_utils: support extending TPM 2.0 banks w/original SHA1 padded digestsrc/evmctl.c+58 -154 replies
3/8ima-evm-utils: support providing the TPM 1.2 PCRs as a filesrc/evmctl.c+15 -30 replies
4/8ima-evm-utils: emit "ima_measurement" messages based on log levelsrc/evmctl.c+18 -70 replies
5/8ima-evm-utils: guarantee the measurement list contains all the recordssrc/evmctl.c+11 -30 replies
6/8ima-evm-utils: the IMA measurement list may have too many measurementssrc/evmctl.c+22 -110 replies
7/8ima-evm-utils: optionally verify the template data file signatureREADME src/evmctl.c+8 -70 replies
8/8ima-evm-utils: update README to reflect "--pcrs", "--verify" and "--validate"README+4 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/8] additional "ima-measurement" support

"evmctl ima_measurement" walks the IMA measurement list re-calculating the TPM PCR banks.

- Support the original method of extending the TPM 2.0 banks with the padded SHA1 digest.
- Instead of reading the hardware or software TPM PCRs, support providing the TPM 1.2 PCRs as a file.
- Limit the number of messages being emitted while verifying the measurement list.
- Reading the TPM PCRs before walking the measurement list guarantees the measurement list contains all the records, maybe too many.
- Rename "--list" to "--verify-sig", and update the README.

Changelog v2:
- limit number of messages
- read PCRs before walking the measurement list
- and other miscellaneous cleanup

Mimi Zohar (8):
ima-evm-utils: improve reading TPM 1.2 PCRs
ima_evm_utils: support extending TPM 2.0 banks w/original SHA1 padded
digest
ima-evm-utils: support providing the TPM 1.2 PCRs as a file
ima-evm-utils: emit "ima_measurement" messages based on log level
ima-evm-utils: guarantee the measurement list contains all the records
ima-evm-utils: the IMA measurement list may have too many measurements
ima-evm-utils: optionally verify the template data file signature
ima-evm-utils: update README to reflect "--pcrs", "--verify" and

    "--validate"
 README       |   6 ++-
 src/evmctl.c | 172 +++++++++++++++++++++++++++++++++++++++++++----------------
 2 files changed, 132 insertions(+), 46 deletions(-)
Signature · 1 line
2.7.5