#175 Using Tspi_Context_LoadKeyByUUID() with key hierarchy results in wrong key being loaded inti TPM

Bug
open
nobody
None
5
2014-05-01
2014-05-01
dtoubelis
No

When Tspi_Context_LoadKeyByUUID() function used with one level hierarchy (i.e. with encryption key directly under SRK) it works fine. However, if there is one or more extra levels in the key hierarchy it loads wrong key into TPM. For example, with hierarchy SRK -> StorageKey -> BindingKey, calling Tspi_Context_LoadKeyByUUID() with UUID of BindingKey will result with Storage key being loaded and associated with key handle instead of the BindingKey.

I'm attaching a test case and the TPM log. The SRK in this example require authorization with well-known password.

2 Attachments

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks