Menu

#11 testnvpin.sh should check for TPM_INTERFACE_TYPE=dev

1.0
closed
nobody
None
2016-12-17
2016-12-16
Michael Nix
No

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

Discussion

  • Ken Goldman

    Ken Goldman - 2016-12-17

    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.

     
  • Ken Goldman

    Ken Goldman - 2016-12-17
    • status: open --> closed
     

Log in to post a comment.