#100 tpmtoken_init gives no error message if setting SO pin fails

Bug
open
5
2008-05-22
2007-11-14
Kent Yoder
No

-----------------
~:# tpmtoken_init -k tpm
Warning: The TPM token has already been initialized. Reinitializing the TPM token will cause all TPM token data to be lost.
Clear the TPM token data? [y/N]: y
Enter the TPM security officer password:
LOG_ERR TPM_STDLL tpm_specific.c:207 ERROR: key with ID="PUBLIC ROOT KEY" not found in the store!
LOG_ERR TPM_STDLL tpm_specific.c:207 ERROR: key with ID="PUBLIC ROOT KEY" not found in the store!
A new TPM security officer password is needed. The password must be between 6 and 127 characters in length.
Enter new password:
Confirm password:
-----------------

The above output happens when the SRK password is not set to a hash of 0 bytes. At a minimum, there should be an error message if setting the SO password failed. Otherwise tpmtoken_init should next prompt for the user password.

Discussion

  • Kent Yoder

    Kent Yoder - 2008-02-15
    • assigned_to: ramongb --> dvelarde
     
  • Rajiv Andrade

    Rajiv Andrade - 2008-05-22
    • assigned_to: dvelarde --> kyoder
     

Log in to post a comment.