From: nicolasoliver03 at gmail.com
To: tpm2@lists.01.org
Subject: [tpm2] Re: [Release] tpm2-tools v4.2-rc1
Date: Tue, 07 Apr 2020 21:21:05 +0000 [thread overview]
Message-ID: <20200407212105.3063.83203@ml01.vlan13.01.org> (raw)
In-Reply-To: 20200402003208.2692.7047@ml01.vlan13.01.org
[-- Attachment #1: Type: text/plain, Size: 698 bytes --]
Hi Imran,
I gave a try to the tpm2_eventlog tool.
If I try to read the binary_bios_measurements log directly, it fails.
[root(a)localhost misc]# ./tpm2_eventlog /sys/kernel/security/tpm0/binary_bios_measurements
---
ERROR: insufficient size for SpecID event header
ERROR: failed to parse tpm2 eventlog
ERROR: Unable to run ./tpm2_eventlog
But if I copy the event log to a local file, it works :)
[root(a)localhost misc]# cp /sys/kernel/security/tpm0/binary_bios_measurements .
[root(a)localhost misc]# ./tpm2_eventlog binary_bios_measurements
I understand that the /sys/kernel/security/tpm0/binary_bios_measurements is not a regular file, but is this expected?
Thank you
next reply other threads:[~2020-04-07 21:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-07 21:21 nicolasoliver03 [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-04-09 1:20 [tpm2] Re: [Release] tpm2-tools v4.2-rc1 Imran Desai
2020-04-09 15:59 nicolasoliver03
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=20200407212105.3063.83203@ml01.vlan13.01.org \
--to=tpm2@lists.01.org \
/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