Closed joholl closed 1 week ago
I think this was not caught by our tests due to a bug in tpm2-tss/test/integration/policy-execute.int.c where if an error occurs (see line 787), we do not set the return code variable r
accordingly.
I will also have this be part of the fix.
Spec Command Spec:
However, we do not include
policyDigest_old
in the policy digest calculation. I am working on a fix.https://github.com/tpm2-software/tpm2-tss/blob/f5d851ef2f8ea9d43ef00e198cd40d7320154592/src/tss2-fapi/ifapi_policy_calculate.c#L1271-L1281
@JuergenReppSIT Please correct me if I have missed something