|
Re: eToken SC_ERROR_SECURITY_STATUS_NOT_SATISFIED: msg#00049encryption.opensc.devel
I put the opensc-debug.log In the log, you will find two step 1. I want to create a user pin code with pkcs15-init -P --pin 1111 --puk 1111 -a toto -r1 2. I try again the same functionnality In the first step, I entered a bad Security Officier pin code after, I cannot reentred the Security officier pin code. I receive automaticly SC_ERROR_SECURITY_STATUS_NOT_SATISFIED. So, at this point I erase (pkcs15-init -E) and recreate the token. Jean-Luc Stef Hoeben a écrit : Hy, =================================== opensc version: 0.9.4 sc.c:120:: called sc.c:125:: returning with: 1 card.c:355:: called Looking for a card_atr 3b:e2:00:ff:c1:10:31:fe:55:c8:02:9c trying driver: OMEGA Electronics LinkOS trying driver: Siemens CardOS matched: Siemens CardOS card.c:440:: returning with: 0 card.c:477:: called card.c:836:: called card-etoken.c:747:: called card-etoken.c:701:: called card.c:238:: called Sending 5 bytes (resp. 260 bytes): 00 CA 01 83 00 ..... Received 1 bytes (SW1=90 SW2=00) 20 card-etoken.c:735:: returning with: 0 card.c:845:: returning with: 0 called; type=2, path=3f0050154946 card-etoken.c:420:: called card.c:238:: called Sending 10 bytes (resp. 260 bytes): 00 A4 08 00 04 50 15 49 46 00 .....P.IF. Received 28 bytes (SW1=90 SW2=00) 6F 1A 81 02 00 80 82 02 01 21 83 02 49 46 85 01 o........!..IF.. 01 86 09 00 01 01 01 01 01 00 00 00 ............ processing FCI bytes file identifier: 0x4946 bytes in file: 128 shareable: no type: working EF EF structure: 1 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 called; 128 bytes at index 0 card.c:238:: called Sending 5 bytes (resp. 130 bytes): 00 B0 00 00 80 ..... Received 128 bytes (SW1=90 SW2=00) 01 06 70 6B 63 73 31 35 00 00 00 00 00 00 00 00 ..pkcs15........ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ iso7816.c:126:: returning with: 128 card.c:603:: returning with: 128 pkcs15.c:597:: called trying normal pkcs15 processing called; type=2, path=3f002f00 card-etoken.c:420:: called card.c:238:: called Sending 8 bytes (resp. 260 bytes): 00 A4 08 00 02 2F 00 00 ...../.. Received 28 bytes (SW1=90 SW2=00) 6F 1A 81 02 00 80 82 02 01 21 83 02 2F 00 85 01 o........!../... 01 86 09 00 00 00 00 00 00 00 00 00 ............ processing FCI bytes file identifier: 0x2F00 bytes in file: 128 shareable: no type: working EF EF structure: 1 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 called; 128 bytes at index 0 card.c:238:: called Sending 5 bytes (resp. 130 bytes): 00 B0 00 00 80 ..... Received 128 bytes (SW1=90 SW2=00) 61 21 4F 0C A0 00 00 00 63 50 4B 43 53 2D 31 35 a!O.....cPKCS-15 50 0B 4F 70 65 6E 53 43 20 43 61 72 64 51 04 3F P.OpenSC CardQ.? 00 50 15 00 00 00 00 00 00 00 00 00 00 00 00 00 .P.............. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ iso7816.c:126:: returning with: 128 card.c:603:: returning with: 128 called, left=128, depth 0 Looking for 'dirRecord', tag 0x11000001 decoding 'dirRecord' called, left=33, depth 1 Looking for 'aid', tag 0x1000000f decoding 'aid' Looking for 'label', tag 0x10000010, OPTIONAL decoding 'label' Looking for 'path', tag 0x10000011, OPTIONAL decoding 'path' Looking for 'ddo', tag 0x11000013, OPTIONAL not present asn1.c:1114:: returning with: 0 asn1.c:1114:: returning with: 0 called, left=93, depth 0 called; type=2, path=3f005015 card-etoken.c:420:: called card.c:238:: called Sending 7 bytes (resp. 2 bytes): 00 A4 08 00 02 50 15 .....P. Received 0 bytes (SW1=90 SW2=00) iso7816.c:440:: returning with: 0 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 called; type=2, path=3f0050155031 card-etoken.c:420:: called card.c:238:: called Sending 10 bytes (resp. 260 bytes): 00 A4 08 00 04 50 15 50 31 00 .....P.P1. Received 28 bytes (SW1=90 SW2=00) 6F 1A 81 02 01 00 82 02 01 21 83 02 50 31 85 01 o........!..P1.. 01 86 09 00 00 00 00 00 00 00 00 00 ............ processing FCI bytes file identifier: 0x5031 bytes in file: 256 shareable: no type: working EF EF structure: 1 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 called; 256 bytes at index 0 called; 248 bytes at index 0 card.c:238:: called Sending 5 bytes (resp. 250 bytes): 00 B0 00 00 F8 ..... Received 248 bytes (SW1=90 SW2=00) A8 0A 30 08 04 06 3F 00 50 15 44 01 00 00 00 00 ..0...?.P.D..... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 ........ iso7816.c:126:: returning with: 248 card.c:603:: returning with: 248 called; 8 bytes at index 248 card.c:238:: called Sending 5 bytes (resp. 10 bytes): 00 B0 00 F8 08 ..... Received 8 bytes (SW1=90 SW2=00) 00 00 00 00 00 00 00 00 ........ iso7816.c:126:: returning with: 8 card.c:603:: returning with: 8 card.c:600:: returning with: 256 called, left=256, depth 0, choice Looking for 'privateKeys', tag 0x21000000, CHOICE not present Looking for 'publicKeys', tag 0x21000001, CHOICE not present Looking for 'trustedPublicKeys', tag 0x21000002, CHOICE not present Looking for 'certificates', tag 0x21000004, CHOICE not present Looking for 'trustedCertificates', tag 0x21000005, CHOICE not present Looking for 'usefulCertificates', tag 0x21000006, CHOICE not present Looking for 'dataObjects', tag 0x21000007, CHOICE not present Looking for 'authObjects', tag 0x21000008, CHOICE decoding 'authObjects' called, left=10, depth 1 Looking for 'path', tag 0x1000010 decoding 'path' called, left=8, depth 2 Looking for 'path', tag 0x4 decoding 'path' Looking for 'index', tag 0x2, OPTIONAL not present Looking for 'length', tag 0x20000000, OPTIONAL not present asn1.c:1114:: returning with: 0 asn1.c:1114:: returning with: 0 asn1.c:1113:: returning with: 7 called, left=244, depth 0, choice The following DFs were found: DF type 8, path 3f0050154401, index 0, count -1 called; type=2, path=3f0050155032 card-etoken.c:420:: called card.c:238:: called Sending 10 bytes (resp. 260 bytes): 00 A4 08 00 04 50 15 50 32 00 .....P.P2. Received 28 bytes (SW1=90 SW2=00) 6F 1A 81 02 00 2E 82 02 01 21 83 02 50 32 85 01 o........!..P2.. 01 86 09 00 00 00 00 00 00 00 00 00 ............ processing FCI bytes file identifier: 0x5032 bytes in file: 46 shareable: no type: working EF EF structure: 1 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 called; 46 bytes at index 0 card.c:238:: called Sending 5 bytes (resp. 48 bytes): 00 B0 00 00 2E ..... Received 46 bytes (SW1=90 SW2=00) 30 2C 02 01 00 04 06 10 B1 25 19 17 1A 0C 0E 4F 0,.......%.....O 70 65 6E 53 43 20 50 72 6F 6A 65 63 74 80 0B 4F penSC Project..O 70 65 6E 53 43 20 43 61 72 64 03 02 04 10 penSC Card.... iso7816.c:126:: returning with: 46 card.c:603:: returning with: 46 called, left=46, depth 0 Looking for 'TokenInfo', tag 0x1000010 decoding 'TokenInfo' called, left=44, depth 1 Looking for 'version', tag 0x2 decoding 'version' Looking for 'serialNumber', tag 0x4 decoding 'serialNumber' Looking for 'manufacturerID', tag 0xc, OPTIONAL decoding 'manufacturerID' Looking for 'label', tag 0x20000000, OPTIONAL decoding 'label' Looking for 'tokenflags', tag 0x3 decoding 'tokenflags' Looking for 'seInfo', tag 0x1000010, OPTIONAL not present Looking for 'recordInfo', tag 0x21000001, OPTIONAL not present Looking for 'supportedAlgorithms', tag 0x21000002, OPTIONAL not present asn1.c:1114:: returning with: 0 asn1.c:1114:: returning with: 0 called, path=3f0050154401, index=0, count=-1 called; type=2, path=3f0050154401 card-etoken.c:420:: called card.c:238:: called Sending 10 bytes (resp. 260 bytes): 00 A4 08 00 04 50 15 44 01 00 .....P.D.. Received 28 bytes (SW1=90 SW2=00) 6F 1A 81 02 01 00 82 02 01 21 83 02 44 01 85 01 o........!..D... 01 86 09 00 01 01 01 01 01 00 00 00 ............ processing FCI bytes file identifier: 0x4401 bytes in file: 256 shareable: no type: working EF EF structure: 1 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 called; 256 bytes at index 0 called; 248 bytes at index 0 card.c:238:: called Sending 5 bytes (resp. 250 bytes): 00 B0 00 00 F8 ..... Received 248 bytes (SW1=90 SW2=00) 30 40 30 1A 0C 14 53 65 63 75 72 69 74 79 20 4F 0@xxxxxxxxxxxx O 66 66 69 63 65 72 20 50 49 4E 03 02 06 C0 30 03 fficer PIN....0. 04 01 FF A1 1D 30 1B 03 02 00 4D 0A 01 01 02 01 .....0....M..... 06 02 01 08 80 01 01 04 01 00 30 06 04 04 3F 00 ..........0...?. 50 15 00 00 00 00 00 00 00 00 00 00 00 00 00 00 P............... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 ........ iso7816.c:126:: returning with: 248 card.c:603:: returning with: 248 called; 8 bytes at index 248 card.c:238:: called Sending 5 bytes (resp. 10 bytes): 00 B0 00 F8 08 ..... Received 8 bytes (SW1=90 SW2=00) 00 00 00 00 00 00 00 00 ........ iso7816.c:126:: returning with: 8 card.c:603:: returning with: 8 card.c:600:: returning with: 256 called, left=256, depth 0 Looking for 'pin', tag 0x1000010 decoding 'pin' called, left=64, depth 1 Looking for 'commonObjectAttributes', tag 0x1000010 decoding 'commonObjectAttributes' called, left=26, depth 2 Looking for 'label', tag 0xc, OPTIONAL decoding 'label' Looking for 'flags', tag 0x3, OPTIONAL decoding 'flags' Looking for 'authId', tag 0x4, OPTIONAL not present Looking for 'userConsent', tag 0x2, OPTIONAL not present Looking for 'accessControlRules', tag 0x1000010, OPTIONAL not present asn1.c:1114:: returning with: 0 Looking for 'classAttributes', tag 0x1000010 decoding 'classAttributes' called, left=3, depth 2 Looking for 'authId', tag 0x4 decoding 'authId' asn1.c:1114:: returning with: 0 Looking for 'subClassAttributes', tag 0x21000000, OPTIONAL not present Looking for 'typeAttributes', tag 0x21000001 decoding 'typeAttributes' called, left=29, depth 2 Looking for 'pinAttributes', tag 0x1000010 decoding 'pinAttributes' called, left=27, depth 3 Looking for 'pinFlags', tag 0x3 decoding 'pinFlags' Looking for 'pinType', tag 0xa decoding 'pinType' Looking for 'minLength', tag 0x2 decoding 'minLength' Looking for 'storedLength', tag 0x2 decoding 'storedLength' Looking for 'maxLength', tag 0x2, OPTIONAL not present Looking for 'pinReference', tag 0x20000000, OPTIONAL decoding 'pinReference' Looking for 'padChar', tag 0x4, OPTIONAL decoding 'padChar' Looking for 'lastPinChange', tag 0x18, OPTIONAL not present Looking for 'path', tag 0x1000010, OPTIONAL decoding 'path' called, left=6, depth 4 Looking for 'path', tag 0x4 decoding 'path' Looking for 'index', tag 0x2, OPTIONAL not present Looking for 'length', tag 0x20000000, OPTIONAL not present asn1.c:1114:: returning with: 0 asn1.c:1114:: returning with: 0 asn1.c:1114:: returning with: 0 asn1.c:1114:: returning with: 0 asn1.c:1114:: returning with: 0 called; type=2, path=3f005015 card-etoken.c:420:: called card.c:238:: called Sending 7 bytes (resp. 2 bytes): 00 A4 08 00 02 50 15 .....P. Received 0 bytes (SW1=90 SW2=00) iso7816.c:440:: returning with: 0 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 card.c:836:: called card-etoken.c:781:: called card.c:238:: called Sending 34 bytes (resp. 2 bytes): 00 DA 01 6E 1D 83 02 00 04 85 08 02 0A 87 0A FF ...n............ 00 00 04 86 03 00 04 FF 8F 08 31 31 31 31 00 00 ..........1111.. 00 00 .. Received 0 bytes (SW1=90 SW2=00) card-etoken.c:799:: returning with: 0 card.c:845:: returning with: 0 card.c:836:: called card-etoken.c:781:: called card.c:238:: called Sending 34 bytes (resp. 2 bytes): 00 DA 01 6E 1D 83 02 00 03 85 08 02 03 87 03 FF ...n............ 00 00 04 86 03 00 03 04 8F 08 31 31 31 31 00 00 ..........1111.. 00 00 .. Received 0 bytes (SW1=90 SW2=00) card-etoken.c:799:: returning with: 0 card.c:845:: returning with: 0 called, DF 8 obj 00881AB8 encoding 'pin' type=258, tag=0x1000010, parm=0012FB60, len=0 encoding 'commonObjectAttributes' type=129, tag=0x1000010, parm=0012F618, len=0 encoding 'label' type=12, tag=0x0c, parm=0012F730, len=20 length of encoded item=22 encoding 'flags' type=131, tag=0x03, parm=0012F830, len=4 length of encoded item=4 encoding 'authId' (not present) length of encoded item=0 encoding 'userConsent' (not present) length of encoded item=0 encoding 'accessControlRules' (not present) length of encoded item=0 length of encoded item=28 encoding 'classAttributes' type=129, tag=0x1000010, parm=0012FB00, len=0 encoding 'authId' type=257, tag=0x04, parm=00881540, len=0 length of encoded item=3 length of encoded item=5 encoding 'subClassAttributes' (not present) length of encoded item=0 encoding 'typeAttributes' type=129, tag=0x21000001, parm=0012FB74, len=0 encoding 'pinAttributes' type=129, tag=0x1000010, parm=0012FA0C, len=0 encoding 'pinFlags' type=131, tag=0x03, parm=00881648, len=4 length of encoded item=4 encoding 'pinType' type=10, tag=0x0a, parm=0088164C, len=0 length of encoded item=3 encoding 'minLength' type=2, tag=0x02, parm=00881650, len=0 length of encoded item=3 encoding 'storedLength' type=2, tag=0x02, parm=00881654, len=0 length of encoded item=3 encoding 'maxLength' (not present) length of encoded item=0 encoding 'pinReference' type=2, tag=0x20000000, parm=00881644, len=0 length of encoded item=3 encoding 'padChar' type=4, tag=0x04, parm=0088165C, len=1 length of encoded item=3 encoding 'lastPinChange' (not present) length of encoded item=0 encoding 'path' type=256, tag=0x1000010, parm=00881660, len=0 encoding 'path' type=4, tag=0x04, parm=0012F444, len=4 length of encoded item=6 encoding 'index' (not present) length of encoded item=0 encoding 'length' (not present) length of encoded item=0 length of encoded item=8 length of encoded item=29 length of encoded item=31 length of encoded item=66 encoding 'pin' type=258, tag=0x1000010, parm=0012FB60, len=0 encoding 'commonObjectAttributes' type=129, tag=0x1000010, parm=0012F618, len=0 encoding 'label' type=12, tag=0x0c, parm=0012F730, len=4 length of encoded item=6 encoding 'flags' type=131, tag=0x03, parm=0012F830, len=4 length of encoded item=4 encoding 'authId' (not present) length of encoded item=0 encoding 'userConsent' (not present) length of encoded item=0 encoding 'accessControlRules' (not present) length of encoded item=0 length of encoded item=12 encoding 'classAttributes' type=129, tag=0x1000010, parm=0012FB00, len=0 encoding 'authId' type=257, tag=0x04, parm=00881CF0, len=0 length of encoded item=3 length of encoded item=5 encoding 'subClassAttributes' (not present) length of encoded item=0 encoding 'typeAttributes' type=129, tag=0x21000001, parm=0012FB74, len=0 encoding 'pinAttributes' type=129, tag=0x1000010, parm=0012FA0C, len=0 encoding 'pinFlags' type=131, tag=0x03, parm=00881DF8, len=4 length of encoded item=4 encoding 'pinType' type=10, tag=0x0a, parm=00881DFC, len=0 length of encoded item=3 encoding 'minLength' type=2, tag=0x02, parm=00881E00, len=0 length of encoded item=3 encoding 'storedLength' type=2, tag=0x02, parm=00881E04, len=0 length of encoded item=3 encoding 'maxLength' (not present) length of encoded item=0 encoding 'pinReference' type=2, tag=0x20000000, parm=00881DF4, len=0 length of encoded item=3 encoding 'padChar' type=4, tag=0x04, parm=00881E0C, len=1 length of encoded item=3 encoding 'lastPinChange' (not present) length of encoded item=0 encoding 'path' type=256, tag=0x1000010, parm=00881E10, len=0 encoding 'path' type=4, tag=0x04, parm=0012F444, len=4 length of encoded item=6 encoding 'index' (not present) length of encoded item=0 encoding 'length' (not present) length of encoded item=0 length of encoded item=8 length of encoded item=29 length of encoded item=31 length of encoded item=50 called, path=3f0050154401, 116 bytes called; type=2, path=3f0050154401 card-etoken.c:420:: called card.c:238:: called Sending 10 bytes (resp. 260 bytes): 00 A4 08 00 04 50 15 44 01 00 .....P.D.. Received 28 bytes (SW1=90 SW2=00) 6F 1A 81 02 01 00 82 02 01 21 83 02 44 01 85 01 o........!..D... 01 86 09 00 01 01 01 01 01 00 00 00 ............ processing FCI bytes file identifier: 0x4401 bytes in file: 256 shareable: no type: working EF EF structure: 1 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 path=3f0050154401, op=1 called; type=2, path=3f0050154401 card-etoken.c:420:: called card.c:238:: called Sending 9 bytes (resp. 2 bytes): 00 A4 08 00 04 50 15 44 01 .....P.D. Received 0 bytes (SW1=90 SW2=00) iso7816.c:440:: returning with: 0 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 sec.c:157:: called card.c:238:: called Sending 13 bytes (resp. 2 bytes, sensitive): 00 20 00 81 08 32 32 32 32 32 00 00 00 . ...22222... Received 0 bytes (SW1=63 SW2=00) pkcs15.c:670:: called card.c:497:: called Calling card logout function called; type=2, path=3f00 card-etoken.c:420:: called card.c:238:: called Sending 7 bytes (resp. 2 bytes): 00 A4 00 00 02 3F 00 .....?. Received 0 bytes (SW1=90 SW2=00) iso7816.c:440:: returning with: 0 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 card.c:452:: called card.c:467:: returning with: 0 ctx.c:591:: called =================================== opensc version: 0.9.4 sc.c:120:: called sc.c:125:: returning with: 1 card.c:355:: called Looking for a card_atr 3b:e2:00:ff:c1:10:31:fe:55:c8:02:9c trying driver: OMEGA Electronics LinkOS trying driver: Siemens CardOS matched: Siemens CardOS card.c:440:: returning with: 0 card.c:477:: called card.c:836:: called card-etoken.c:747:: called card-etoken.c:701:: called card.c:238:: called Sending 5 bytes (resp. 260 bytes): 00 CA 01 83 00 ..... Received 1 bytes (SW1=90 SW2=00) 20 card-etoken.c:735:: returning with: 0 card.c:845:: returning with: 0 called; type=2, path=3f0050154946 card-etoken.c:420:: called card.c:238:: called Sending 10 bytes (resp. 260 bytes): 00 A4 08 00 04 50 15 49 46 00 .....P.IF. Received 28 bytes (SW1=90 SW2=00) 6F 1A 81 02 00 80 82 02 01 21 83 02 49 46 85 01 o........!..IF.. 01 86 09 00 01 01 01 01 01 00 00 00 ............ processing FCI bytes file identifier: 0x4946 bytes in file: 128 shareable: no type: working EF EF structure: 1 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 called; 128 bytes at index 0 card.c:238:: called Sending 5 bytes (resp. 130 bytes): 00 B0 00 00 80 ..... Received 128 bytes (SW1=90 SW2=00) 01 06 70 6B 63 73 31 35 00 00 00 00 00 00 00 00 ..pkcs15........ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ iso7816.c:126:: returning with: 128 card.c:603:: returning with: 128 pkcs15.c:597:: called trying normal pkcs15 processing called; type=2, path=3f002f00 card-etoken.c:420:: called card.c:238:: called Sending 8 bytes (resp. 260 bytes): 00 A4 08 00 02 2F 00 00 ...../.. Received 28 bytes (SW1=90 SW2=00) 6F 1A 81 02 00 80 82 02 01 21 83 02 2F 00 85 01 o........!../... 01 86 09 00 00 00 00 00 00 00 00 00 ............ processing FCI bytes file identifier: 0x2F00 bytes in file: 128 shareable: no type: working EF EF structure: 1 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 called; 128 bytes at index 0 card.c:238:: called Sending 5 bytes (resp. 130 bytes): 00 B0 00 00 80 ..... Received 128 bytes (SW1=90 SW2=00) 61 21 4F 0C A0 00 00 00 63 50 4B 43 53 2D 31 35 a!O.....cPKCS-15 50 0B 4F 70 65 6E 53 43 20 43 61 72 64 51 04 3F P.OpenSC CardQ.? 00 50 15 00 00 00 00 00 00 00 00 00 00 00 00 00 .P.............. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ iso7816.c:126:: returning with: 128 card.c:603:: returning with: 128 called, left=128, depth 0 Looking for 'dirRecord', tag 0x11000001 decoding 'dirRecord' called, left=33, depth 1 Looking for 'aid', tag 0x1000000f decoding 'aid' Looking for 'label', tag 0x10000010, OPTIONAL decoding 'label' Looking for 'path', tag 0x10000011, OPTIONAL decoding 'path' Looking for 'ddo', tag 0x11000013, OPTIONAL not present asn1.c:1114:: returning with: 0 asn1.c:1114:: returning with: 0 called, left=93, depth 0 called; type=2, path=3f005015 card-etoken.c:420:: called card.c:238:: called Sending 7 bytes (resp. 2 bytes): 00 A4 08 00 02 50 15 .....P. Received 0 bytes (SW1=90 SW2=00) iso7816.c:440:: returning with: 0 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 called; type=2, path=3f0050155031 card-etoken.c:420:: called card.c:238:: called Sending 10 bytes (resp. 260 bytes): 00 A4 08 00 04 50 15 50 31 00 .....P.P1. Received 28 bytes (SW1=90 SW2=00) 6F 1A 81 02 01 00 82 02 01 21 83 02 50 31 85 01 o........!..P1.. 01 86 09 00 00 00 00 00 00 00 00 00 ............ processing FCI bytes file identifier: 0x5031 bytes in file: 256 shareable: no type: working EF EF structure: 1 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 called; 256 bytes at index 0 called; 248 bytes at index 0 card.c:238:: called Sending 5 bytes (resp. 250 bytes): 00 B0 00 00 F8 ..... Received 248 bytes (SW1=90 SW2=00) A8 0A 30 08 04 06 3F 00 50 15 44 01 00 00 00 00 ..0...?.P.D..... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 ........ iso7816.c:126:: returning with: 248 card.c:603:: returning with: 248 called; 8 bytes at index 248 card.c:238:: called Sending 5 bytes (resp. 10 bytes): 00 B0 00 F8 08 ..... Received 8 bytes (SW1=90 SW2=00) 00 00 00 00 00 00 00 00 ........ iso7816.c:126:: returning with: 8 card.c:603:: returning with: 8 card.c:600:: returning with: 256 called, left=256, depth 0, choice Looking for 'privateKeys', tag 0x21000000, CHOICE not present Looking for 'publicKeys', tag 0x21000001, CHOICE not present Looking for 'trustedPublicKeys', tag 0x21000002, CHOICE not present Looking for 'certificates', tag 0x21000004, CHOICE not present Looking for 'trustedCertificates', tag 0x21000005, CHOICE not present Looking for 'usefulCertificates', tag 0x21000006, CHOICE not present Looking for 'dataObjects', tag 0x21000007, CHOICE not present Looking for 'authObjects', tag 0x21000008, CHOICE decoding 'authObjects' called, left=10, depth 1 Looking for 'path', tag 0x1000010 decoding 'path' called, left=8, depth 2 Looking for 'path', tag 0x4 decoding 'path' Looking for 'index', tag 0x2, OPTIONAL not present Looking for 'length', tag 0x20000000, OPTIONAL not present asn1.c:1114:: returning with: 0 asn1.c:1114:: returning with: 0 asn1.c:1113:: returning with: 7 called, left=244, depth 0, choice The following DFs were found: DF type 8, path 3f0050154401, index 0, count -1 called; type=2, path=3f0050155032 card-etoken.c:420:: called card.c:238:: called Sending 10 bytes (resp. 260 bytes): 00 A4 08 00 04 50 15 50 32 00 .....P.P2. Received 28 bytes (SW1=90 SW2=00) 6F 1A 81 02 00 2E 82 02 01 21 83 02 50 32 85 01 o........!..P2.. 01 86 09 00 00 00 00 00 00 00 00 00 ............ processing FCI bytes file identifier: 0x5032 bytes in file: 46 shareable: no type: working EF EF structure: 1 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 called; 46 bytes at index 0 card.c:238:: called Sending 5 bytes (resp. 48 bytes): 00 B0 00 00 2E ..... Received 46 bytes (SW1=90 SW2=00) 30 2C 02 01 00 04 06 10 B1 25 19 17 1A 0C 0E 4F 0,.......%.....O 70 65 6E 53 43 20 50 72 6F 6A 65 63 74 80 0B 4F penSC Project..O 70 65 6E 53 43 20 43 61 72 64 03 02 04 10 penSC Card.... iso7816.c:126:: returning with: 46 card.c:603:: returning with: 46 called, left=46, depth 0 Looking for 'TokenInfo', tag 0x1000010 decoding 'TokenInfo' called, left=44, depth 1 Looking for 'version', tag 0x2 decoding 'version' Looking for 'serialNumber', tag 0x4 decoding 'serialNumber' Looking for 'manufacturerID', tag 0xc, OPTIONAL decoding 'manufacturerID' Looking for 'label', tag 0x20000000, OPTIONAL decoding 'label' Looking for 'tokenflags', tag 0x3 decoding 'tokenflags' Looking for 'seInfo', tag 0x1000010, OPTIONAL not present Looking for 'recordInfo', tag 0x21000001, OPTIONAL not present Looking for 'supportedAlgorithms', tag 0x21000002, OPTIONAL not present asn1.c:1114:: returning with: 0 asn1.c:1114:: returning with: 0 called, path=3f0050154401, index=0, count=-1 called; type=2, path=3f0050154401 card-etoken.c:420:: called card.c:238:: called Sending 10 bytes (resp. 260 bytes): 00 A4 08 00 04 50 15 44 01 00 .....P.D.. Received 28 bytes (SW1=90 SW2=00) 6F 1A 81 02 01 00 82 02 01 21 83 02 44 01 85 01 o........!..D... 01 86 09 00 01 01 01 01 01 00 00 00 ............ processing FCI bytes file identifier: 0x4401 bytes in file: 256 shareable: no type: working EF EF structure: 1 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 called; 256 bytes at index 0 called; 248 bytes at index 0 card.c:238:: called Sending 5 bytes (resp. 250 bytes): 00 B0 00 00 F8 ..... Received 248 bytes (SW1=90 SW2=00) 30 40 30 1A 0C 14 53 65 63 75 72 69 74 79 20 4F 0@xxxxxxxxxxxx O 66 66 69 63 65 72 20 50 49 4E 03 02 06 C0 30 03 fficer PIN....0. 04 01 FF A1 1D 30 1B 03 02 00 4D 0A 01 01 02 01 .....0....M..... 06 02 01 08 80 01 01 04 01 00 30 06 04 04 3F 00 ..........0...?. 50 15 00 00 00 00 00 00 00 00 00 00 00 00 00 00 P............... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 ........ iso7816.c:126:: returning with: 248 card.c:603:: returning with: 248 called; 8 bytes at index 248 card.c:238:: called Sending 5 bytes (resp. 10 bytes): 00 B0 00 F8 08 ..... Received 8 bytes (SW1=90 SW2=00) 00 00 00 00 00 00 00 00 ........ iso7816.c:126:: returning with: 8 card.c:603:: returning with: 8 card.c:600:: returning with: 256 called, left=256, depth 0 Looking for 'pin', tag 0x1000010 decoding 'pin' called, left=64, depth 1 Looking for 'commonObjectAttributes', tag 0x1000010 decoding 'commonObjectAttributes' called, left=26, depth 2 Looking for 'label', tag 0xc, OPTIONAL decoding 'label' Looking for 'flags', tag 0x3, OPTIONAL decoding 'flags' Looking for 'authId', tag 0x4, OPTIONAL not present Looking for 'userConsent', tag 0x2, OPTIONAL not present Looking for 'accessControlRules', tag 0x1000010, OPTIONAL not present asn1.c:1114:: returning with: 0 Looking for 'classAttributes', tag 0x1000010 decoding 'classAttributes' called, left=3, depth 2 Looking for 'authId', tag 0x4 decoding 'authId' asn1.c:1114:: returning with: 0 Looking for 'subClassAttributes', tag 0x21000000, OPTIONAL not present Looking for 'typeAttributes', tag 0x21000001 decoding 'typeAttributes' called, left=29, depth 2 Looking for 'pinAttributes', tag 0x1000010 decoding 'pinAttributes' called, left=27, depth 3 Looking for 'pinFlags', tag 0x3 decoding 'pinFlags' Looking for 'pinType', tag 0xa decoding 'pinType' Looking for 'minLength', tag 0x2 decoding 'minLength' Looking for 'storedLength', tag 0x2 decoding 'storedLength' Looking for 'maxLength', tag 0x2, OPTIONAL not present Looking for 'pinReference', tag 0x20000000, OPTIONAL decoding 'pinReference' Looking for 'padChar', tag 0x4, OPTIONAL decoding 'padChar' Looking for 'lastPinChange', tag 0x18, OPTIONAL not present Looking for 'path', tag 0x1000010, OPTIONAL decoding 'path' called, left=6, depth 4 Looking for 'path', tag 0x4 decoding 'path' Looking for 'index', tag 0x2, OPTIONAL not present Looking for 'length', tag 0x20000000, OPTIONAL not present asn1.c:1114:: returning with: 0 asn1.c:1114:: returning with: 0 asn1.c:1114:: returning with: 0 asn1.c:1114:: returning with: 0 asn1.c:1114:: returning with: 0 called; type=2, path=3f005015 card-etoken.c:420:: called card.c:238:: called Sending 7 bytes (resp. 2 bytes): 00 A4 08 00 02 50 15 .....P. Received 0 bytes (SW1=90 SW2=00) iso7816.c:440:: returning with: 0 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 card.c:836:: called card-etoken.c:781:: called card.c:238:: called Sending 34 bytes (resp. 2 bytes): 00 DA 01 6E 1D 83 02 00 04 85 08 02 0A 87 0A FF ...n............ 00 00 04 86 03 00 04 FF 8F 08 31 31 31 31 00 00 ..........1111.. 00 00 .. Received 0 bytes (SW1=69 SW2=82) pkcs15.c:670:: called card.c:497:: called Calling card logout function called; type=2, path=3f00 card-etoken.c:420:: called card.c:238:: called Sending 7 bytes (resp. 2 bytes): 00 A4 00 00 02 3F 00 .....?. Received 0 bytes (SW1=90 SW2=00) iso7816.c:440:: returning with: 0 card-etoken.c:424:: returning with: 0 card.c:722:: returning with: 0 card.c:452:: called card.c:467:: returning with: 0 ctx.c:591:: called
OpenSC-devel mailing list OpenSC-devel@xxxxxxxxxx http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: config file / profile file handling: 00049, Andreas Jellinghaus |
|---|---|
| Next by Date: | callback functions getPin with pkcs11: 00049, Jean-Luc Gyger |
| Previous by Thread: | Re: eToken SC_ERROR_SECURITY_STATUS_NOT_SATISFIEDi: 00049, Stef Hoeben |
| Next by Thread: | Re: eToken SC_ERROR_SECURITY_STATUS_NOT_SATISFIED: 00049, Stef Hoeben |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |