TPM: Difference between revisions

imported>Erdnaxe
Initial version
 
imported>Erdnaxe
How to get model info
Line 44: Line 44:
* <code>TPM2_PT_MAX_AUTH_FAIL</code> is the maximum number of failed attempts before lockdown,
* <code>TPM2_PT_MAX_AUTH_FAIL</code> is the maximum number of failed attempts before lockdown,
* <code>TPM2_PT_LOCKOUT_INTERVAL</code> and <code>TPM2_PT_LOCKOUT_RECOVERY</code> are durations in seconds for recovery.
* <code>TPM2_PT_LOCKOUT_INTERVAL</code> and <code>TPM2_PT_LOCKOUT_RECOVERY</code> are durations in seconds for recovery.
=== How to get TPM model information? ===
The following command will dump found strings from the raw TPM2 certificates:
<syntaxhighlight lang="bash">
nix-shell -p tpm2-tools --run "tpm2_getekcertificate" | strings
</syntaxhighlight>
Usually, you may find a vendor such as <code>STMicroelectronics</code> and a model such as <code>ST33HTPxAHB61</code>.
To get firmware version information, you might want to look at:
<syntaxhighlight lang="bash">
nix-shell -p tpm2-tools --run "tpm2_getcap properties-fixed"
</syntaxhighlight>


== References ==
== References ==