Skip to content

Updates to use IBM TSS C API rather than command line tools

Ken Goldman linux-integrity 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ima-evm-utils: Change env variable TPM_SERVER_TYPE for, tpm_servertests/boot_aggregate.test+3 -00 replies
2/5ima-evm-utils: Change PCR iterater from int to uint32_tsrc/evmctl.c src/pcr.h src/pcr_tss.c +1 more+10 -90 replies
3/5ima-evm-utils: Change tpm2_pcr_read() to use C codesrc/Makefile.am src/pcr_tsspcrread.c+123 -340 replies
4/5ima-evm-utils: Correct spelling errorstests/boot_aggregate.test+2 -20 replies
5/5ima-evm-utils: Expand the INSTALL instructions.INSTALL+23 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] Updates to use IBM TSS C API rather than command line tools

This patch set replaces calls to command line tools with C code. This should be more stable and easier to maintain. INSTALL instructions are updated.

While the code is being touched, it changes the PCR handle from a signed int to a uint32_t, removing the need for error checking.

Finally, it fixes an environment variable issue and some spelling errors.

Ken Goldman (5):
ima-evm-utils: Change env variable TPM_SERVER_TYPE for tpm_server
ima-evm-utils: Change PCR iterator from int to uint32_t
ima-evm-utils: Change tpm2_pcr_read() to use C code
ima-evm-utils: Correct spelling errors
ima-evm-utils: Expand the INSTALL instructions.

 INSTALL                   |  25 +++++-
 src/Makefile.am           |   1 +
 src/evmctl.c              |   9 ++-
 src/pcr.h                 |   2 +-
 src/pcr_tss.c             |   4 +-
 src/pcr_tsspcrread.c      | 156 +++++++++++++++++++++++++++++---------
 tests/boot_aggregate.test |   7 +-
 7 files changed, 159 insertions(+), 45 deletions(-)
Signature · 1 line
2.25.1