Pkcs15-init Unblock Starcos 2.3

View: New views
5 Messages — Rating Filter:   Alert me  

Pkcs15-init Unblock Starcos 2.3

by Fernando Sanchez Chaparro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello. First of all, I would like to apologize for my ingles, It's no my native languaje. Recently I have bought a Smart Card Starcos 2.3 Developer. I read in your web page that Versión 2.3 is fully supported by OpenSC. I have done some tests and I can't unblock a blocked Pin. Below I have written the instructions I'm trying:
#pcks15-init -D
PKCS#15 Card [OpenSC Card]:
        Version        : 1
        Serial number  : 8990552300041624
        Manufacturer ID: OpenSC Project
        Last update    : 20091022113213Z
        Flags          : EID compliant

PIN [Security Officer PIN]
        Com. Flags: 0x3
        ID        : ff
        Flags     : [0xB0], initialized, needs-padding, soPin
        Length    : min_len:6, max_len:8, stored_len:8
        Pad char  : 0x00
        Reference : 1
        Type      : ascii-numeric
        Path      : 3f005015

PIN []
        Com. Flags: 0x3
        ID        : 01
        Flags     : [0x32], local, initialized, needs-padding
        Length    : min_len:4, max_len:8, stored_len:8
        Pad char  : 0x00
        Reference : 131
        Type      : ascii-numeric
        Path      : 3f005015
------------------------------------------------------------------------------------
#pkcs11-tool -t -l -a 01
Please enter User PIN:
Authentication method blocked
[opensc-pkcs11] sec.c:201:sc_pin_cmd: returning with: Authentication method blocked
error: PKCS11 function C_Login failed: rv = CKR_PIN_LOCKED (0xa4)

Aborting.


-------------------------------------------------------------------------------------
As you can see, the PIN is blocked, and, now I try:

#pkcs15-tool -u -a 01
Enter PUK []:
Enter new PIN []:
Enter new PIN again []:
[pkcs15-tool] iso7816.c:99:iso7816_check_sw: Authentication method blocked
[pkcs15-tool] sec.c:201:sc_pin_cmd: returning with: Authentication method blocked
PIN unblocking failed: Authentication method blocked

---------------------------------------------------------------------------------------


Any Idea or suggestions??
Thanks in advance. Kind regards.

_______________________________________________
opensc-user mailing list
opensc-user@...
http://www.opensc-project.org/mailman/listinfo/opensc-user

Pkcs15-init Unblock Starcos 2.3

by Fernando Sanchez Chaparro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello. First of all, I would like to apologize for my ingles, It's no my native languaje. Recently I have bought a Smart Card Starcos 2.3 Developer. I read in your web page that Versión 2.3 is fully supported by OpenSC. I have done some tests and I can't unblock a blocked Pin. Below I have written the instructions I'm trying:
#pcks15-init -D
PKCS#15 Card [OpenSC Card]:
        Version        : 1
        Serial number  : 8990552300041624
        Manufacturer ID: OpenSC Project
        Last update    : 20091022113213Z
        Flags          : EID compliant

PIN [Security Officer PIN]
        Com. Flags: 0x3
        ID        : ff
        Flags     : [0xB0], initialized, needs-padding, soPin
        Length    : min_len:6, max_len:8, stored_len:8
        Pad char  : 0x00
        Reference : 1
        Type      : ascii-numeric
        Path      : 3f005015

PIN []
        Com. Flags: 0x3
        ID        : 01
        Flags     : [0x32], local, initialized, needs-padding
        Length    : min_len:4, max_len:8, stored_len:8
        Pad char  : 0x00
        Reference : 131
        Type      : ascii-numeric
        Path      : 3f005015
------------------------------------------------------------------------------------
#pkcs11-tool -t -l -a 01
Please enter User PIN:
Authentication method blocked
[opensc-pkcs11] sec.c:201:sc_pin_cmd: returning with: Authentication method blocked
error: PKCS11 function C_Login failed: rv = CKR_PIN_LOCKED (0xa4)

Aborting.


-------------------------------------------------------------------------------------
As you can see, the PIN is blocked, and, now I try:

#pkcs15-tool -u -a 01
Enter PUK []:
Enter new PIN []:
Enter new PIN again []:
[pkcs15-tool] iso7816.c:99:iso7816_check_sw: Authentication method blocked
[pkcs15-tool] sec.c:201:sc_pin_cmd: returning with: Authentication method blocked
PIN unblocking failed: Authentication method blocked

---------------------------------------------------------------------------------------


Any Idea or suggestions??
Thanks in advance. Kind regards.


_______________________________________________
opensc-user mailing list
opensc-user@...
http://www.opensc-project.org/mailman/listinfo/opensc-user

Re: Pkcs15-init Unblock Starcos 2.3

by Andreas Jellinghaus-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

did you get the card initialized, and try to use opensc
to change the pin?

or was the card initialized with opensc?


opensc initializes blank cards in a way, so a SOPIN or users PUK
can be used to unblock the PIN - but on starcos that only works
if the PIN was truely blocked.

you could create a debug log file (level 6) and post that.
but I'm not sure if anyone has the starcos developer manual
plus time to look at your log file, compare it with the manual,
and find the issue.

Regards, Andreas
_______________________________________________
opensc-user mailing list
opensc-user@...
http://www.opensc-project.org/mailman/listinfo/opensc-user

Parent Message unknown Re: Pkcs15-init Unblock Starcos 2.3

by Andreas Jellinghaus-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

the log file contains:
[pkcs15-tool] pkcs15-pin.c:367:sc_pkcs15_unblock_pin: Unable to get puk
object, using pin object instead!

has anyone seen this before? how can that happen?

whole log attached...

Andreas

[pkcs15-tool] ctx.c:705:sc_context_create: ===================================
[pkcs15-tool] ctx.c:706:sc_context_create: opensc version: 0.11.4
[pkcs15-tool] reader-pcsc.c:282:refresh_slot_attributes: called
[pkcs15-tool] reader-openct.c:89:openct_reader_init: called
[pkcs15-tool] sc.c:196:sc_detect_card_presence: called
[pkcs15-tool] reader-pcsc.c:282:refresh_slot_attributes: called
[pkcs15-tool] sc.c:201:sc_detect_card_presence: returning with: 1
[pkcs15-tool] card.c:110:sc_connect_card: called
[pkcs15-tool] reader-pcsc.c:282:refresh_slot_attributes: called
[pkcs15-tool] reader-pcsc.c:542:pcsc_connect: After connect protocol = 2
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:6e:00:ff:45:73:74:45:49:44:20:76:65:72:20:31:2e:30
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:fe:94:00:ff:80:b1:fa:45:1f:03:45:73:74:45:49:44:20:76:65:72:20:31:2e:30:43
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:fe:94:00:ff:80:b1:fa:45:1f:03:45:73:74:45:49:44:20:76:65:72:20:31:2e:30:43
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:ff:94:00:ff:80:b1:fe:45:1f:03:00:68:d2:76:00:00:28:ff:05:1e:31:80:00:90:00:23
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:ff:11:00:ff:80:b1:fe:45:1f:03:00:68:d2:76:00:00:28:ff:05:1e:31:80:00:90:00:a6
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] reader-pcsc.c:561:pcsc_connect: Requesting reader features ...
[pkcs15-tool] reader-pcsc.c:598:pcsc_connect: Reader supports pinpad PIN verification but it's disabled in configuration file
[pkcs15-tool] reader-pcsc.c:608:pcsc_connect: Reader supports pinpad PIN modification but it's disabled in configuration file
[pkcs15-tool] card.c:140:sc_connect_card: matching configured ATRs
[pkcs15-tool] card.c:182:sc_connect_card: matching built-in ATRs
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: cardos
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:e2:00:ff:c1:10:31:fe:55:c8:02:9c
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:e9:00:ff:c1:10:31:fe:55:00:64:05:00:c8:02:31:80:00:47
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:fb:98:00:ff:c1:10:31:fe:55:00:64:05:20:47:03:31:80:00:90:00:f3
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:fc:98:00:ff:c1:10:31:fe:55:c8:03:49:6e:66:6f:63:61:6d:65:72:65:28
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:f4:98:00:ff:c1:10:31:fe:55:4d:34:63:76:b4
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:f2:18:00:ff:c1:0a:31:fe:55:c8:06:8a
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: cardos
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:e2:00:ff:c1:10:31:fe:55:c8:02:9c
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:e9:00:ff:c1:10:31:fe:55:00:64:05:00:c8:02:31:80:00:47
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:fb:98:00:ff:c1:10:31:fe:55:00:64:05:20:47:03:31:80:00:90:00:f3
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:fc:98:00:ff:c1:10:31:fe:55:c8:03:49:6e:66:6f:63:61:6d:65:72:65:28
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:f4:98:00:ff:c1:10:31:fe:55:4d:34:63:76:b4
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:f2:18:00:ff:c1:0a:31:fe:55:c8:06:8a
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: flex
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:95:15:40:20:68:01:02:00:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:15:40:FF:68:01:02:02:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:15:40:FF:68:01:02:02:04
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:85:40:20:68:01:01:05:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:94:40:FF:63:01:01:02:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:15:40:FF:63:01:01:02:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:18:40:FF:64:02:01:01:02
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:18:40:FF:62:01:01:00:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:18:40:FF:62:01:02:01:04
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:18:40:FF:62:04:01:01:05
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:95:15:40:ff:68:01:02:45:47
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:06
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:05
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:07
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:85:40:20:68:01:01:03:05
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:02:14:50
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:19:14:55:90:01:02:01:00:05:04:B0
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:32:15:00:06:80
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:32:15:00:06:95
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:19:14:59:01:01:0F:01:00:05:08:B0
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:19:14:55:90:01:01:01:00:05:08:B0
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:16:94:81:10:06:01:81:3F
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:16:94:81:10:06:01:81:2F
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: cyberflex
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:95:15:40:20:68:01:02:00:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:15:40:FF:68:01:02:02:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:15:40:FF:68:01:02:02:04
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:85:40:20:68:01:01:05:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:94:40:FF:63:01:01:02:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:15:40:FF:63:01:01:02:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:18:40:FF:64:02:01:01:02
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:18:40:FF:62:01:01:00:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:18:40:FF:62:01:02:01:04
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:18:40:FF:62:04:01:01:05
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:95:15:40:ff:68:01:02:45:47
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:06
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:05
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:07
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:85:40:20:68:01:01:03:05
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:02:14:50
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:19:14:55:90:01:02:01:00:05:04:B0
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:32:15:00:06:80
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:32:15:00:06:95
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:19:14:59:01:01:0F:01:00:05:08:B0
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:19:14:55:90:01:01:01:00:05:08:B0
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:16:94:81:10:06:01:81:3F
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:16:94:81:10:06:01:81:2F
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: gpk
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:27:00:80:65:A2:04:01:01:37
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:27:00:80:65:A2:05:01:01:37
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:27:00:80:65:A2:0C:01:01:37
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:A7:00:40:14:80:65:A2:14:01:01:37
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:A7:00:40:18:80:65:A2:08:01:01:52
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:A7:00:40:18:80:65:A2:09:01:01:52
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:A7:00:40:18:80:65:A2:09:01:02:52
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:A7:00:40:18:80:65:A2:09:01:03:52
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: miocos
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:9D:94:40:23:00:68:10:11:4D:69:6F:43:4F:53:00:90:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:9D:94:40:23:00:68:20:01:4D:69:6F:43:4F:53:00:90:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: mcrd
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:FF:94:00:FF:80:B1:FE:45:1F:03:00:68:D2:76:00:00:28:FF:05:1E:31:80:00:90:00:23
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:6f:00:ff:00:68:d2:76:00:00:28:ff:05:1e:31:80:00:90:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:ff:11:00:ff:80:b1:fe:45:1f:03:00:68:d2:76:00:00:28:ff:05:1e:31:80:00:90:00:a6
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: asepcos
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:d6:18:00:81:b1:80:7d:1f:03:80:51:00:61:10:30:8f
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:d6:18:00:81:b1:fe:7d:1f:03:41:53:45:37:35:35:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: setcos
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:1F:11:00:67:80:42:46:49:53:45:10:52:66:FF:81:90:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:9F:94:40:1E:00:67:16:43:46:49:53:45:10:52:66:FF:81:90:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:9f:94:40:1e:00:67:00:43:46:49:53:45:10:52:66:ff:81:90:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:6b:00:ff:80:62:00:a2:56:46:69:6e:45:49:44
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:64:00:ff:80:62:00:a2
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:7b:00:00:00:80:62:00:51:56:46:69:6e:45:49:44
[pkcs15-tool] card.c:766:match_atr_table: ATR mask: ff:ff:00:ff:ff:ff:ff:f0:ff:ff:ff:ff:ff:ff:ff:ff
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:64:00:00:80:62:00:51
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:6e:00:00:00:62:00:00:57:41:56:41:4e:54:10:81:90:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:7b:94:00:00:80:62:11:51:56:46:69:6e:45:49:44
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:9f:94:80:1f:c3:00:68:10:44:05:01:46:49:53:45:31:c8:07:90:00:18
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:9f:94:80:1f:c3:00:68:11:44:05:01:46:49:53:45:31:c8:00:00:00:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] reader-pcsc.c:637:pcsc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 CA DF 30 05 ...0.
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    2 bytes] =====================================
6A 88 j.
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] reader-pcsc.c:670:pcsc_unlock: called
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: starcos
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:B7:94:00:c0:24:31:fe:65:53:50:4b:32:33:90:00:b4
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:B7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:196:sc_connect_card: matched: STARCOS SPK 2.3/2.4
[pkcs15-tool] card.c:221:sc_connect_card: card info: STARCOS SPK 2.3, 7001, 0x0
[pkcs15-tool] card.c:222:sc_connect_card: returning with: 0
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] reader-pcsc.c:637:pcsc_lock: called
[pkcs15-tool] pkcs15.c:706:sc_pkcs15_bind: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] pkcs15.c:526:sc_pkcs15_bind_internal: trying normal pkcs15 processing
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f002f00
[pkcs15-tool] card-starcos.c:367:starcos_select_file: called
[pkcs15-tool] card-starcos.c:379:starcos_select_file: current path (path, valid):  (len: 0)
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    8 bytes] =====================================
00 A4 00 00 02 3F 00 00 .....?..
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    2 bytes] =====================================
62 84 b.
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    7 bytes] =====================================
00 A4 00 0C 02 3F 00 .....?.
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    2 bytes] =====================================
90 00 ..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card-starcos.c:356:starcos_select_fid: returning with: 0
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    8 bytes] =====================================
00 A4 00 00 02 2F 00 00 ...../..
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [   11 bytes] =====================================
6F 07 80 02 00 80 82 01 01 90 00 o..........
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 00 01 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    3 bytes] =====================================
61 90 00 a..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card-starcos.c:138:process_fci: processing FCI bytes
[pkcs15-tool] card-starcos.c:160:process_fci:   bytes in file: 128
[pkcs15-tool] card-starcos.c:209:process_fci:   type: working EF
[pkcs15-tool] card-starcos.c:210:process_fci:   EF structure: transparent
[pkcs15-tool] card-starcos.c:356:starcos_select_fid: returning with: 0
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
[pkcs15-tool] card.c:399:sc_read_binary: called; 128 bytes at index 0
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 00 80 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [  130 bytes] =====================================
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 ................
90 00                                           ..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] iso7816.c:132:iso7816_read_binary: returning with: 128
[pkcs15-tool] card.c:430:sc_read_binary: returning with: 128
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=128, depth 0
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'dirRecord', tag 0x11000001
[pkcs15-tool] asn1.c:944:asn1_decode_entry: decoding 'dirRecord'
[pkcs15-tool] asn1.c:1126:asn1_decode:  called, left=33, depth 1
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'aid', tag 0x1000000f
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'aid'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'label', tag 0x10000010, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'label'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x10000011, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'path'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'ddo', tag 0x11000013, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=93, depth 0
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f005015
[pkcs15-tool] card-starcos.c:367:starcos_select_file: called
[pkcs15-tool] card-starcos.c:379:starcos_select_file: current path (path, valid): 3f00 (len: 2)
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    8 bytes] =====================================
00 A4 00 00 02 50 15 00 .....P..
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    2 bytes] =====================================
62 84 b.
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    7 bytes] =====================================
00 A4 00 0C 02 50 15 .....P.
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    2 bytes] =====================================
90 00 ..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card-starcos.c:356:starcos_select_fid: returning with: 0
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f0050155031
[pkcs15-tool] card-starcos.c:367:starcos_select_file: called
[pkcs15-tool] card-starcos.c:379:starcos_select_file: current path (path, valid): 3f005015 (len: 4)
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    8 bytes] =====================================
00 A4 00 00 02 50 31 00 .....P1.
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [   11 bytes] =====================================
6F 07 80 02 01 00 82 01 01 90 00 o..........
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 00 01 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    3 bytes] =====================================
A8 90 00 ...
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card-starcos.c:138:process_fci: processing FCI bytes
[pkcs15-tool] card-starcos.c:160:process_fci:   bytes in file: 256
[pkcs15-tool] card-starcos.c:209:process_fci:   type: working EF
[pkcs15-tool] card-starcos.c:210:process_fci:   EF structure: transparent
[pkcs15-tool] card-starcos.c:356:starcos_select_fid: returning with: 0
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
[pkcs15-tool] card.c:399:sc_read_binary: called; 256 bytes at index 0
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] card.c:399:sc_read_binary: called; 128 bytes at index 0
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 00 80 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [  130 bytes] =====================================
A8 0A 30 08 04 06 3F 00 50 15 44 01 A0 0A 30 08 ..0...?.P.D...0.
04 06 3F 00 50 15 44 02 A1 0A 30 08 04 06 3F 00 ..?.P.D...0...?.
50 15 44 03 00 00 00 00 00 00 00 00 00 00 00 00 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 ................
90 00                                           ..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] iso7816.c:132:iso7816_read_binary: returning with: 128
[pkcs15-tool] card.c:430:sc_read_binary: returning with: 128
[pkcs15-tool] card.c:399:sc_read_binary: called; 128 bytes at index 128
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 80 80 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [  130 bytes] =====================================
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
90 00                                           ..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] iso7816.c:132:iso7816_read_binary: returning with: 128
[pkcs15-tool] card.c:430:sc_read_binary: returning with: 128
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card.c:427:sc_read_binary: returning with: 256
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=256, depth 0, choice
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'privateKeys', tag 0x21000000, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'publicKeys', tag 0x21000001, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'trustedPublicKeys', tag 0x21000002, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'secretKeys', tag 0x21000003, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'certificates', tag 0x21000004, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'trustedCertificates', tag 0x21000005, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'usefulCertificates', tag 0x21000006, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'dataObjects', tag 0x21000007, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'authObjects', tag 0x21000008, CHOICE
[pkcs15-tool] asn1.c:944:asn1_decode_entry: decoding 'authObjects'
[pkcs15-tool] asn1.c:1126:asn1_decode:  called, left=10, depth 1
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'path'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=8, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x4
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'path'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'index', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'length', tag 0x20000000, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1201:asn1_decode: returning with: 8
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=244, depth 0, choice
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'privateKeys', tag 0x21000000, CHOICE
[pkcs15-tool] asn1.c:944:asn1_decode_entry: decoding 'privateKeys'
[pkcs15-tool] asn1.c:1126:asn1_decode:  called, left=10, depth 1
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'path'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=8, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x4
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'path'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'index', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'length', tag 0x20000000, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1201:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=232, depth 0, choice
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'privateKeys', tag 0x21000000, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'publicKeys', tag 0x21000001, CHOICE
[pkcs15-tool] asn1.c:944:asn1_decode_entry: decoding 'publicKeys'
[pkcs15-tool] asn1.c:1126:asn1_decode:  called, left=10, depth 1
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'path'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=8, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x4
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'path'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'index', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'length', tag 0x20000000, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1201:asn1_decode: returning with: 1
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=220, depth 0, choice
[pkcs15-tool] pkcs15.c:623:sc_pkcs15_bind_internal: The following DFs were found:
[pkcs15-tool] pkcs15.c:633:sc_pkcs15_bind_internal:   DF type 8, path 3f0050154401, index 0, count -1
[pkcs15-tool] pkcs15.c:633:sc_pkcs15_bind_internal:   DF type 0, path 3f0050154402, index 0, count -1
[pkcs15-tool] pkcs15.c:633:sc_pkcs15_bind_internal:   DF type 1, path 3f0050154403, index 0, count -1
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f0050155032
[pkcs15-tool] card-starcos.c:367:starcos_select_file: called
[pkcs15-tool] card-starcos.c:379:starcos_select_file: current path (path, valid): 3f005015 (len: 4)
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    8 bytes] =====================================
00 A4 00 00 02 50 32 00 .....P2.
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [   11 bytes] =====================================
6F 07 80 02 00 41 82 01 01 90 00 o....A.....
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 00 01 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    3 bytes] =====================================
30 90 00 0..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card-starcos.c:138:process_fci: processing FCI bytes
[pkcs15-tool] card-starcos.c:160:process_fci:   bytes in file: 65
[pkcs15-tool] card-starcos.c:209:process_fci:   type: working EF
[pkcs15-tool] card-starcos.c:210:process_fci:   EF structure: transparent
[pkcs15-tool] card-starcos.c:356:starcos_select_fid: returning with: 0
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
[pkcs15-tool] card.c:399:sc_read_binary: called; 65 bytes at index 0
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 00 41 ....A
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [   67 bytes] =====================================
30 3F 02 01 00 04 08 89 90 55 23 00 04 16 24 0C 0?.......U#...$.
0E 4F 70 65 6E 53 43 20 50 72 6F 6A 65 63 74 80 .OpenSC Project.
0B 4F 70 65 6E 53 43 20 43 61 72 64 03 02 04 10 .OpenSC Card....
85 0F 32 30 30 39 31 30 32 33 31 30 30 38 31 30 ..20091023100810
5A 90 00                                        Z..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] iso7816.c:132:iso7816_read_binary: returning with: 65
[pkcs15-tool] card.c:430:sc_read_binary: returning with: 65
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=65, depth 0
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'TokenInfo', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry: decoding 'TokenInfo'
[pkcs15-tool] asn1.c:1126:asn1_decode:  called, left=63, depth 1
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'version', tag 0x2
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'version'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'serialNumber', tag 0x4, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'serialNumber'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'manufacturerID', tag 0xc, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'manufacturerID'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'label', tag 0x20000000, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'label'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'label-tw', tag 0x21000000, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'tokenflags', tag 0x3
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'tokenflags'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'seInfo', tag 0x1000010, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'recordInfo', tag 0x21000001, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'supportedAlgorithms', tag 0x21000002, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'issuerId', tag 0x20000003, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'holderId', tag 0x20000004, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'lastUpdate', tag 0x20000005, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'lastUpdate'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'preferredLanguage', tag 0x13, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] pkcs15.c:1599:sc_pkcs15_read_file: called, path=3f0050154401, index=0, count=-1
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f0050154401
[pkcs15-tool] card-starcos.c:367:starcos_select_file: called
[pkcs15-tool] card-starcos.c:379:starcos_select_file: current path (path, valid): 3f005015 (len: 4)
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    8 bytes] =====================================
00 A4 00 00 02 44 01 00 .....D..
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [   11 bytes] =====================================
6F 07 80 02 01 00 82 01 01 90 00 o..........
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 00 01 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    3 bytes] =====================================
30 90 00 0..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card-starcos.c:138:process_fci: processing FCI bytes
[pkcs15-tool] card-starcos.c:160:process_fci:   bytes in file: 256
[pkcs15-tool] card-starcos.c:209:process_fci:   type: working EF
[pkcs15-tool] card-starcos.c:210:process_fci:   EF structure: transparent
[pkcs15-tool] card-starcos.c:356:starcos_select_fid: returning with: 0
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
[pkcs15-tool] card.c:399:sc_read_binary: called; 256 bytes at index 0
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] card.c:399:sc_read_binary: called; 128 bytes at index 0
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 00 80 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [  130 bytes] =====================================
30 43 30 1A 0C 14 53 65 63 75 72 69 74 79 20 4F 0C0...Security O
66 66 69 63 65 72 20 50 49 4E 03 02 06 C0 30 03 fficer PIN....0.
04 01 FF A1 20 30 1E 03 02 00 0D 0A 01 01 02 01 .... 0..........
06 02 01 08 02 01 08 80 01 01 04 01 00 30 06 04 .............0..
04 3F 00 50 15 30 42 30 19 0C 13 41 6E 64 72 65 .?.P.0B0...Andre
61 73 20 4A 65 6C 6C 69 6E 67 68 61 75 73 03 02 as Jellinghaus..
06 C0 30 03 04 01 01 A1 20 30 1E 03 02 02 4C 0A ..0..... 0....L.
01 01 02 01 04 02 01 08 02 01 08 80 01 83 04 01 ................
90 00                                           ..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] iso7816.c:132:iso7816_read_binary: returning with: 128
[pkcs15-tool] card.c:430:sc_read_binary: returning with: 128
[pkcs15-tool] card.c:399:sc_read_binary: called; 128 bytes at index 128
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 80 80 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [  130 bytes] =====================================
00 30 06 04 04 3F 00 50 15 00 00 00 00 00 00 00 .0...?.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 ................
90 00                                           ..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] iso7816.c:132:iso7816_read_binary: returning with: 128
[pkcs15-tool] card.c:430:sc_read_binary: returning with: 128
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card.c:427:sc_read_binary: returning with: 256
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=256, depth 0
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pin', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry: decoding 'pin'
[pkcs15-tool] asn1.c:1126:asn1_decode:  called, left=67, depth 1
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'commonObjectAttributes', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'commonObjectAttributes'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=26, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'label', tag 0xc, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'label'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'flags', tag 0x3, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'flags'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'authId', tag 0x4, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'userConsent', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'accessControlRules', tag 0x1000010, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'classAttributes', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'classAttributes'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=3, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'authId', tag 0x4
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'authId'
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'subClassAttributes', tag 0x21000000, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'typeAttributes', tag 0x21000001
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'typeAttributes'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=32, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pinAttributes', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'pinAttributes'
[pkcs15-tool] asn1.c:1126:asn1_decode:    called, left=30, depth 3
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pinFlags', tag 0x3
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'pinFlags'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pinType', tag 0xa
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'pinType'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'minLength', tag 0x2
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'minLength'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'storedLength', tag 0x2
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'storedLength'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'maxLength', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'maxLength'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pinReference', tag 0x20000000, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'pinReference'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'padChar', tag 0x4, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'padChar'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'lastPinChange', tag 0x18, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x1000010, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'path'
[pkcs15-tool] asn1.c:1126:asn1_decode:     called, left=6, depth 4
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x4
[pkcs15-tool] asn1.c:944:asn1_decode_entry:     decoding 'path'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'index', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'length', tag 0x20000000, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=187, depth 0
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pin', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry: decoding 'pin'
[pkcs15-tool] asn1.c:1126:asn1_decode:  called, left=66, depth 1
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'commonObjectAttributes', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'commonObjectAttributes'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=25, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'label', tag 0xc, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'label'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'flags', tag 0x3, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'flags'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'authId', tag 0x4, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'userConsent', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'accessControlRules', tag 0x1000010, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'classAttributes', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'classAttributes'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=3, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'authId', tag 0x4
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'authId'
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'subClassAttributes', tag 0x21000000, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'typeAttributes', tag 0x21000001
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'typeAttributes'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=32, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pinAttributes', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'pinAttributes'
[pkcs15-tool] asn1.c:1126:asn1_decode:    called, left=30, depth 3
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pinFlags', tag 0x3
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'pinFlags'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pinType', tag 0xa
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'pinType'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'minLength', tag 0x2
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'minLength'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'storedLength', tag 0x2
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'storedLength'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'maxLength', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'maxLength'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pinReference', tag 0x20000000, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'pinReference'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'padChar', tag 0x4, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'padChar'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'lastPinChange', tag 0x18, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x1000010, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'path'
[pkcs15-tool] asn1.c:1126:asn1_decode:     called, left=6, depth 4
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x4
[pkcs15-tool] asn1.c:944:asn1_decode_entry:     decoding 'path'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'index', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'length', tag 0x20000000, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] pkcs15-pin.c:367:sc_pkcs15_unblock_pin: Unable to get puk object, using pin object instead!
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f005015
[pkcs15-tool] card-starcos.c:367:starcos_select_file: called
[pkcs15-tool] card-starcos.c:379:starcos_select_file: current path (path, valid): 3f005015 (len: 4)
[pkcs15-tool] card-starcos.c:473:starcos_select_file: cache hit
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
[pkcs15-tool] sec.c:154:sc_pin_cmd: called
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [   21 bytes] =====================================
00 2C 00 83 10 63 61 72 69 62 32 00 00 63 61 72 .,...carib2..car
69 62 32 00 00                                  ib2..
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    2 bytes] =====================================
69 83 i.
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card-starcos.c:1243:starcos_check_sw: sw1 = 0x69, sw2 = 0x83
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] pkcs15.c:781:sc_pkcs15_unbind: called
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] reader-pcsc.c:670:pcsc_unlock: called
[pkcs15-tool] card.c:236:sc_disconnect_card: called
[pkcs15-tool] card.c:251:sc_disconnect_card: returning with: 0
[pkcs15-tool] ctx.c:738:sc_release_context: called
[pkcs15-tool] reader-openct.c:178:openct_reader_release: called
[pkcs15-tool] reader-openct.c:178:openct_reader_release: called
[pkcs15-tool] reader-openct.c:178:openct_reader_release: called
[pkcs15-tool] reader-openct.c:178:openct_reader_release: called
[pkcs15-tool] reader-openct.c:178:openct_reader_release: called
[pkcs15-tool] reader-openct.c:164:openct_reader_finish: called
[pkcs15-tool] ctx.c:705:sc_context_create: ===================================
[pkcs15-tool] ctx.c:706:sc_context_create: opensc version: 0.11.4
[pkcs15-tool] reader-pcsc.c:282:refresh_slot_attributes: called
[pkcs15-tool] reader-openct.c:89:openct_reader_init: called
[pkcs15-tool] sc.c:196:sc_detect_card_presence: called
[pkcs15-tool] reader-pcsc.c:282:refresh_slot_attributes: called
[pkcs15-tool] sc.c:201:sc_detect_card_presence: returning with: 1
[pkcs15-tool] card.c:110:sc_connect_card: called
[pkcs15-tool] reader-pcsc.c:282:refresh_slot_attributes: called
[pkcs15-tool] reader-pcsc.c:542:pcsc_connect: After connect protocol = 2
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:6e:00:ff:45:73:74:45:49:44:20:76:65:72:20:31:2e:30
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:fe:94:00:ff:80:b1:fa:45:1f:03:45:73:74:45:49:44:20:76:65:72:20:31:2e:30:43
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:fe:94:00:ff:80:b1:fa:45:1f:03:45:73:74:45:49:44:20:76:65:72:20:31:2e:30:43
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:ff:94:00:ff:80:b1:fe:45:1f:03:00:68:d2:76:00:00:28:ff:05:1e:31:80:00:90:00:23
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:ff:11:00:ff:80:b1:fe:45:1f:03:00:68:d2:76:00:00:28:ff:05:1e:31:80:00:90:00:a6
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] reader-pcsc.c:561:pcsc_connect: Requesting reader features ...
[pkcs15-tool] reader-pcsc.c:598:pcsc_connect: Reader supports pinpad PIN verification but it's disabled in configuration file
[pkcs15-tool] reader-pcsc.c:608:pcsc_connect: Reader supports pinpad PIN modification but it's disabled in configuration file
[pkcs15-tool] card.c:140:sc_connect_card: matching configured ATRs
[pkcs15-tool] card.c:182:sc_connect_card: matching built-in ATRs
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: cardos
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:e2:00:ff:c1:10:31:fe:55:c8:02:9c
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:e9:00:ff:c1:10:31:fe:55:00:64:05:00:c8:02:31:80:00:47
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:fb:98:00:ff:c1:10:31:fe:55:00:64:05:20:47:03:31:80:00:90:00:f3
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:fc:98:00:ff:c1:10:31:fe:55:c8:03:49:6e:66:6f:63:61:6d:65:72:65:28
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:f4:98:00:ff:c1:10:31:fe:55:4d:34:63:76:b4
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:f2:18:00:ff:c1:0a:31:fe:55:c8:06:8a
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: cardos
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:e2:00:ff:c1:10:31:fe:55:c8:02:9c
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:e9:00:ff:c1:10:31:fe:55:00:64:05:00:c8:02:31:80:00:47
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:fb:98:00:ff:c1:10:31:fe:55:00:64:05:20:47:03:31:80:00:90:00:f3
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:fc:98:00:ff:c1:10:31:fe:55:c8:03:49:6e:66:6f:63:61:6d:65:72:65:28
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:f4:98:00:ff:c1:10:31:fe:55:4d:34:63:76:b4
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:f2:18:00:ff:c1:0a:31:fe:55:c8:06:8a
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: flex
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:95:15:40:20:68:01:02:00:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:15:40:FF:68:01:02:02:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:15:40:FF:68:01:02:02:04
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:85:40:20:68:01:01:05:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:94:40:FF:63:01:01:02:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:15:40:FF:63:01:01:02:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:18:40:FF:64:02:01:01:02
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:18:40:FF:62:01:01:00:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:18:40:FF:62:01:02:01:04
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:18:40:FF:62:04:01:01:05
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:95:15:40:ff:68:01:02:45:47
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:06
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:05
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:07
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:85:40:20:68:01:01:03:05
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:02:14:50
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:19:14:55:90:01:02:01:00:05:04:B0
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:32:15:00:06:80
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:32:15:00:06:95
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:19:14:59:01:01:0F:01:00:05:08:B0
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:19:14:55:90:01:01:01:00:05:08:B0
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:16:94:81:10:06:01:81:3F
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:16:94:81:10:06:01:81:2F
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: cyberflex
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:95:15:40:20:68:01:02:00:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:15:40:FF:68:01:02:02:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:15:40:FF:68:01:02:02:04
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:85:40:20:68:01:01:05:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:94:40:FF:63:01:01:02:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:15:40:FF:63:01:01:02:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:18:40:FF:64:02:01:01:02
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:18:40:FF:62:01:01:00:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:18:40:FF:62:01:02:01:04
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:95:18:40:FF:62:04:01:01:05
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:95:15:40:ff:68:01:02:45:47
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:06
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:05
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:07
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:85:40:20:68:01:01:03:05
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:02:14:50
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:19:14:55:90:01:02:01:00:05:04:B0
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:32:15:00:06:80
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:32:15:00:06:95
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:19:14:59:01:01:0F:01:00:05:08:B0
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:19:14:55:90:01:01:01:00:05:08:B0
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:16:94:81:10:06:01:81:3F
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:16:94:81:10:06:01:81:2F
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: gpk
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:27:00:80:65:A2:04:01:01:37
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:27:00:80:65:A2:05:01:01:37
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:27:00:80:65:A2:0C:01:01:37
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:A7:00:40:14:80:65:A2:14:01:01:37
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:A7:00:40:18:80:65:A2:08:01:01:52
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:A7:00:40:18:80:65:A2:09:01:01:52
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:A7:00:40:18:80:65:A2:09:01:02:52
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:A7:00:40:18:80:65:A2:09:01:03:52
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: miocos
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:9D:94:40:23:00:68:10:11:4D:69:6F:43:4F:53:00:90:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:9D:94:40:23:00:68:20:01:4D:69:6F:43:4F:53:00:90:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: mcrd
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:FF:94:00:FF:80:B1:FE:45:1F:03:00:68:D2:76:00:00:28:FF:05:1E:31:80:00:90:00:23
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:6f:00:ff:00:68:d2:76:00:00:28:ff:05:1e:31:80:00:90:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:ff:11:00:ff:80:b1:fe:45:1f:03:00:68:d2:76:00:00:28:ff:05:1e:31:80:00:90:00:a6
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: asepcos
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:d6:18:00:81:b1:80:7d:1f:03:80:51:00:61:10:30:8f
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:d6:18:00:81:b1:fe:7d:1f:03:41:53:45:37:35:35:01
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: setcos
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:1F:11:00:67:80:42:46:49:53:45:10:52:66:FF:81:90:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:9F:94:40:1E:00:67:16:43:46:49:53:45:10:52:66:FF:81:90:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:9f:94:40:1e:00:67:00:43:46:49:53:45:10:52:66:ff:81:90:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:6b:00:ff:80:62:00:a2:56:46:69:6e:45:49:44
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:64:00:ff:80:62:00:a2
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:7b:00:00:00:80:62:00:51:56:46:69:6e:45:49:44
[pkcs15-tool] card.c:766:match_atr_table: ATR mask: ff:ff:00:ff:ff:ff:ff:f0:ff:ff:ff:ff:ff:ff:ff:ff
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:64:00:00:80:62:00:51
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:6e:00:00:00:62:00:00:57:41:56:41:4e:54:10:81:90:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:7b:94:00:00:80:62:11:51:56:46:69:6e:45:49:44
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:9f:94:80:1f:c3:00:68:10:44:05:01:46:49:53:45:31:c8:07:90:00:18
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3b:9f:94:80:1f:c3:00:68:11:44:05:01:46:49:53:45:31:c8:00:00:00:00
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] reader-pcsc.c:637:pcsc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 CA DF 30 05 ...0.
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    2 bytes] =====================================
6A 88 j.
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] reader-pcsc.c:670:pcsc_unlock: called
[pkcs15-tool] card.c:188:sc_connect_card: trying driver: starcos
[pkcs15-tool] card.c:746:match_atr_table: ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:B7:94:00:c0:24:31:fe:65:53:50:4b:32:33:90:00:b4
[pkcs15-tool] card.c:758:match_atr_table: ignored - wrong length
[pkcs15-tool] card.c:754:match_atr_table: ATR try : 3B:B7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
[pkcs15-tool] card.c:196:sc_connect_card: matched: STARCOS SPK 2.3/2.4
[pkcs15-tool] card.c:221:sc_connect_card: card info: STARCOS SPK 2.3, 7001, 0x0
[pkcs15-tool] card.c:222:sc_connect_card: returning with: 0
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] reader-pcsc.c:637:pcsc_lock: called
[pkcs15-tool] pkcs15.c:706:sc_pkcs15_bind: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] pkcs15.c:526:sc_pkcs15_bind_internal: trying normal pkcs15 processing
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f002f00
[pkcs15-tool] card-starcos.c:367:starcos_select_file: called
[pkcs15-tool] card-starcos.c:379:starcos_select_file: current path (path, valid):  (len: 0)
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    8 bytes] =====================================
00 A4 00 00 02 3F 00 00 .....?..
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    2 bytes] =====================================
62 84 b.
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    7 bytes] =====================================
00 A4 00 0C 02 3F 00 .....?.
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    2 bytes] =====================================
90 00 ..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card-starcos.c:356:starcos_select_fid: returning with: 0
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    8 bytes] =====================================
00 A4 00 00 02 2F 00 00 ...../..
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [   11 bytes] =====================================
6F 07 80 02 00 80 82 01 01 90 00 o..........
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 00 01 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    3 bytes] =====================================
61 90 00 a..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card-starcos.c:138:process_fci: processing FCI bytes
[pkcs15-tool] card-starcos.c:160:process_fci:   bytes in file: 128
[pkcs15-tool] card-starcos.c:209:process_fci:   type: working EF
[pkcs15-tool] card-starcos.c:210:process_fci:   EF structure: transparent
[pkcs15-tool] card-starcos.c:356:starcos_select_fid: returning with: 0
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
[pkcs15-tool] card.c:399:sc_read_binary: called; 128 bytes at index 0
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 00 80 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [  130 bytes] =====================================
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 ................
90 00                                           ..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] iso7816.c:132:iso7816_read_binary: returning with: 128
[pkcs15-tool] card.c:430:sc_read_binary: returning with: 128
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=128, depth 0
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'dirRecord', tag 0x11000001
[pkcs15-tool] asn1.c:944:asn1_decode_entry: decoding 'dirRecord'
[pkcs15-tool] asn1.c:1126:asn1_decode:  called, left=33, depth 1
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'aid', tag 0x1000000f
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'aid'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'label', tag 0x10000010, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'label'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x10000011, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'path'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'ddo', tag 0x11000013, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=93, depth 0
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f005015
[pkcs15-tool] card-starcos.c:367:starcos_select_file: called
[pkcs15-tool] card-starcos.c:379:starcos_select_file: current path (path, valid): 3f00 (len: 2)
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    8 bytes] =====================================
00 A4 00 00 02 50 15 00 .....P..
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    2 bytes] =====================================
62 84 b.
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    7 bytes] =====================================
00 A4 00 0C 02 50 15 .....P.
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    2 bytes] =====================================
90 00 ..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card-starcos.c:356:starcos_select_fid: returning with: 0
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f0050155031
[pkcs15-tool] card-starcos.c:367:starcos_select_file: called
[pkcs15-tool] card-starcos.c:379:starcos_select_file: current path (path, valid): 3f005015 (len: 4)
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    8 bytes] =====================================
00 A4 00 00 02 50 31 00 .....P1.
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [   11 bytes] =====================================
6F 07 80 02 01 00 82 01 01 90 00 o..........
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 00 01 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    3 bytes] =====================================
A8 90 00 ...
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card-starcos.c:138:process_fci: processing FCI bytes
[pkcs15-tool] card-starcos.c:160:process_fci:   bytes in file: 256
[pkcs15-tool] card-starcos.c:209:process_fci:   type: working EF
[pkcs15-tool] card-starcos.c:210:process_fci:   EF structure: transparent
[pkcs15-tool] card-starcos.c:356:starcos_select_fid: returning with: 0
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
[pkcs15-tool] card.c:399:sc_read_binary: called; 256 bytes at index 0
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] card.c:399:sc_read_binary: called; 128 bytes at index 0
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 00 80 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [  130 bytes] =====================================
A8 0A 30 08 04 06 3F 00 50 15 44 01 A0 0A 30 08 ..0...?.P.D...0.
04 06 3F 00 50 15 44 02 A1 0A 30 08 04 06 3F 00 ..?.P.D...0...?.
50 15 44 03 00 00 00 00 00 00 00 00 00 00 00 00 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 ................
90 00                                           ..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] iso7816.c:132:iso7816_read_binary: returning with: 128
[pkcs15-tool] card.c:430:sc_read_binary: returning with: 128
[pkcs15-tool] card.c:399:sc_read_binary: called; 128 bytes at index 128
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 80 80 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [  130 bytes] =====================================
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
90 00                                           ..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] iso7816.c:132:iso7816_read_binary: returning with: 128
[pkcs15-tool] card.c:430:sc_read_binary: returning with: 128
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card.c:427:sc_read_binary: returning with: 256
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=256, depth 0, choice
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'privateKeys', tag 0x21000000, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'publicKeys', tag 0x21000001, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'trustedPublicKeys', tag 0x21000002, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'secretKeys', tag 0x21000003, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'certificates', tag 0x21000004, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'trustedCertificates', tag 0x21000005, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'usefulCertificates', tag 0x21000006, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'dataObjects', tag 0x21000007, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'authObjects', tag 0x21000008, CHOICE
[pkcs15-tool] asn1.c:944:asn1_decode_entry: decoding 'authObjects'
[pkcs15-tool] asn1.c:1126:asn1_decode:  called, left=10, depth 1
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'path'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=8, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x4
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'path'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'index', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'length', tag 0x20000000, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1201:asn1_decode: returning with: 8
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=244, depth 0, choice
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'privateKeys', tag 0x21000000, CHOICE
[pkcs15-tool] asn1.c:944:asn1_decode_entry: decoding 'privateKeys'
[pkcs15-tool] asn1.c:1126:asn1_decode:  called, left=10, depth 1
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'path'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=8, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x4
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'path'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'index', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'length', tag 0x20000000, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1201:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=232, depth 0, choice
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'privateKeys', tag 0x21000000, CHOICE
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'publicKeys', tag 0x21000001, CHOICE
[pkcs15-tool] asn1.c:944:asn1_decode_entry: decoding 'publicKeys'
[pkcs15-tool] asn1.c:1126:asn1_decode:  called, left=10, depth 1
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'path'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=8, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x4
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'path'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'index', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'length', tag 0x20000000, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1201:asn1_decode: returning with: 1
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=220, depth 0, choice
[pkcs15-tool] pkcs15.c:623:sc_pkcs15_bind_internal: The following DFs were found:
[pkcs15-tool] pkcs15.c:633:sc_pkcs15_bind_internal:   DF type 8, path 3f0050154401, index 0, count -1
[pkcs15-tool] pkcs15.c:633:sc_pkcs15_bind_internal:   DF type 0, path 3f0050154402, index 0, count -1
[pkcs15-tool] pkcs15.c:633:sc_pkcs15_bind_internal:   DF type 1, path 3f0050154403, index 0, count -1
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f0050155032
[pkcs15-tool] card-starcos.c:367:starcos_select_file: called
[pkcs15-tool] card-starcos.c:379:starcos_select_file: current path (path, valid): 3f005015 (len: 4)
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    8 bytes] =====================================
00 A4 00 00 02 50 32 00 .....P2.
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [   11 bytes] =====================================
6F 07 80 02 00 41 82 01 01 90 00 o....A.....
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 00 01 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    3 bytes] =====================================
30 90 00 0..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card-starcos.c:138:process_fci: processing FCI bytes
[pkcs15-tool] card-starcos.c:160:process_fci:   bytes in file: 65
[pkcs15-tool] card-starcos.c:209:process_fci:   type: working EF
[pkcs15-tool] card-starcos.c:210:process_fci:   EF structure: transparent
[pkcs15-tool] card-starcos.c:356:starcos_select_fid: returning with: 0
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
[pkcs15-tool] card.c:399:sc_read_binary: called; 65 bytes at index 0
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 00 41 ....A
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [   67 bytes] =====================================
30 3F 02 01 00 04 08 89 90 55 23 00 04 16 24 0C 0?.......U#...$.
0E 4F 70 65 6E 53 43 20 50 72 6F 6A 65 63 74 80 .OpenSC Project.
0B 4F 70 65 6E 53 43 20 43 61 72 64 03 02 04 10 .OpenSC Card....
85 0F 32 30 30 39 31 30 32 33 31 30 30 38 31 30 ..20091023100810
5A 90 00                                        Z..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] iso7816.c:132:iso7816_read_binary: returning with: 65
[pkcs15-tool] card.c:430:sc_read_binary: returning with: 65
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=65, depth 0
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'TokenInfo', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry: decoding 'TokenInfo'
[pkcs15-tool] asn1.c:1126:asn1_decode:  called, left=63, depth 1
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'version', tag 0x2
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'version'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'serialNumber', tag 0x4, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'serialNumber'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'manufacturerID', tag 0xc, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'manufacturerID'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'label', tag 0x20000000, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'label'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'label-tw', tag 0x21000000, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'tokenflags', tag 0x3
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'tokenflags'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'seInfo', tag 0x1000010, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'recordInfo', tag 0x21000001, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'supportedAlgorithms', tag 0x21000002, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'issuerId', tag 0x20000003, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'holderId', tag 0x20000004, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'lastUpdate', tag 0x20000005, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'lastUpdate'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'preferredLanguage', tag 0x13, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] pkcs15.c:1599:sc_pkcs15_read_file: called, path=3f0050154401, index=0, count=-1
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f0050154401
[pkcs15-tool] card-starcos.c:367:starcos_select_file: called
[pkcs15-tool] card-starcos.c:379:starcos_select_file: current path (path, valid): 3f005015 (len: 4)
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    8 bytes] =====================================
00 A4 00 00 02 44 01 00 .....D..
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [   11 bytes] =====================================
6F 07 80 02 01 00 82 01 01 90 00 o..........
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 00 01 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    3 bytes] =====================================
30 90 00 0..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card-starcos.c:138:process_fci: processing FCI bytes
[pkcs15-tool] card-starcos.c:160:process_fci:   bytes in file: 256
[pkcs15-tool] card-starcos.c:209:process_fci:   type: working EF
[pkcs15-tool] card-starcos.c:210:process_fci:   EF structure: transparent
[pkcs15-tool] card-starcos.c:356:starcos_select_fid: returning with: 0
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
[pkcs15-tool] card.c:399:sc_read_binary: called; 256 bytes at index 0
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] card.c:399:sc_read_binary: called; 128 bytes at index 0
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 00 80 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [  130 bytes] =====================================
30 43 30 1A 0C 14 53 65 63 75 72 69 74 79 20 4F 0C0...Security O
66 66 69 63 65 72 20 50 49 4E 03 02 06 C0 30 03 fficer PIN....0.
04 01 FF A1 20 30 1E 03 02 00 0D 0A 01 01 02 01 .... 0..........
06 02 01 08 02 01 08 80 01 01 04 01 00 30 06 04 .............0..
04 3F 00 50 15 30 42 30 19 0C 13 41 6E 64 72 65 .?.P.0B0...Andre
61 73 20 4A 65 6C 6C 69 6E 67 68 61 75 73 03 02 as Jellinghaus..
06 C0 30 03 04 01 01 A1 20 30 1E 03 02 02 4C 0A ..0..... 0....L.
01 01 02 01 04 02 01 08 02 01 08 80 01 83 04 01 ................
90 00                                           ..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] iso7816.c:132:iso7816_read_binary: returning with: 128
[pkcs15-tool] card.c:430:sc_read_binary: returning with: 128
[pkcs15-tool] card.c:399:sc_read_binary: called; 128 bytes at index 128
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [    5 bytes] =====================================
00 B0 00 80 80 .....
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [  130 bytes] =====================================
00 30 06 04 04 3F 00 50 15 00 00 00 00 00 00 00 .0...?.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 ................
90 00                                           ..
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] iso7816.c:132:iso7816_read_binary: returning with: 128
[pkcs15-tool] card.c:430:sc_read_binary: returning with: 128
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card.c:427:sc_read_binary: returning with: 256
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=256, depth 0
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pin', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry: decoding 'pin'
[pkcs15-tool] asn1.c:1126:asn1_decode:  called, left=67, depth 1
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'commonObjectAttributes', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'commonObjectAttributes'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=26, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'label', tag 0xc, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'label'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'flags', tag 0x3, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'flags'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'authId', tag 0x4, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'userConsent', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'accessControlRules', tag 0x1000010, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'classAttributes', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'classAttributes'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=3, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'authId', tag 0x4
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'authId'
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'subClassAttributes', tag 0x21000000, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'typeAttributes', tag 0x21000001
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'typeAttributes'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=32, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pinAttributes', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'pinAttributes'
[pkcs15-tool] asn1.c:1126:asn1_decode:    called, left=30, depth 3
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pinFlags', tag 0x3
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'pinFlags'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pinType', tag 0xa
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'pinType'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'minLength', tag 0x2
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'minLength'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'storedLength', tag 0x2
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'storedLength'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'maxLength', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'maxLength'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pinReference', tag 0x20000000, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'pinReference'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'padChar', tag 0x4, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'padChar'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'lastPinChange', tag 0x18, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x1000010, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'path'
[pkcs15-tool] asn1.c:1126:asn1_decode:     called, left=6, depth 4
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x4
[pkcs15-tool] asn1.c:944:asn1_decode_entry:     decoding 'path'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'index', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'length', tag 0x20000000, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1126:asn1_decode: called, left=187, depth 0
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pin', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry: decoding 'pin'
[pkcs15-tool] asn1.c:1126:asn1_decode:  called, left=66, depth 1
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'commonObjectAttributes', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'commonObjectAttributes'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=25, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'label', tag 0xc, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'label'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'flags', tag 0x3, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'flags'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'authId', tag 0x4, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'userConsent', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'accessControlRules', tag 0x1000010, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'classAttributes', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'classAttributes'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=3, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'authId', tag 0x4
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'authId'
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'subClassAttributes', tag 0x21000000, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'typeAttributes', tag 0x21000001
[pkcs15-tool] asn1.c:944:asn1_decode_entry:  decoding 'typeAttributes'
[pkcs15-tool] asn1.c:1126:asn1_decode:   called, left=32, depth 2
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pinAttributes', tag 0x1000010
[pkcs15-tool] asn1.c:944:asn1_decode_entry:   decoding 'pinAttributes'
[pkcs15-tool] asn1.c:1126:asn1_decode:    called, left=30, depth 3
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pinFlags', tag 0x3
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'pinFlags'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pinType', tag 0xa
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'pinType'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'minLength', tag 0x2
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'minLength'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'storedLength', tag 0x2
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'storedLength'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'maxLength', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'maxLength'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'pinReference', tag 0x20000000, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'pinReference'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'padChar', tag 0x4, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'padChar'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'lastPinChange', tag 0x18, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x1000010, OPTIONAL
[pkcs15-tool] asn1.c:944:asn1_decode_entry:    decoding 'path'
[pkcs15-tool] asn1.c:1126:asn1_decode:     called, left=6, depth 4
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'path', tag 0x4
[pkcs15-tool] asn1.c:944:asn1_decode_entry:     decoding 'path'
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'index', tag 0x2, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1151:asn1_decode: Looking for 'length', tag 0x20000000, OPTIONAL
[pkcs15-tool] asn1.c:1167:asn1_decode: not present
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] asn1.c:1202:asn1_decode: returning with: 0
[pkcs15-tool] pkcs15-pin.c:367:sc_pkcs15_unblock_pin: Unable to get puk object, using pin object instead!
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f005015
[pkcs15-tool] card-starcos.c:367:starcos_select_file: called
[pkcs15-tool] card-starcos.c:379:starcos_select_file: current path (path, valid): 3f005015 (len: 4)
[pkcs15-tool] card-starcos.c:473:starcos_select_file: cache hit
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
[pkcs15-tool] sec.c:154:sc_pin_cmd: called
[pkcs15-tool] apdu.c:516:sc_transmit_apdu: called
[pkcs15-tool] card.c:285:sc_lock: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Outgoing APDU data [   21 bytes] =====================================
00 2C 00 83 10 63 61 72 69 62 32 00 00 63 61 72 .,...carib2..car
69 62 32 00 00                                  ib2..
======================================================================
[pkcs15-tool] reader-pcsc.c:175:pcsc_internal_transmit: called
[pkcs15-tool] apdu.c:184:sc_apdu_log:
Incoming APDU data [    2 bytes] =====================================
69 83 i.
======================================================================
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] card-starcos.c:1243:starcos_check_sw: sw1 = 0x69, sw2 = 0x83
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] pkcs15.c:781:sc_pkcs15_unbind: called
[pkcs15-tool] card.c:312:sc_unlock: called
[pkcs15-tool] reader-pcsc.c:670:pcsc_unlock: called
[pkcs15-tool] card.c:236:sc_disconnect_card: called
[pkcs15-tool] card.c:251:sc_disconnect_card: returning with: 0
[pkcs15-tool] ctx.c:738:sc_release_context: called
[pkcs15-tool] reader-openct.c:178:openct_reader_release: called
[pkcs15-tool] reader-openct.c:178:openct_reader_release: called
[pkcs15-tool] reader-openct.c:178:openct_reader_release: called
[pkcs15-tool] reader-openct.c:178:openct_reader_release: called
[pkcs15-tool] reader-openct.c:178:openct_reader_release: called
[pkcs15-tool] reader-openct.c:164:openct_reader_finish: called

_______________________________________________
opensc-user mailing list
opensc-user@...
http://www.opensc-project.org/mailman/listinfo/opensc-user

Re: Pkcs15-init Unblock Starcos 2.3

by Fernando Sanchez Chaparro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

  I still have the same problems with my Starcos SPK 2.3. I am unable to delete objects and unlock PINs using OpenSC. Could anyone share his/her experience using this kind of tarject with OpenSC?

Thanks in advance.
Kind Regards.

2009/10/23 Andreas Jellinghaus <aj@...>
the log file contains:
[pkcs15-tool] pkcs15-pin.c:367:sc_pkcs15_unblock_pin: Unable to get puk
object, using pin object instead!

has anyone seen this before? how can that happen?

whole log attached...

Andreas


_______________________________________________
opensc-user mailing list
opensc-user@...
http://www.opensc-project.org/mailman/listinfo/opensc-user