G'day,

Is this a PKCS#11 issue, a card issue, a libmusclepkcs11 issue, a Muscle applet issue, or a programming issue? I'd like to store and view mutliple data objects on a card, but it seems that I can only view one data object afterwards.

As a follow-up, I can create and view multiple data objects using the PKCS#11 library in OpenSC and using a Cryptoflkex card (although different "virtual" slots are required when creating and viewing such objects).

So why can't I view multiple data objects using the PKCS#11 library in Muscle? Attached are debug logs from a run that performs C_CreateObject and C_FindObjects in the same session, and from a run that performs C_FindObjects only in a session. The first log shows that three data objects are available on the card, while the next run shows that only one of these objects can now be found.

-- Geoff

24/05 09:16:15 +C_GetFunctionList : start
24/05 09:16:15  -C_GetFunctionList : end RV(0x0)
24/05 09:16:15 +C_Initialize : start
24/05 09:16:15 Using non-native (application supplied) thread locks
24/05 09:16:15 Application does not allow thread creation; disabling threaded 
slot watcher
24/05 09:16:15 All threading disabled
24/05 09:16:15 Added reader: SCR 331 00 00
24/05 09:16:15 Active session list:
24/05 09:16:15 Slot 1 changed
24/05 09:16:15 Attempting establish
24/05 09:16:15 Establish connection
24/05 09:16:16 Begin transaction: 1,            rv=0
24/05 09:16:16 Token: MuscleCard Applet
24/05 09:16:16 Card supports RSA
24/05 09:16:16 Card supports RSA key gen
24/05 09:16:16 Card supports RSA NOPAD
24/05 09:16:16 Card supports RSA PKCS#1
24/05 09:16:16 Card supports DSA
24/05 09:16:16 Card supports DES but not returning mechanism
24/05 09:16:16 Card supports 3DES but not returning mechanism
24/05 09:16:16 End transaction: 1,              rv=0
24/05 09:16:16 (p11_general.c 115): error: 0x32 "CKR_DEVICE_REMOVED"
24/05 09:16:16  -C_Initialize : end RV(0x0)
24/05 09:16:16 +C_OpenSession : start
24/05 09:16:16 Active session list:
24/05 09:16:16 Attempting establish
24/05 09:16:16 New session handle: 1
24/05 09:16:16  -C_OpenSession : end RV(0x0)
24/05 09:16:16 +C_Login : start
24/05 09:16:16 Active session list:
24/05 09:16:16 Session ID: 804E4B8
24/05 09:16:16 Attempting establish
24/05 09:16:16 Begin transaction: 1,            rv=0
24/05 09:16:16 Verifying USER PIN
24/05 09:16:16 End transaction: 1,              rv=0
24/05 09:16:16  -C_Login : end RV(0x0)
24/05 09:16:16 +C_CreateObject : start
24/05 09:16:16 Active session list:
24/05 09:16:16 Session ID: 804E4B8
24/05 09:16:16 CKA_CLASS: 0 0x0
24/05 09:16:16 CKA_TOKEN: 1 0x1
24/05 09:16:16 CKA_PRIVATE: 01
24/05 09:16:16 CKA_MODIFIABLE: 01
24/05 09:16:16 CKA_APPLICATION: 74 65 73 74
24/05 09:16:16 CKA_APPLICATION (string): test
24/05 09:16:16 CKA_LABEL: 78
24/05 09:16:16 CKA_LABEL (string): x
24/05 09:16:16 CKA_VALUE: 66 6F 6F
24/05 09:16:16 CKA_CLASS: 1 0x1
24/05 09:16:16 Match attribute type: 0x0
24/05 09:16:16 Orig: 01 00 00 00
24/05 09:16:16  Rev: 00 00 00 01
24/05 09:16:16  Obj: 00 00 00 00
24/05 09:16:16 CKA_CLASS: 2 0x2
24/05 09:16:16 Match attribute type: 0x0
24/05 09:16:16 Orig: 02 00 00 00
24/05 09:16:16  Rev: 00 00 00 02
24/05 09:16:16  Obj: 00 00 00 00
24/05 09:16:16 CKA_CLASS: 3 0x3
24/05 09:16:16 Match attribute type: 0x0
24/05 09:16:16 Orig: 03 00 00 00
24/05 09:16:16  Rev: 00 00 00 03
24/05 09:16:16  Obj: 00 00 00 00
24/05 09:16:16 Creating object
24/05 09:16:16 12 Objsize: 6 Len: 0
24/05 09:16:16 11 Objsize: 6 Len: 3
24/05 09:16:16 3 Objsize: 13 Len: 1
24/05 09:16:16 10 Objsize: 23 Len: 4
24/05 09:16:16 170 Objsize: 30 Len: 1
24/05 09:16:16 2 Objsize: 37 Len: 1
24/05 09:16:16 1 Objsize: 44 Len: 1
24/05 09:16:16 0 Objsize: 54 Len: 4
24/05 09:16:16 Object ID is: O0
24/05 09:16:16 CKA_PRIVATE: 01
24/05 09:16:16 Match attribute type: 0x2
24/05 09:16:16 CKA_CLASS: 1 0x1
24/05 09:16:16 Match attribute type: 0x0
24/05 09:16:16 Orig: 01 00 00 00
24/05 09:16:16  Rev: 00 00 00 01
24/05 09:16:16  Obj: 00 00 00 00
24/05 09:16:16 (p11x_object.c 1549): error: 0x9C08 "Object already exists"
24/05 09:16:16 Obj size is: 54 (0x36)
24/05 09:16:16 Writing attribute:
24/05 09:16:16 Skipping attribute:
24/05 09:16:16 CKA_VALUE: 66 6F 6F
24/05 09:16:16 Writing attribute:
24/05 09:16:16 CKA_LABEL: 78
24/05 09:16:16 CKA_LABEL (string): x
24/05 09:16:16 Writing attribute:
24/05 09:16:16 CKA_APPLICATION: 74 65 73 74
24/05 09:16:16 CKA_APPLICATION (string): test
24/05 09:16:16 Writing attribute:
24/05 09:16:16 CKA_MODIFIABLE: 01
24/05 09:16:16 Writing attribute:
24/05 09:16:16 CKA_PRIVATE: 01
24/05 09:16:16 Writing attribute:
24/05 09:16:16 CKA_TOKEN: 1 0x1
24/05 09:16:16 Writing attribute:
24/05 09:16:16 CKA_CLASS: 0 0x0
24/05 09:16:16 ID: o0  SIZE: 54
24/05 09:16:16 Data: 00 6F 30 00 00 00 36 00 00 00 12 00 00 00 00 00 03 00 01 
78 00 00 00 10 00 04 74 65 73 74 00 00 01 70 00 01 01 00 00 00 02 00 01 01 00 
00 00 01 00 01 01 00 00 00 00 00 04 00 00 00 00
24/05 09:16:16 New object handle: 804E508
24/05 09:16:16  -C_CreateObject : end RV(0x0)
24/05 09:16:16 +C_CreateObject : start
24/05 09:16:16 Active session list:
24/05 09:16:16 Session ID: 804E4B8
24/05 09:16:16 CKA_CLASS: 0 0x0
24/05 09:16:16 CKA_TOKEN: 1 0x1
24/05 09:16:16 CKA_PRIVATE: 00
24/05 09:16:16 CKA_MODIFIABLE: 01
24/05 09:16:16 CKA_APPLICATION: 74 65 73 74
24/05 09:16:16 CKA_APPLICATION (string): test
24/05 09:16:16 CKA_LABEL: 79
24/05 09:16:16 CKA_LABEL (string): y
24/05 09:16:16 CKA_VALUE: 62 61 72
24/05 09:16:16 CKA_CLASS: 1 0x1
24/05 09:16:16 Match attribute type: 0x0
24/05 09:16:16 Orig: 01 00 00 00
24/05 09:16:16  Rev: 00 00 00 01
24/05 09:16:16  Obj: 00 00 00 00
24/05 09:16:16 CKA_CLASS: 2 0x2
24/05 09:16:16 Match attribute type: 0x0
24/05 09:16:16 Orig: 02 00 00 00
24/05 09:16:16  Rev: 00 00 00 02
24/05 09:16:16  Obj: 00 00 00 00
24/05 09:16:16 CKA_CLASS: 3 0x3
24/05 09:16:16 Match attribute type: 0x0
24/05 09:16:16 Orig: 03 00 00 00
24/05 09:16:16  Rev: 00 00 00 03
24/05 09:16:16  Obj: 00 00 00 00
24/05 09:16:16 Creating object
24/05 09:16:16 12 Objsize: 6 Len: 0
24/05 09:16:16 11 Objsize: 6 Len: 3
24/05 09:16:16 3 Objsize: 13 Len: 1
24/05 09:16:16 10 Objsize: 23 Len: 4
24/05 09:16:16 170 Objsize: 30 Len: 1
24/05 09:16:16 2 Objsize: 37 Len: 1
24/05 09:16:16 1 Objsize: 44 Len: 1
24/05 09:16:16 0 Objsize: 54 Len: 4
24/05 09:16:16 Object ID is: O0
24/05 09:16:17 CKA_PRIVATE: 01
24/05 09:16:17 Match attribute type: 0x2
24/05 09:16:17 Orig: 01
24/05 09:16:17  Rev: 01
24/05 09:16:17  Obj: 00
24/05 09:16:17 CKA_CLASS: 1 0x1
24/05 09:16:17 Match attribute type: 0x0
24/05 09:16:17 Orig: 01 00 00 00
24/05 09:16:17  Rev: 00 00 00 01
24/05 09:16:17  Obj: 00 00 00 00
24/05 09:16:17 (p11x_object.c 1549): error: 0x9C08 "Object already exists"
24/05 09:16:17 Obj size is: 54 (0x36)
24/05 09:16:17 Writing attribute:
24/05 09:16:17 Skipping attribute:
24/05 09:16:17 CKA_VALUE: 62 61 72
24/05 09:16:17 Writing attribute:
24/05 09:16:17 CKA_LABEL: 79
24/05 09:16:17 CKA_LABEL (string): y
24/05 09:16:17 Writing attribute:
24/05 09:16:17 CKA_APPLICATION: 74 65 73 74
24/05 09:16:17 CKA_APPLICATION (string): test
24/05 09:16:17 Writing attribute:
24/05 09:16:17 CKA_MODIFIABLE: 01
24/05 09:16:17 Writing attribute:
24/05 09:16:17 CKA_PRIVATE: 00
24/05 09:16:17 Writing attribute:
24/05 09:16:17 CKA_TOKEN: 1 0x1
24/05 09:16:17 Writing attribute:
24/05 09:16:17 CKA_CLASS: 0 0x0
24/05 09:16:17 ID: o0  SIZE: 54
24/05 09:16:17 Data: 00 6F 30 00 00 00 36 00 00 00 12 00 00 00 00 00 03 00 01 
79 00 00 00 10 00 04 74 65 73 74 00 00 01 70 00 01 01 00 00 00 02 00 01 00 00 
00 00 01 00 01 01 00 00 00 00 00 04 00 00 00 00
24/05 09:16:17 New object handle: 804F020
24/05 09:16:17  -C_CreateObject : end RV(0x0)
24/05 09:16:17 +C_CreateObject : start
24/05 09:16:17 Active session list:
24/05 09:16:17 Session ID: 804E4B8
24/05 09:16:17 CKA_CLASS: 0 0x0
24/05 09:16:17 CKA_TOKEN: 1 0x1
24/05 09:16:17 CKA_PRIVATE: 00
24/05 09:16:17 CKA_MODIFIABLE: 01
24/05 09:16:17 CKA_APPLICATION: 74 65 73 74
24/05 09:16:17 CKA_APPLICATION (string): test
24/05 09:16:17 CKA_LABEL: 7A
24/05 09:16:17 CKA_LABEL (string): z
24/05 09:16:17 CKA_VALUE: 62 61 7A
24/05 09:16:17 CKA_CLASS: 1 0x1
24/05 09:16:17 Match attribute type: 0x0
24/05 09:16:17 Orig: 01 00 00 00
24/05 09:16:17  Rev: 00 00 00 01
24/05 09:16:17  Obj: 00 00 00 00
24/05 09:16:17 CKA_CLASS: 2 0x2
24/05 09:16:17 Match attribute type: 0x0
24/05 09:16:17 Orig: 02 00 00 00
24/05 09:16:17  Rev: 00 00 00 02
24/05 09:16:17  Obj: 00 00 00 00
24/05 09:16:17 CKA_CLASS: 3 0x3
24/05 09:16:17 Match attribute type: 0x0
24/05 09:16:17 Orig: 03 00 00 00
24/05 09:16:17  Rev: 00 00 00 03
24/05 09:16:17  Obj: 00 00 00 00
24/05 09:16:17 Creating object
24/05 09:16:17 12 Objsize: 6 Len: 0
24/05 09:16:17 11 Objsize: 6 Len: 3
24/05 09:16:17 3 Objsize: 13 Len: 1
24/05 09:16:17 10 Objsize: 23 Len: 4
24/05 09:16:17 170 Objsize: 30 Len: 1
24/05 09:16:17 2 Objsize: 37 Len: 1
24/05 09:16:17 1 Objsize: 44 Len: 1
24/05 09:16:17 0 Objsize: 54 Len: 4
24/05 09:16:17 Object ID is: O0
24/05 09:16:17 CKA_PRIVATE: 01
24/05 09:16:17 Match attribute type: 0x2
24/05 09:16:17 Orig: 01
24/05 09:16:17  Rev: 01
24/05 09:16:17  Obj: 00
24/05 09:16:17 CKA_CLASS: 1 0x1
24/05 09:16:17 Match attribute type: 0x0
24/05 09:16:17 Orig: 01 00 00 00
24/05 09:16:17  Rev: 00 00 00 01
24/05 09:16:17  Obj: 00 00 00 00
24/05 09:16:17 (p11x_object.c 1549): error: 0x9C08 "Object already exists"
24/05 09:16:17 Obj size is: 54 (0x36)
24/05 09:16:17 Writing attribute:
24/05 09:16:17 Skipping attribute:
24/05 09:16:17 CKA_VALUE: 62 61 7A
24/05 09:16:17 Writing attribute:
24/05 09:16:17 CKA_LABEL: 7A
24/05 09:16:17 CKA_LABEL (string): z
24/05 09:16:17 Writing attribute:
24/05 09:16:17 CKA_APPLICATION: 74 65 73 74
24/05 09:16:17 CKA_APPLICATION (string): test
24/05 09:16:17 Writing attribute:
24/05 09:16:17 CKA_MODIFIABLE: 01
24/05 09:16:17 Writing attribute:
24/05 09:16:17 CKA_PRIVATE: 00
24/05 09:16:17 Writing attribute:
24/05 09:16:17 CKA_TOKEN: 1 0x1
24/05 09:16:17 Writing attribute:
24/05 09:16:17 CKA_CLASS: 0 0x0
24/05 09:16:17 ID: o0  SIZE: 54
24/05 09:16:17 Data: 00 6F 30 00 00 00 36 00 00 00 12 00 00 00 00 00 03 00 01 
7A 00 00 00 10 00 04 74 65 73 74 00 00 01 70 00 01 01 00 00 00 02 00 01 00 00 
00 00 01 00 01 01 00 00 00 00 00 04 00 00 00 00
24/05 09:16:17 New object handle: 804F208
24/05 09:16:17  -C_CreateObject : end RV(0x0)
24/05 09:16:17 +C_FindObjectsInit : start
24/05 09:16:17 Active session list:
24/05 09:16:17 Session ID: 804E4B8
24/05 09:16:17  -C_FindObjectsInit : end RV(0x0)
24/05 09:16:17 +C_FindObjects : start
24/05 09:16:17 Active session list:
24/05 09:16:17 Session ID: 804E4B8
24/05 09:16:17 Find max object count: 1
24/05 09:16:17 CKA_CLASS: 0 0x0
24/05 09:16:17 Match attribute type: 0x0
24/05 09:16:17 Object matched: 804F208
24/05 09:16:17 Matched 1 objects
24/05 09:16:17  -C_FindObjects : end RV(0x0)
24/05 09:16:17 +C_FindObjects : start
24/05 09:16:17 Active session list:
24/05 09:16:17 Session ID: 804E4B8
24/05 09:16:17 Find max object count: 1
24/05 09:16:17 CKA_CLASS: 0 0x0
24/05 09:16:17 Match attribute type: 0x0
24/05 09:16:17 Object matched: 804F020
24/05 09:16:17 Matched 1 objects
24/05 09:16:17  -C_FindObjects : end RV(0x0)
24/05 09:16:17 +C_FindObjects : start
24/05 09:16:17 Active session list:
24/05 09:16:17 Session ID: 804E4B8
24/05 09:16:17 Find max object count: 1
24/05 09:16:17 CKA_CLASS: 0 0x0
24/05 09:16:17 Match attribute type: 0x0
24/05 09:16:17 Object matched: 804E508
24/05 09:16:17 Matched 1 objects
24/05 09:16:17  -C_FindObjects : end RV(0x0)
24/05 09:16:17 +C_FindObjects : start
24/05 09:16:17 Active session list:
24/05 09:16:17 Session ID: 804E4B8
24/05 09:16:17 Find max object count: 1
24/05 09:16:17 Matched 0 objects
24/05 09:16:17  -C_FindObjects : end RV(0x0)
24/05 09:16:17 +C_FindObjectsFinal : start
24/05 09:16:17 Active session list:
24/05 09:16:17 Session ID: 804E4B8
24/05 09:16:17  -C_FindObjectsFinal : end RV(0x0)
24/05 09:16:17 +C_GetAttributeValue : start
24/05 09:16:17 Object handle: 804F208
24/05 09:16:17 Active session list:
24/05 09:16:17 Session ID: 804E4B8
24/05 09:16:17 Get attribute object handle: 804F208  type: Object
24/05 09:16:17 Trying to get attribute: 0x0
24/05 09:16:17 pValue is NULL returning length: 4
24/05 09:16:17 Trying to get attribute: 0x1
24/05 09:16:17 pValue is NULL returning length: 1
24/05 09:16:17 Trying to get attribute: 0x2
24/05 09:16:17 pValue is NULL returning length: 1
24/05 09:16:17 Trying to get attribute: 0x170
24/05 09:16:17 pValue is NULL returning length: 1
24/05 09:16:17 Trying to get attribute: 0x3
24/05 09:16:17 pValue is NULL returning length: 1
24/05 09:16:17 Trying to get attribute: 0x10
24/05 09:16:17 pValue is NULL returning length: 4
24/05 09:16:17 Trying to get attribute: 0x12
24/05 09:16:17 pValue is NULL returning length: 0
24/05 09:16:17 Trying to get attribute: 0x11
24/05 09:16:17 pValue is NULL returning length: 3
24/05 09:16:17  -C_GetAttributeValue : end RV(0x0)
24/05 09:16:17 +C_GetAttributeValue : start
24/05 09:16:17 Object handle: 804F208
24/05 09:16:17 Active session list:
24/05 09:16:17 Session ID: 804E4B8
24/05 09:16:17 Get attribute object handle: 804F208  type: Object
24/05 09:16:17 Trying to get attribute: 0x0
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_CLASS: 0 0x0
24/05 09:16:17 Reversing CKA_CLASS for little endian
24/05 09:16:17 Trying to get attribute: 0x1
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_TOKEN: 1 0x1
24/05 09:16:17 Trying to get attribute: 0x2
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_PRIVATE: 00
24/05 09:16:17 Trying to get attribute: 0x170
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_MODIFIABLE: 01
24/05 09:16:17 Trying to get attribute: 0x3
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_LABEL: 7A
24/05 09:16:17 CKA_LABEL (string): z
24/05 09:16:17 Trying to get attribute: 0x10
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_APPLICATION: 74 65 73 74
24/05 09:16:17 CKA_APPLICATION (string): test
24/05 09:16:17 Trying to get attribute: 0x12
24/05 09:16:17 Returning attribute
24/05 09:16:17 Trying to get attribute: 0x11
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_VALUE: 62 61 7A
24/05 09:16:17  -C_GetAttributeValue : end RV(0x0)
24/05 09:16:17 +C_GetAttributeValue : start
24/05 09:16:17 Object handle: 804F020
24/05 09:16:17 Active session list:
24/05 09:16:17 Session ID: 804E4B8
24/05 09:16:17 Get attribute object handle: 804F020  type: Object
24/05 09:16:17 Trying to get attribute: 0x0
24/05 09:16:17 pValue is NULL returning length: 4
24/05 09:16:17 Trying to get attribute: 0x1
24/05 09:16:17 pValue is NULL returning length: 1
24/05 09:16:17 Trying to get attribute: 0x2
24/05 09:16:17 pValue is NULL returning length: 1
24/05 09:16:17 Trying to get attribute: 0x170
24/05 09:16:17 pValue is NULL returning length: 1
24/05 09:16:17 Trying to get attribute: 0x3
24/05 09:16:17 pValue is NULL returning length: 1
24/05 09:16:17 Trying to get attribute: 0x10
24/05 09:16:17 pValue is NULL returning length: 4
24/05 09:16:17 Trying to get attribute: 0x12
24/05 09:16:17 pValue is NULL returning length: 0
24/05 09:16:17 Trying to get attribute: 0x11
24/05 09:16:17 pValue is NULL returning length: 3
24/05 09:16:17  -C_GetAttributeValue : end RV(0x0)
24/05 09:16:17 +C_GetAttributeValue : start
24/05 09:16:17 Object handle: 804F020
24/05 09:16:17 Active session list:
24/05 09:16:17 Session ID: 804E4B8
24/05 09:16:17 Get attribute object handle: 804F020  type: Object
24/05 09:16:17 Trying to get attribute: 0x0
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_CLASS: 0 0x0
24/05 09:16:17 Reversing CKA_CLASS for little endian
24/05 09:16:17 Trying to get attribute: 0x1
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_TOKEN: 1 0x1
24/05 09:16:17 Trying to get attribute: 0x2
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_PRIVATE: 00
24/05 09:16:17 Trying to get attribute: 0x170
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_MODIFIABLE: 01
24/05 09:16:17 Trying to get attribute: 0x3
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_LABEL: 79
24/05 09:16:17 CKA_LABEL (string): y
24/05 09:16:17 Trying to get attribute: 0x10
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_APPLICATION: 74 65 73 74
24/05 09:16:17 CKA_APPLICATION (string): test
24/05 09:16:17 Trying to get attribute: 0x12
24/05 09:16:17 Returning attribute
24/05 09:16:17 Trying to get attribute: 0x11
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_VALUE: 62 61 72
24/05 09:16:17  -C_GetAttributeValue : end RV(0x0)
24/05 09:16:17 +C_GetAttributeValue : start
24/05 09:16:17 Object handle: 804E508
24/05 09:16:17 Active session list:
24/05 09:16:17 Session ID: 804E4B8
24/05 09:16:17 Get attribute object handle: 804E508  type: Object
24/05 09:16:17 Trying to get attribute: 0x0
24/05 09:16:17 pValue is NULL returning length: 4
24/05 09:16:17 Trying to get attribute: 0x1
24/05 09:16:17 pValue is NULL returning length: 1
24/05 09:16:17 Trying to get attribute: 0x2
24/05 09:16:17 pValue is NULL returning length: 1
24/05 09:16:17 Trying to get attribute: 0x170
24/05 09:16:17 pValue is NULL returning length: 1
24/05 09:16:17 Trying to get attribute: 0x3
24/05 09:16:17 pValue is NULL returning length: 1
24/05 09:16:17 Trying to get attribute: 0x10
24/05 09:16:17 pValue is NULL returning length: 4
24/05 09:16:17 Trying to get attribute: 0x12
24/05 09:16:17 pValue is NULL returning length: 0
24/05 09:16:17 Trying to get attribute: 0x11
24/05 09:16:17 pValue is NULL returning length: 3
24/05 09:16:17  -C_GetAttributeValue : end RV(0x0)
24/05 09:16:17 +C_GetAttributeValue : start
24/05 09:16:17 Object handle: 804E508
24/05 09:16:17 Active session list:
24/05 09:16:17 Session ID: 804E4B8
24/05 09:16:17 Get attribute object handle: 804E508  type: Object
24/05 09:16:17 Trying to get attribute: 0x0
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_CLASS: 0 0x0
24/05 09:16:17 Reversing CKA_CLASS for little endian
24/05 09:16:17 Trying to get attribute: 0x1
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_TOKEN: 1 0x1
24/05 09:16:17 Trying to get attribute: 0x2
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_PRIVATE: 01
24/05 09:16:17 Trying to get attribute: 0x170
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_MODIFIABLE: 01
24/05 09:16:17 Trying to get attribute: 0x3
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_LABEL: 78
24/05 09:16:17 CKA_LABEL (string): x
24/05 09:16:17 Trying to get attribute: 0x10
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_APPLICATION: 74 65 73 74
24/05 09:16:17 CKA_APPLICATION (string): test
24/05 09:16:17 Trying to get attribute: 0x12
24/05 09:16:17 Returning attribute
24/05 09:16:17 Trying to get attribute: 0x11
24/05 09:16:17 Returning attribute
24/05 09:16:17 CKA_VALUE: 66 6F 6F
24/05 09:16:17  -C_GetAttributeValue : end RV(0x0)
24/05 09:16:17 +C_Finalize : start
24/05 09:16:17 Removing session: 1
24/05 09:16:17 Removing object: 804E508
24/05 09:16:17 Removing attribute: 804E6A8
24/05 09:16:17 Removing attribute: 804E678
24/05 09:16:17 Removing attribute: 804E638
24/05 09:16:17 Removing attribute: 804E618
24/05 09:16:17 Removing attribute: 804E5E8
24/05 09:16:17 Removing attribute: 804E5B8
24/05 09:16:17 Removing attribute: 804E578
24/05 09:16:17 Removing attribute: 804E530
24/05 09:16:17 Removing object: 804F020
24/05 09:16:17 Removing attribute: 804F1A8
24/05 09:16:17 Removing attribute: 804F178
24/05 09:16:17 Removing attribute: 804F138
24/05 09:16:17 Removing attribute: 804F118
24/05 09:16:17 Removing attribute: 804F0E8
24/05 09:16:17 Removing attribute: 804F0B8
24/05 09:16:17 Removing attribute: 804F078
24/05 09:16:17 Removing attribute: 804F048
24/05 09:16:17 Removing object: 804F208
24/05 09:16:17 Removing attribute: 804EFB8
24/05 09:16:17 Removing attribute: 804F360
24/05 09:16:17 Removing attribute: 804F320
24/05 09:16:17 Removing attribute: 804F300
24/05 09:16:17 Removing attribute: 804F2D0
24/05 09:16:17 Removing attribute: 804F2A0
24/05 09:16:17 Removing attribute: 804F260
24/05 09:16:17 Removing attribute: 804F230
24/05 09:16:17 Releasing connection (slot_DisconnectSlot)
24/05 09:16:17 Freed st.slots
24/05 09:16:17  -C_Finalize : end RV(0x0)
24/05 08:31:29 +C_GetFunctionList : start
24/05 08:31:29  -C_GetFunctionList : end RV(0x0)
24/05 08:31:29 +C_Initialize : start
24/05 08:31:29 Using non-native (application supplied) thread locks
24/05 08:31:29 Application does not allow thread creation; disabling threaded 
slot watcher
24/05 08:31:29 All threading disabled
24/05 08:31:29 Added reader: SCR 331 00 00
24/05 08:31:29 Active session list:
24/05 08:31:29 Slot 1 changed
24/05 08:31:29 Attempting establish
24/05 08:31:29 Establish connection
24/05 08:31:29 Begin transaction: 1,            rv=0
24/05 08:31:30 Token: MuscleCard Applet
24/05 08:31:30 Card supports RSA
24/05 08:31:30 Card supports RSA key gen
24/05 08:31:30 Card supports RSA NOPAD
24/05 08:31:30 Card supports RSA PKCS#1
24/05 08:31:30 Card supports DSA
24/05 08:31:30 Card supports DES but not returning mechanism
24/05 08:31:30 Card supports 3DES but not returning mechanism
24/05 08:31:30 End transaction: 1,              rv=0
24/05 08:31:30 (p11_general.c 115): error: 0x32 "CKR_DEVICE_REMOVED"
24/05 08:31:30  -C_Initialize : end RV(0x0)
24/05 08:31:30 +C_OpenSession : start
24/05 08:31:30 Active session list:
24/05 08:31:30 Attempting establish
24/05 08:31:30 New session handle: 1
24/05 08:31:30  -C_OpenSession : end RV(0x0)
24/05 08:31:30 +C_Login : start
24/05 08:31:30 Active session list:
24/05 08:31:30 Session ID: 804E4B8
24/05 08:31:30 Attempting establish
24/05 08:31:30 Begin transaction: 1,            rv=0
24/05 08:31:30 Verifying USER PIN
24/05 08:31:30 End transaction: 1,              rv=0
24/05 08:31:30  -C_Login : end RV(0x0)
24/05 08:31:30 +C_FindObjectsInit : start
24/05 08:31:30 Active session list:
24/05 08:31:30 Session ID: 804E4B8
24/05 08:31:30 Attempting establish
24/05 08:31:30 Begin transaction: 1,            rv=0
24/05 08:31:30 (p11_object.c 522): error: 0x9C12 "End of sequence"
24/05 08:31:30 New object handle: 804E508
24/05 08:31:30 Raw attribute header (file o0):  00 6F 30 00 00 00 36
24/05 08:31:30 Going to read 54 (0x36) bytes of data at offset 7
24/05 08:31:30 Raw attribute file:  00 00 00 12 00 00 00 00 00 03 00 01 7A 00 
00 00 10 00 04 74 65 73 74 00 00 01 70 00 01 01 00 00 00 02 00 01 00 00 00 00 
01 00 01 01 00 00 00 00 00 04 00 00 00 00
24/05 08:31:30 object_AddAttributes:
24/05 08:31:30 object_AddAttributes:
24/05 08:31:30 CKA_LABEL: 7A
24/05 08:31:30 CKA_LABEL (string): z
24/05 08:31:30 object_AddAttributes:
24/05 08:31:30 CKA_APPLICATION: 74 65 73 74
24/05 08:31:30 CKA_APPLICATION (string): test
24/05 08:31:30 object_AddAttributes:
24/05 08:31:30 CKA_MODIFIABLE: 01
24/05 08:31:30 object_AddAttributes:
24/05 08:31:30 CKA_PRIVATE: 00
24/05 08:31:30 object_AddAttributes:
24/05 08:31:30 CKA_TOKEN: 1 0x1
24/05 08:31:30 object_AddAttributes:
24/05 08:31:30 CKA_CLASS: 0 0x0
24/05 08:31:30 === Object handle: 804E508
24/05 08:31:30 --- Object Object: O0  Size: 3
24/05 08:31:30 CKA_CLASS: 0 0x0
24/05 08:31:30 CKA_PRIVATE: 00
24/05 08:31:30 CKA_MODIFIABLE: 01
24/05 08:31:30 CKA_APPLICATION: 74 65 73 74
24/05 08:31:30 CKA_APPLICATION (string): test
24/05 08:31:30 CKA_LABEL: 7A
24/05 08:31:30 CKA_LABEL (string): z
24/05 08:31:30 CKA_TOKEN: 1 0x1
24/05 08:31:30 CKA_VALUE: 62 61 7A
24/05 08:31:30 object_InferClassAttributes
24/05 08:31:30 object_InferClassAttributes: got CKA_VALUE
24/05 08:31:30 CKA_CLASS: 1 0x1
24/05 08:31:30 Match attribute type: 0x0
24/05 08:31:30 Orig: 01 00 00 00
24/05 08:31:30  Rev: 00 00 00 01
24/05 08:31:30  Obj: 00 00 00 00
24/05 08:31:30 CKA_CLASS: 1 0x1
24/05 08:31:30 Match attribute type: 0x0
24/05 08:31:30 Orig: 01 00 00 00
24/05 08:31:30  Rev: 00 00 00 01
24/05 08:31:30  Obj: 00 00 00 00
24/05 08:31:30 CKA_CLASS: 1 0x1
24/05 08:31:30 Match attribute type: 0x0
24/05 08:31:30 Orig: 01 00 00 00
24/05 08:31:30  Rev: 00 00 00 01
24/05 08:31:30  Obj: 00 00 00 00
24/05 08:31:30 (p11_object.c 529): error: 0x9C12 "End of sequence"
24/05 08:31:30 End transaction: 1,              rv=0
24/05 08:31:30  -C_FindObjectsInit : end RV(0x0)
24/05 08:31:30 +C_FindObjects : start
24/05 08:31:30 Active session list:
24/05 08:31:30 Session ID: 804E4B8
24/05 08:31:30 Find max object count: 1
24/05 08:31:30 CKA_CLASS: 0 0x0
24/05 08:31:30 Match attribute type: 0x0
24/05 08:31:30 Object matched: 804E508
24/05 08:31:30 Matched 1 objects
24/05 08:31:30  -C_FindObjects : end RV(0x0)
24/05 08:31:30 +C_FindObjects : start
24/05 08:31:30 Active session list:
24/05 08:31:30 Session ID: 804E4B8
24/05 08:31:30 Find max object count: 1
24/05 08:31:30 Matched 0 objects
24/05 08:31:30  -C_FindObjects : end RV(0x0)
24/05 08:31:30 +C_FindObjectsFinal : start
24/05 08:31:30 Active session list:
24/05 08:31:30 Session ID: 804E4B8
24/05 08:31:30  -C_FindObjectsFinal : end RV(0x0)
24/05 08:31:30 +C_GetAttributeValue : start
24/05 08:31:30 Object handle: 804E508
24/05 08:31:30 Active session list:
24/05 08:31:30 Session ID: 804E4B8
24/05 08:31:30 Get attribute object handle: 804E508  type: Object
24/05 08:31:30 Trying to get attribute: 0x0
24/05 08:31:30 pValue is NULL returning length: 4
24/05 08:31:30 Trying to get attribute: 0x1
24/05 08:31:30 pValue is NULL returning length: 1
24/05 08:31:30 Trying to get attribute: 0x2
24/05 08:31:30 pValue is NULL returning length: 1
24/05 08:31:30 Trying to get attribute: 0x170
24/05 08:31:30 pValue is NULL returning length: 1
24/05 08:31:30 Trying to get attribute: 0x3
24/05 08:31:30 pValue is NULL returning length: 1
24/05 08:31:30 Trying to get attribute: 0x10
24/05 08:31:30 pValue is NULL returning length: 4
24/05 08:31:30 Trying to get attribute: 0x12
24/05 08:31:30 pValue is NULL returning length: 0
24/05 08:31:30 Trying to get attribute: 0x11
24/05 08:31:30 pValue is NULL returning length: 3
24/05 08:31:30  -C_GetAttributeValue : end RV(0x0)
24/05 08:31:30 +C_GetAttributeValue : start
24/05 08:31:30 Object handle: 804E508
24/05 08:31:30 Active session list:
24/05 08:31:30 Session ID: 804E4B8
24/05 08:31:30 Get attribute object handle: 804E508  type: Object
24/05 08:31:30 Trying to get attribute: 0x0
24/05 08:31:30 Returning attribute
24/05 08:31:30 CKA_CLASS: 0 0x0
24/05 08:31:30 Reversing CKA_CLASS for little endian
24/05 08:31:30 Trying to get attribute: 0x1
24/05 08:31:30 Returning attribute
24/05 08:31:30 CKA_TOKEN: 1 0x1
24/05 08:31:30 Trying to get attribute: 0x2
24/05 08:31:30 Returning attribute
24/05 08:31:30 CKA_PRIVATE: 00
24/05 08:31:30 Trying to get attribute: 0x170
24/05 08:31:30 Returning attribute
24/05 08:31:30 CKA_MODIFIABLE: 01
24/05 08:31:30 Trying to get attribute: 0x3
24/05 08:31:30 Returning attribute
24/05 08:31:30 CKA_LABEL: 7A
24/05 08:31:30 CKA_LABEL (string): z
24/05 08:31:30 Trying to get attribute: 0x10
24/05 08:31:30 Returning attribute
24/05 08:31:30 CKA_APPLICATION: 74 65 73 74
24/05 08:31:30 CKA_APPLICATION (string): test
24/05 08:31:30 Trying to get attribute: 0x12
24/05 08:31:30 Returning attribute
24/05 08:31:30 Trying to get attribute: 0x11
24/05 08:31:30 Returning attribute
24/05 08:31:30 CKA_VALUE: 62 61 7A
24/05 08:31:30  -C_GetAttributeValue : end RV(0x0)
24/05 08:31:30 +C_Finalize : start
24/05 08:31:30 Removing session: 1
24/05 08:31:30 Removing object: 804E508
24/05 08:31:30 Removing attribute: 804F1C0
24/05 08:31:30 Removing attribute: 804F1A0
24/05 08:31:30 Removing attribute: 804E678
24/05 08:31:30 Removing attribute: 804E640
24/05 08:31:30 Removing attribute: 804E610
24/05 08:31:30 Removing attribute: 804E5E0
24/05 08:31:30 Removing attribute: 804E580
24/05 08:31:30 Removing attribute: 804E550
24/05 08:31:30 Releasing connection (slot_DisconnectSlot)
24/05 08:31:31 Freed st.slots
24/05 08:31:31  -C_Finalize : end RV(0x0)
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to