Linux Integrity Measurement development
 help / color / mirror / Atom feed
From: Ken Goldman <kgoldman@us.ibm.com>
To: Linux Integrity <linux-integrity@vger.kernel.org>
Cc: Mimi Zohar <zohar@linux.ibm.com>, Ken Goldman <kgoldman@us.ibm.com>
Subject: [PATCH v2 0/5] Updates to use IBM TSS C API rather than command line tools
Date: Mon, 12 Oct 2020 19:44:11 -0400	[thread overview]
Message-ID: <20201012234416.20995-1-kgoldman@us.ibm.com> (raw)

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 iterater 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(-)

-- 
2.25.1


             reply	other threads:[~2020-10-12 23:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-12 23:44 Ken Goldman [this message]
2020-10-12 23:44 ` [PATCH v2 1/5] ima-evm-utils: Change env variable TPM_SERVER_TYPE for tpm_server Ken Goldman
2020-10-14 22:04   ` Mimi Zohar
2020-10-14 22:17     ` Ken Goldman
2020-10-14 22:28       ` Mimi Zohar
2020-10-15 12:54         ` Ken Goldman
2020-10-15 13:36           ` Mimi Zohar
2020-10-15 13:04         ` Ken Goldman
2020-10-12 23:44 ` [PATCH v2 2/5] ima-evm-utils: Change PCR iterater from int to uint32_t Ken Goldman
2020-10-12 23:44 ` [PATCH v2 3/5] ima-evm-utils: Change tpm2_pcr_read() to use C code Ken Goldman
2020-11-10 16:04   ` Mimi Zohar
2020-10-12 23:44 ` [PATCH v2 4/5] ima-evm-utils: Correct spelling errors Ken Goldman
2020-10-12 23:44 ` [PATCH v2 5/5] ima-evm-utils: Expand the INSTALL instructions Ken Goldman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201012234416.20995-1-kgoldman@us.ibm.com \
    --to=kgoldman@us.ibm.com \
    --cc=linux-integrity@vger.kernel.org \
    --cc=zohar@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox