TPM_INTERFACE_TYPE=dev ./reg.sh -14
aka testnvpin.sh
fails, when trying to reboot. Error message is the understandable:
TSS_RC_INSUPPORTED_INTERFACE - The TPM interface type is not supported
I think testnvpin.sh
should check for the interface type in the beginning.
if [ "dev" == "$TPM_INTERFACE_TYPE" ]; then echo "This test cannot be completed with interface type '$TPM_INTERFACE_TYPE'" exit 0 # or 1 fi
As the documentation says:
I would not expect the regression test to run against a hardware TPM, since the platform firmware will have set the platform authorization. There are likely to be other errors due to protected or unsupported TPM features.