TPM2 (Trusted Platform Module) userspace development
 help / color / mirror / Atom feed
* [tpm2] Re: [Release] tpm2-tools v4.2-rc1
@ 2020-04-09  1:20 Imran Desai
  0 siblings, 0 replies; 3+ messages in thread
From: Imran Desai @ 2020-04-09  1:20 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 76 bytes --]

Thanks for reporting. Can you please report this as an issue in the tracker?

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [tpm2] Re: [Release] tpm2-tools v4.2-rc1
@ 2020-04-09 15:59 nicolasoliver03
  0 siblings, 0 replies; 3+ messages in thread
From: nicolasoliver03 @ 2020-04-09 15:59 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 74 bytes --]

Done https://github.com/tpm2-software/tpm2-tools/issues/1975

Thank you!

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [tpm2] Re: [Release] tpm2-tools v4.2-rc1
@ 2020-04-07 21:21 nicolasoliver03
  0 siblings, 0 replies; 3+ messages in thread
From: nicolasoliver03 @ 2020-04-07 21:21 UTC (permalink / raw)
  To: tpm2

[-- 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-09 15:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-09  1:20 [tpm2] Re: [Release] tpm2-tools v4.2-rc1 Imran Desai
  -- strict thread matches above, loose matches on Subject: below --
2020-04-09 15:59 nicolasoliver03
2020-04-07 21:21 nicolasoliver03

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox