From: Jerry Snitselaar <jsnitsel@redhat.com>
To: Mimi Zohar <zohar@linux.ibm.com>, linux-integrity@vger.kernel.org
Subject: ima pcr question
Date: Mon, 13 Jan 2020 17:06:02 -0700 [thread overview]
Message-ID: <20200114000602.h5k5rr2k6zl3dlts@cantor> (raw)
We had a report of messages from ima saying "Error communicating with
TPM". Looking into it a bit, it looks like with some Dell systems
(possibly others as well) in the bios they can set the hash algorithm
being used. In this case with that set to sha256 the messages
appear. Flipping the system to using sha1 makes them disappear.
Looking at the ima code, ima_calc_boot_aggregate_tfm hard codes using
sha1. Should that be changed to use whatever the default is in the
config, or possibly find out from the tpm what algorithm is being used?
Regards,
Jerry
next reply other threads:[~2020-01-14 0:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-14 0:06 Jerry Snitselaar [this message]
2020-01-14 1:17 ` ima pcr question Mimi Zohar
2020-01-17 22:29 ` Jerry Snitselaar
2020-01-17 23:00 ` James Bottomley
2020-01-18 19:14 ` Jerry Snitselaar
2020-01-18 23:20 ` Jerry Snitselaar
2020-01-18 23:51 ` James Bottomley
2020-01-20 0:13 ` Mimi Zohar
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=20200114000602.h5k5rr2k6zl3dlts@cantor \
--to=jsnitsel@redhat.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;
as well as URLs for NNTP newsgroup(s).