Menu

How to check TPM is password protected or not?

sam
2019-09-20
2019-09-20
  • sam

    sam - 2019-09-20

    Hi I have to develop an application to check whether TPM is password protected or not in order to perfrom any operation?
    For example I am performing following step:
    1:Reset TPM state
    2.Create private key and store insiide TPM

    So while performing this steps I got an error in step1 -> TPM_RC_LOCKOUT error
    what dows that mean?
    As per my understanding I think that TPM is password protected in this case.
    Also if it is password protected , how can I clear this state too.?
    Thanks

     

    Last edit: sam 2019-09-20
    • Ken Goldman

      Ken Goldman - 2019-09-20

      I need something more precsise. "Reset TPM state" can mean many things. "TPM is password protected" is also imprecise.

      Any TPM entity (e.g., a key) can (optionally) use a password for authorization. Every key has a password, although a password length of 0 is legal and often used.

      TPM_RC_LOCKOUT means that an entity that permits password authorization was also confgured for DA protection ( optional) and you exceeded the number (configurable) of passsword authorization tries before lockout.

      Perhaps post the test script.

       

Log in to post a comment.