Unlike many commands I use, this was something new for me. I've never used any of these commands before,
and I don't know what the majority of them do, and really why anyone might ever need to use them,
But I noticed a packaged calltpm2-ttols,and I instllaed it. I ran tpm2 --help.
It gave me 351 lines of of glafgs and options, so I ran a few of them.. but even after all this.. I've still not exactly sure why I would ever need this.
Note: TPM needs to be enabled in your UEFI. You need to be running a 64bit distro, and it is my understanding it is not available
for 32 bit systems.
Note all of these commands worked.. according to the tpm=tools website, it depends on not only your software versin,
but the way the TPM modules chipset was implemented on your motherboard -- https://tpm2-tools.readthedocs.io/en/latest/
Some AMD Ryzen chips (such as mine) have something called fTPM which is embedded into the CPU itself.
A few more..
I get output from these commands, but again.. I'm not really sure what it all means.
If I get some time, I will read more thru the man pages and the website documentation.
and I don't know what the majority of them do, and really why anyone might ever need to use them,
But I noticed a packaged calltpm2-ttols,and I instllaed it. I ran tpm2 --help.
It gave me 351 lines of of glafgs and options, so I ran a few of them.. but even after all this.. I've still not exactly sure why I would ever need this.
Note: TPM needs to be enabled in your UEFI. You need to be running a 64bit distro, and it is my understanding it is not available
for 32 bit systems.
Code:
tpm2_getcap
tpm2_readpublic
tpm2_nvread
tpm2_eventlog
tpm2_startup
Note all of these commands worked.. according to the tpm=tools website, it depends on not only your software versin,
but the way the TPM modules chipset was implemented on your motherboard -- https://tpm2-tools.readthedocs.io/en/latest/
Code:
ls -la /dev/tpm*
dmesg | grep -i tpm
Some AMD Ryzen chips (such as mine) have something called fTPM which is embedded into the CPU itself.
Code:
tpm2_getcap properties-fixed
A few more..
Code:
tpm2_pcrread
tpm2_nvlist
tpm2_getcap properties-variable
tpm2_getcap handles-nv-index
I get output from these commands, but again.. I'm not really sure what it all means.
If I get some time, I will read more thru the man pages and the website documentation.

