On 12/6/2019 2:50 AM, Kyoungwon Kim wrote:
I have an amd64 ubuntu 16.04 machine with hardware TPM.
I'm very new to TPM and all related libraries and services.
I tried to run testsuite after downloading trousers from
https://launchpad.net/ubuntu/xenial/amd64/trousers/0.3.13-4
Then I noticed that a bunch of results would get TPM_E_DEFEND_LOCK_RUNNING,
which is the code for this error: "TPM is defending against dictionary
attacks and is in some time-out period."
I have taken the ownership with tpm_takeownership and then specified the
owner and srk secrets in tcg/include/common.h.
I also tried the following:
export TESTSUITE_OWNER_SECRET="my owner secret"
export TESTSUITE_SRK_SECRET="my srk secret"
But I'm getting the same result. The test that I would like to get a
successful result is Tspi_TPM_CreateIdentity.
If you send more than a small number of incorrect passwords, the
TPM will block commands for a time. This protects against
a dictionary attack on the password. So, somehow you are
sending bad authorization.
At a higher level, are you sure that the TSS test suite is
intended to run against a hardware TPM? Perhaps try some basic
commands before trying the test suite.
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users