Hi
I was able to import a rsa key into tpm using tpmtoken_import with out any
error. However
when i try to retrieve my imported keys using tpmtoken_objects i got the error
C_GetAttributeValue failed: 0x00000011 (17). The complete trace is shown below
,
also is there any other way to view list of imported PKCS#11 objects in TPM
apart from the above command.
#tpmtoken_objects -l debug
C_GetFunctionList success
C_Initialize success
C_GetSlotList success
Slots present:
2
C_GetSlotList success
Retrieving slot information for SlotID 0
C_GetSlotInfo success
Slot description: Linux 3.2.0-23-generic-pae Linux (TPM)
Slot manufacturer: Linux 3.2.0-23-generic-pae
Token is present
Retrieving token information for SlotID 0
C_GetTokenInfo success
Token Label: IBM PKCS#11 TPM Token
Token manufacturer: IBM Corp.
Token model: TPM v1.1 Token
Token is initialized
C_OpenSession success
Enter your TPM user password:
C_Login success
C_FindObjectsInit success
C_FindObjects success
C_FindObjectsFinal success
C_GetAttributeValue failed: 0x00000011 (17)
C_GetAttributeValue failed: 0x00000011 (17)
C_CloseSession success
C_Finalize success
tpmtoken_objects succeeded.
The command i used to import a rsa key was
#tpmtoken_import -l debug -i mycert.cer rsakey1.key -t key
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users