On Wed, Sep 05, 2018 at 02:35:12PM -0300, Martin Galvan wrote: > El mié., 5 sept. 2018 a las 14:32, Jarkko Sakkinen > (<jarkko.sakkinen@xxxxxxxxxxxxxxx>) escribió: > > Those files do not make sense because you can get the same information > > by talking to /dev/tpm0. > > Wouldn't that require using a lower-level interface, though? IIRC one > of the reasons of tpm2-tools' existence is to provide a user-friendly > way to do this. I was hoping there would be some way to do this > without having to install tpm2-tools. Would be trivial to write utilities that talk raw TPM 2.0 protocol and give you equivalent information. Some sample code from my smoke tests: https://github.com/jsakkine-intel/tpm2-scripts I would write such utilities in raw C though but as you can see it is not rocket science. /Jarkko