I'm trying to get trousers working with our TPM.  I have trousers and
opencryptoki installed, and I added my user to the pkcs11 group and
ran tpm_takeownership successfully (and set an empty SRK password).
When I run tpmtoken_init -l debug, I get:

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 2.6.32-rc5-92667-g36ade08 Linux (TPM)
Slot manufacturer: Linux 2.6.32-rc5-92667-g36ade08
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 not initialized
C_InitToken success
C_OpenSession success
C_Login failed: 0x00000006 (6)
C_CloseSession success
C_Finalize success
tpmtoken_init failed

I looked up error code 6 in the PKCS11 spec, and it seems to have the
unhelpful name of CKR_FUNCTION_FAILED?  Any ideas what could be wrong
or other things I can try?

Thanks,
Aaron

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users

Reply via email to