Hi Wyllys,

There are some basic remarks on setting up the pcr composite, you might've 
followed it, but doesn't hurt mentioning:
- If the one of the selected pcrs' index is higher than 15, then you must set 
the TSS_PCRS_STRUCT_INFO_LOG initialization flag
- You must read the value of each PCR that you selected, and set those values 
in the composite structure calling Tspi_PcrComposite_SetPcrValue().

Other than a bad pcr composite initialization, it can be a bad encrypted blob 
handling. If it's ok for you, you can send your code for us to take a look, if 
it's not, it's worth checking the tpm-tools and the related testsuite test 
(Tspi_Data_Unseal01.c).

Thanks
---
Rajiv Andrade
Security Development
IBM Linux Technology Center



On 27/09/2010, at 18:52, Wyllys Ingersoll wrote:

> 
> What does this error mean when calling Tspi_Data_Unseal:
> "PCR information uninterpretable"
> 
> Background:
> 
> I am calling Tspi_Data_Seal and specifying a composite PCR with a single
> PCR index specified and a non-migratable key. 
> 
> After the seal succeeds, I save the encrypted data blob 
> (TSS_TSPATTRIB_ENCDATA_BLOB)
> to a file.   Later I load the same key and load the saved enc data blob from
> the file into a new ENCDATA object.
> 
> However, when I call Tspi_Data_Unseal, I get the error above.  I thought 
> the
> PCR information was encoded in the encdata blob, but apparently I am 
> still missing
> some critical bit of PCR data.  Any help here would be appreciated.
> 
> thanks,
>   Wyllys Ingersoll
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> TrouSerS-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/trousers-users


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users

Reply via email to