Ken, I isolated test case to few simple steps - create context -> get default policy -> set default policy to use well known secret -> create key object -> create key (0x28) -> destroy context and this is the output from IBM emulator:
TPM_IO_Connect: Accepting connection from port 54123 ... TPM_IO_ReadBytes: Reading 6 bytes TPM_IO_Read: through paramSize length 6 00 C1 00 00 00 12 TPM_IO_ReadBytes: Reading 12 bytes TPM_IO_Read: length 18 00 C1 00 00 00 12 00 00 00 BA 6F 3A 36 7D 00 00 00 02 TPM_Process_GetCommandParams: TPM_Process_GetCommandParams: tag 00c1 paramSize 18 ordinal 000000ba TPM_Process_Preprocess: Ordinal 000000ba TPM_IO_GetLocality: localityModifier 0 TPM_LocalityModifier_CheckLegal: TPM_MODIFIER_INDICATOR 00000000 TPM_KeyHandleEntries_Trace: 0 handle 00000000 tpm_key (nil) TPM_KeyHandleEntries_Trace: 1 handle 00000000 tpm_key (nil) TPM_KeyHandleEntries_Trace: 2 handle 00000000 tpm_key (nil) TPM_OrdinalTable_GetProcessFunction: Ordinal 000000ba TPM_Process_FlushSpecific: Ordinal Entry TPM_Process_FlushSpecific: Handle 6f3a367d TPM_GetInParamDigest: TPM_GetInParamDigest: transportEncrypt 00 TPM_CheckState: Check map 00000021 TPM_Process_FlushSpecific: Flushing authorization session handle 6f3a367d TPM_AuthSessions_TerminateHandle: Handle 6f3a367d TPM_AuthSessions_GetEntry: authHandle 6f3a367d TPM_AuthSessions_GetEntry: session handle 6f3a367d not found TPM_Process_FlushSpecific: Ordinal returnCode 00000022 34 TPM_Sbuffer_StoreInitialResponse: returnCode 00000022 TPM_Sbuffer_StoreFinalResponse: returnCode 00000022 TPM_KeyHandleEntries_Trace: 0 handle 00000000 tpm_key (nil) TPM_KeyHandleEntries_Trace: 1 handle 00000000 tpm_key (nil) TPM_KeyHandleEntries_Trace: 2 handle 00000000 tpm_key (nil) TPM_State_Trace: disable 0 p_deactive 0 v_deactive 0 owned 1 state 2 TPM_IO_Write: length 10 00 C4 00 00 00 0A 00 00 00 22 TPM_IO_Connect: Waiting for connections on port 54123 > Which emulator are you using? If you're using the IBM emulator, > send > me a trace of the CreateWrapKey command (or a trace of everything > since > boot) and I'll look at it. > > On 3/10/2014 1:47 PM, Dmitri Toubelis wrote: > > > > So is it shortcoming of tpm emulator, or is it something in tcsd > > causing this error? The parameters of the key are the same as in > > the > > case with legacy or binding keys only key type is different. Here > > are > > exact key flags: > > > > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > TrouSerS-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/trousers-users > ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ TrouSerS-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-users
