Menu

#128 Can't extract composite PCR hash from new quote

Bug
closed-invalid
5
2012-01-19
2010-01-04
Anonymous
No

I'm using 64-bit GNU/Linux, in particular, Ubuntu 8.04. I'm compiling code that uses Tspi_TPM_Quote2 against libtspi1 0.3.1-4ubuntu0.3. The typedef for TPM_QUOTE_INFO2 does not match what's returned for a quote. The length of the data returned is 52, but if you use TPM_QUOTE_INFO2 to access the composite PCR hash, you reference memory outside of the quote. The headers say the size of a TPM_PCR_SELECTION is 16, but the quote has only 6 bytes of data for that field. I have enclosed the code I use for extracting the composite PCR hash. The fact that it works demonstrates the problem.

John D. Ramsdell -- ramsdell@mitre.org

Discussion

  • Nobody/Anonymous

    Hacked code to extract a composite PCR hash from a new quote

     
  • Rajiv Andrade

    Rajiv Andrade - 2010-03-24
    • assigned_to: phreakz --> richardmaciel
    • status: open --> open-accepted
     
  • John D. Ramsdell

    This bug report is bogus. I didn't realize Tspi_TPM_Quote2 returns a blob and
    one has to decode it using routines such as Trspi_UnLoadBlob_PCR_INFO_SHORT.

     
  • Rajiv Andrade

    Rajiv Andrade - 2012-01-19

    Thanks for stressing TrouSerS features in any case.

    Rajiv

     
  • Rajiv Andrade

    Rajiv Andrade - 2012-01-19
    • status: open-accepted --> closed-invalid
     

Log in to post a comment.