On 9/14/2011 10:28 PM, Mike Tancsa wrote: > > I have just run into the same problem on FreeBSD. An older version > works fine with this key below. How do I create the debug logs to help > narrow down this problem ?
Full logs sent directly to Martin But things seem to go 'bad' right from the start. Doing a simple -E gives errors like below. Perhaps the version of openct ? works = opensc-0.11.8,openct-0.6.16) and fail = opensc-0.12.2,openct-0.6.20 pkcs15-init -vvvv -E [pkcs15-init] reader-pcsc.c:1015:pcsc_detect_readers: returning with: No readers found [pkcs15-init] sc.c:196:sc_detect_card_presence: called [pkcs15-init] reader-openct.c:194:openct_reader_detect_card_presence: called [pkcs15-init] sc.c:201:sc_detect_card_presence: returning with: 1 Using reader with a card: Aladdin eToken PRO 64k [pkcs15-init] sc.c:196:sc_detect_card_presence: called [pkcs15-init] reader-openct.c:194:openct_reader_detect_card_presence: called [pkcs15-init] sc.c:201:sc_detect_card_presence: returning with: 1 Connecting to card in reader Aladdin eToken PRO 64k... [pkcs15-init] card.c:110:sc_connect_card: called [pkcs15-init] reader-openct.c:218:openct_reader_connect: called [pkcs15-init] card.c:140:sc_connect_card: matching configured ATRs [pkcs15-init] card.c:182:sc_connect_card: matching built-in ATRs [pkcs15-init] card.c:188:sc_connect_card: trying driver: rutoken [pkcs15-init] card-rutoken.c:129:rutoken_match_card: called [pkcs15-init] card-rutoken.c:135:rutoken_match_card: returning with: 0 [pkcs15-init] card.c:188:sc_connect_card: trying driver: cardos [pkcs15-init] card-cardos.c:79:cardos_match_card: checking cardos version ... [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] reader-openct.c:410:openct_reader_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] reader-openct.c:437:openct_reader_unlock: called [pkcs15-init] card-cardos.c:100:cardos_match_card: found cardos v4.2b [pkcs15-init] card.c:196:sc_connect_card: matched: Siemens CardOS [pkcs15-init] card.c:221:sc_connect_card: card info: CardOS M4, 1005, 0x0 [pkcs15-init] card.c:222:sc_connect_card: returning with: 0 Using card driver Siemens CardOS. [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] reader-openct.c:410:openct_reader_lock: called [pkcs15-init] card.c:668:sc_card_ctl: called [pkcs15-init] card-cardos.c:925:cardos_lifecycle_set: called [pkcs15-init] card-cardos.c:879:cardos_lifecycle_get: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:913:cardos_lifecycle_get: returning with: 0 [pkcs15-init] card.c:678:sc_card_ctl: returning with: 0 [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f0050154946 [pkcs15-init] card-cardos.c:431:cardos_select_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:259:cardos_check_sw: file not found [pkcs15-init] iso7816.c:464:iso7816_select_file: returning with: -1201 [pkcs15-init] card-cardos.c:435:cardos_select_file: returning with: -1201 [pkcs15-init] card.c:554:sc_select_file: returning with: -1201 [pkcs15-init] profile.c:306:sc_profile_load: Using profile directory '/usr/local/share/opensc'. [pkcs15-init] profile.c:318:sc_profile_load: Trying profile file /usr/local/share/opensc/pkcs15.profile [pkcs15-init] profile.c:326:sc_profile_load: profile /usr/local/share/opensc/pkcs15.profile loaded ok [pkcs15-init] profile.c:306:sc_profile_load: Using profile directory '/usr/local/share/opensc'. [pkcs15-init] profile.c:318:sc_profile_load: Trying profile file /usr/local/share/opensc/cardos.profile [pkcs15-init] profile.c:326:sc_profile_load: profile /usr/local/share/opensc/cardos.profile loaded ok About to erase card. [pkcs15-init] pkcs15.c:700:sc_pkcs15_bind: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f002f00 [pkcs15-init] card-cardos.c:431:cardos_select_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:259:cardos_check_sw: file not found [pkcs15-init] iso7816.c:464:iso7816_select_file: returning with: -1201 [pkcs15-init] card-cardos.c:435:cardos_select_file: returning with: -1201 [pkcs15-init] card.c:554:sc_select_file: returning with: -1201 [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f005015 [pkcs15-init] card-cardos.c:431:cardos_select_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:259:cardos_check_sw: file not found [pkcs15-init] iso7816.c:459:iso7816_select_file: returning with: -1201 [pkcs15-init] card-cardos.c:435:cardos_select_file: returning with: -1201 [pkcs15-init] card.c:554:sc_select_file: returning with: -1201 [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f005031 [pkcs15-init] card-cardos.c:431:cardos_select_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:259:cardos_check_sw: file not found [pkcs15-init] iso7816.c:464:iso7816_select_file: returning with: -1201 [pkcs15-init] card-cardos.c:435:cardos_select_file: returning with: -1201 [pkcs15-init] card.c:554:sc_select_file: returning with: -1201 [pkcs15-init] pkcs15.c:593:sc_pkcs15_bind_internal: EF(ODF) not found in '3f005031' [pkcs15-init] pkcs15-syn.c:104:sc_pkcs15_bind_synthetic: called [pkcs15-init] pkcs15-syn.c:145:sc_pkcs15_bind_synthetic: no emulator list in config file, trying all builtin emulators [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying openpgp [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying infocamere [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f002f02 [pkcs15-init] card-cardos.c:431:cardos_select_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:259:cardos_check_sw: file not found [pkcs15-init] iso7816.c:464:iso7816_select_file: returning with: -1201 [pkcs15-init] card-cardos.c:435:cardos_select_file: returning with: -1201 [pkcs15-init] card.c:554:sc_select_file: returning with: -1201 [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying starcert [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying tcos [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying esteid [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying postecert [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=504b0001 [pkcs15-init] card-cardos.c:431:cardos_select_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:259:cardos_check_sw: file not found [pkcs15-init] iso7816.c:459:iso7816_select_file: returning with: -1201 [pkcs15-init] card-cardos.c:435:cardos_select_file: returning with: -1201 [pkcs15-init] card.c:554:sc_select_file: returning with: -1201 [pkcs15-init] pkcs15-postecert.c:337:sc_pkcs15emu_postecert_init: Failed to initialize Postecert and Cnipa emulation: Unsupported card [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying PIV-II [pkcs15-init] pkcs15-piv.c:499:sc_pkcs15emu_piv_init_ex: called [pkcs15-init] pkcs15-piv.c:100:piv_detect_card: called [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying gemsafeGPK [pkcs15-init] pkcs15-gemsafeGPK.c:515:sc_pkcs15emu_gemsafeGPK_init_ex: Entering sc_pkcs15emu_gemsafeGPK_init_ex [pkcs15-init] pkcs15-gemsafeGPK.c:163:gemsafe_detect_card: called [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying gemsafeV1 [pkcs15-init] pkcs15-gemsafeV1.c:209:gemsafe_detect_card: In gemsafe_detect_card [pkcs15-init] pkcs15-gemsafeV1.c:227:sc_pkcs15emu_gemsafeV1_init: sc_pkcs15emu_gemsafe_init: Setting pkcs15 parameters [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying actalis [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f0030000001 [pkcs15-init] card-cardos.c:431:cardos_select_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:259:cardos_check_sw: file not found [pkcs15-init] iso7816.c:459:iso7816_select_file: returning with: -1201 [pkcs15-init] card-cardos.c:435:cardos_select_file: returning with: -1201 [pkcs15-init] card.c:554:sc_select_file: returning with: -1201 [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying atrust-acos [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying tccardos [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f001003b200 [pkcs15-init] card-cardos.c:431:cardos_select_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:259:cardos_check_sw: file not found [pkcs15-init] iso7816.c:464:iso7816_select_file: returning with: -1201 [pkcs15-init] card-cardos.c:435:cardos_select_file: returning with: -1201 [pkcs15-init] card.c:554:sc_select_file: returning with: -1201 [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying entersafe [pkcs15-init] pkcs15-esinit.c:79:sc_pkcs15emu_entersafe_init_ex: called [pkcs15-init] pkcs15-esinit.c:33:entersafe_detect_card: called [pkcs15-init] pkcs15-syn.c:156:sc_pkcs15_bind_synthetic: searching for 'emulate foo { ... }' blocks [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] pkcs15.c:794:sc_pkcs15_bind: returning with: -1413 [pkcs15-init] pkcs15.c:700:sc_pkcs15_bind: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f005015 [pkcs15-init] card-cardos.c:431:cardos_select_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:259:cardos_check_sw: file not found [pkcs15-init] iso7816.c:459:iso7816_select_file: returning with: -1201 [pkcs15-init] card-cardos.c:435:cardos_select_file: returning with: -1201 [pkcs15-init] card.c:554:sc_select_file: returning with: -1201 [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f005031 [pkcs15-init] card-cardos.c:431:cardos_select_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:259:cardos_check_sw: file not found [pkcs15-init] iso7816.c:464:iso7816_select_file: returning with: -1201 [pkcs15-init] card-cardos.c:435:cardos_select_file: returning with: -1201 [pkcs15-init] card.c:554:sc_select_file: returning with: -1201 [pkcs15-init] pkcs15.c:593:sc_pkcs15_bind_internal: EF(ODF) not found in '3f005031' [pkcs15-init] pkcs15-syn.c:104:sc_pkcs15_bind_synthetic: called [pkcs15-init] pkcs15-syn.c:145:sc_pkcs15_bind_synthetic: no emulator list in config file, trying all builtin emulators [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying openpgp [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying infocamere [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f002f02 [pkcs15-init] card-cardos.c:431:cardos_select_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:259:cardos_check_sw: file not found [pkcs15-init] iso7816.c:464:iso7816_select_file: returning with: -1201 [pkcs15-init] card-cardos.c:435:cardos_select_file: returning with: -1201 [pkcs15-init] card.c:554:sc_select_file: returning with: -1201 [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying starcert [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying tcos [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying esteid [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying postecert [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=504b0001 [pkcs15-init] card-cardos.c:431:cardos_select_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:259:cardos_check_sw: file not found [pkcs15-init] iso7816.c:459:iso7816_select_file: returning with: -1201 [pkcs15-init] card-cardos.c:435:cardos_select_file: returning with: -1201 [pkcs15-init] card.c:554:sc_select_file: returning with: -1201 [pkcs15-init] pkcs15-postecert.c:337:sc_pkcs15emu_postecert_init: Failed to initialize Postecert and Cnipa emulation: Unsupported card [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying PIV-II [pkcs15-init] pkcs15-piv.c:499:sc_pkcs15emu_piv_init_ex: called [pkcs15-init] pkcs15-piv.c:100:piv_detect_card: called [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying gemsafeGPK [pkcs15-init] pkcs15-gemsafeGPK.c:515:sc_pkcs15emu_gemsafeGPK_init_ex: Entering sc_pkcs15emu_gemsafeGPK_init_ex [pkcs15-init] pkcs15-gemsafeGPK.c:163:gemsafe_detect_card: called [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying gemsafeV1 [pkcs15-init] pkcs15-gemsafeV1.c:209:gemsafe_detect_card: In gemsafe_detect_card [pkcs15-init] pkcs15-gemsafeV1.c:227:sc_pkcs15emu_gemsafeV1_init: sc_pkcs15emu_gemsafe_init: Setting pkcs15 parameters [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying actalis [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f0030000001 [pkcs15-init] card-cardos.c:431:cardos_select_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:259:cardos_check_sw: file not found [pkcs15-init] iso7816.c:459:iso7816_select_file: returning with: -1201 [pkcs15-init] card-cardos.c:435:cardos_select_file: returning with: -1201 [pkcs15-init] card.c:554:sc_select_file: returning with: -1201 [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying atrust-acos [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying tccardos [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f001003b200 [pkcs15-init] card-cardos.c:431:cardos_select_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:259:cardos_check_sw: file not found [pkcs15-init] iso7816.c:464:iso7816_select_file: returning with: -1201 [pkcs15-init] card-cardos.c:435:cardos_select_file: returning with: -1201 [pkcs15-init] card.c:554:sc_select_file: returning with: -1201 [pkcs15-init] pkcs15-syn.c:147:sc_pkcs15_bind_synthetic: trying entersafe [pkcs15-init] pkcs15-esinit.c:79:sc_pkcs15emu_entersafe_init_ex: called [pkcs15-init] pkcs15-esinit.c:33:entersafe_detect_card: called [pkcs15-init] pkcs15-syn.c:156:sc_pkcs15_bind_synthetic: searching for 'emulate foo { ... }' blocks [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] pkcs15.c:794:sc_pkcs15_bind: returning with: -1413 [pkcs15-init] pkcs15-lib.c:540:sc_pkcs15init_rmdir: sc_pkcs15init_rmdir(3f002f00) [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f00 [pkcs15-init] card-cardos.c:431:cardos_select_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] iso7816.c:302:iso7816_process_fci: processing FCI bytes [pkcs15-init] iso7816.c:308:iso7816_process_fci: file identifier: 0x3F00 [pkcs15-init] iso7816.c:322:iso7816_process_fci: bytes in file: 1024 [pkcs15-init] iso7816.c:335:iso7816_process_fci: shareable: no [pkcs15-init] iso7816.c:355:iso7816_process_fci: type: DF [pkcs15-init] iso7816.c:357:iso7816_process_fci: EF structure: 0 [pkcs15-init] card-cardos.c:435:cardos_select_file: returning with: 0 [pkcs15-init] card.c:554:sc_select_file: returning with: 0 [pkcs15-init] pkcs15-lib.c:3270:sc_pkcs15init_authenticate: path=3f002f00, op=2 [pkcs15-init] pkcs15-lib.c:3280:sc_pkcs15init_authenticate: r:[0x00000000] [pkcs15-init] pkcs15-lib.c:3281:sc_pkcs15init_authenticate: acl:[0x28140dc4] [pkcs15-init] pkcs15-lib.c:3291:sc_pkcs15init_authenticate: none [pkcs15-init] pkcs15-lib.c:3270:sc_pkcs15init_authenticate: path=3f00, op=2 [pkcs15-init] pkcs15-lib.c:3280:sc_pkcs15init_authenticate: r:[0x00000000] [pkcs15-init] pkcs15-lib.c:3281:sc_pkcs15init_authenticate: acl:[0x28140dc4] [pkcs15-init] pkcs15-lib.c:3291:sc_pkcs15init_authenticate: none [pkcs15-init] card.c:668:sc_card_ctl: called [pkcs15-init] card-cardos.c:925:cardos_lifecycle_set: called [pkcs15-init] card-cardos.c:879:cardos_lifecycle_get: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:913:cardos_lifecycle_get: returning with: 0 [pkcs15-init] card.c:678:sc_card_ctl: returning with: 0 [pkcs15-init] card.c:383:sc_delete_file: called; type=0, path=2f00 [pkcs15-init] iso7816.c:635:iso7816_delete_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:259:cardos_check_sw: file not found [pkcs15-init] card.c:388:sc_delete_file: returning with: -1201 [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f005015 [pkcs15-init] card-cardos.c:431:cardos_select_file: called [pkcs15-init] card.c:285:sc_lock: called [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] card-cardos.c:259:cardos_check_sw: file not found [pkcs15-init] iso7816.c:464:iso7816_select_file: returning with: -1201 [pkcs15-init] card-cardos.c:435:cardos_select_file: returning with: -1201 [pkcs15-init] card.c:554:sc_select_file: returning with: -1201 [pkcs15-init] card.c:312:sc_unlock: called [pkcs15-init] reader-openct.c:437:openct_reader_unlock: called [pkcs15-init] card.c:236:sc_disconnect_card: called [pkcs15-init] reader-openct.c:265:openct_reader_disconnect: called [pkcs15-init] card.c:251:sc_disconnect_card: returning with: 0 [pkcs15-init] ctx.c:760:sc_release_context: called [pkcs15-init] reader-openct.c:168:openct_reader_release: called [pkcs15-init] reader-openct.c:168:openct_reader_release: called [pkcs15-init] reader-openct.c:154:openct_reader_finish: called vs 0(cage2)# pkcs15-init -vvvv -E 0x8012041c0 09:53:48.344 [pkcs15-init] sc.c:195:sc_detect_card_presence: called 0x8012041c0 09:53:48.344 [pkcs15-init] reader-openct.c:173:openct_reader_detect_card_presence: called 0x8012041c0 09:53:48.344 [pkcs15-init] sc.c:200:sc_detect_card_presence: returning with: 1 Using reader with a card: Aladdin eToken PRO 64k 0x8012041c0 09:53:48.344 [pkcs15-init] sc.c:195:sc_detect_card_presence: called 0x8012041c0 09:53:48.344 [pkcs15-init] reader-openct.c:173:openct_reader_detect_card_presence: called 0x8012041c0 09:53:48.344 [pkcs15-init] sc.c:200:sc_detect_card_presence: returning with: 1 Connecting to card in reader Aladdin eToken PRO 64k... 0x8012041c0 09:53:48.344 [pkcs15-init] card.c:115:sc_connect_card: called 0x8012041c0 09:53:48.344 [pkcs15-init] reader-openct.c:196:openct_reader_connect: called 0x8012041c0 09:53:48.433 [pkcs15-init] card.c:829:match_atr_table: ATR : 3b:f2:18:00:02:c1:0a:31:fe:58:c8:09:75 0x8012041c0 09:53:48.433 [pkcs15-init] card.c:840:match_atr_table: ATR try : 3b:e2:00:ff:c1:10:31:fe:55:c8:02:9c 0x8012041c0 09:53:48.433 [pkcs15-init] card.c:843:match_atr_table: ignored - wrong length 0x8012041c0 09:53:48.433 [pkcs15-init] card.c:840:match_atr_table: ATR try : 3b:e9:00:ff:c1:10:31:fe:55:00:64:05:00:c8:02:31:80:00:47 0x8012041c0 09:53:48.433 [pkcs15-init] card.c:843:match_atr_table: ignored - wrong length 0x8012041c0 09:53:48.433 [pkcs15-init] card.c:840: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 0x8012041c0 09:53:48.433 [pkcs15-init] card.c:843:match_atr_table: ignored - wrong length 0x8012041c0 09:53:48.433 [pkcs15-init] card.c:840: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 0x8012041c0 09:53:48.433 [pkcs15-init] card.c:843:match_atr_table: ignored - wrong length 0x8012041c0 09:53:48.433 [pkcs15-init] card.c:840:match_atr_table: ATR try : 3b:f4:98:00:ff:c1:10:31:fe:55:4d:34:63:76:b4 0x8012041c0 09:53:48.433 [pkcs15-init] card.c:843:match_atr_table: ignored - wrong length 0x8012041c0 09:53:48.433 [pkcs15-init] card.c:840:match_atr_table: ATR try : 3b:f2:18:00:ff:c1:0a:31:fe:55:c8:06:8a 0x8012041c0 09:53:48.433 [pkcs15-init] card.c:847:match_atr_table: ATR mask: ff:ff:0f:ff:00:ff:00:ff:ff:00:00:00:00 0x8012041c0 09:53:48.433 [pkcs15-init] card-cardos.c:87:cardos_match_card: checking cardos version ... 0x8012041c0 09:53:48.433 [pkcs15-init] apdu.c:525:sc_transmit_apdu: called 0x8012041c0 09:53:48.433 [pkcs15-init] card.c:292:sc_lock: called 0x8012041c0 09:53:48.433 [pkcs15-init] reader-openct.c:381:openct_reader_lock: called 0x8012041c0 09:53:48.433 [pkcs15-init] apdu.c:184:sc_apdu_log: Outgoing APDU data [ 5 bytes] ===================================== 00 CA 01 82 00 ..... ====================================================================== 0x8012041c0 09:53:48.562 [pkcs15-init] apdu.c:184:sc_apdu_log: Incoming APDU data [ 4 bytes] ===================================== C8 09 90 00 .... ====================================================================== 0x8012041c0 09:53:48.562 [pkcs15-init] card.c:330:sc_unlock: called 0x8012041c0 09:53:48.562 [pkcs15-init] reader-openct.c:407:openct_reader_unlock: called 0x8012041c0 09:53:48.562 [pkcs15-init] card-cardos.c:108:cardos_match_card: found cardos v4.2b 0x8012041c0 09:53:48.562 [pkcs15-init] card.c:224:sc_connect_card: card info name:'CardOS M4', type:1005, flags:0x0, max_send/recv_size:0/0 0x8012041c0 09:53:48.562 [pkcs15-init] card.c:225:sc_connect_card: returning with: 0 (Success) Using card driver Siemens CardOS. 0x8012041c0 09:53:48.562 [pkcs15-init] card.c:292:sc_lock: called 0x8012041c0 09:53:48.562 [pkcs15-init] reader-openct.c:381:openct_reader_lock: called 0x8012041c0 09:53:48.562 [pkcs15-init] pkcs15-lib.c:296:sc_pkcs15init_bind: called 0x8012041c0 09:53:48.562 [pkcs15-init] card.c:720:sc_card_ctl: called 0x8012041c0 09:53:48.562 [pkcs15-init] card-cardos.c:930:cardos_lifecycle_set: called 0x8012041c0 09:53:48.562 [pkcs15-init] card-cardos.c:884:cardos_lifecycle_get: called 0x8012041c0 09:53:48.562 [pkcs15-init] apdu.c:525:sc_transmit_apdu: called 0x8012041c0 09:53:48.562 [pkcs15-init] card.c:292:sc_lock: called 0x8012041c0 09:53:48.562 [pkcs15-init] apdu.c:184:sc_apdu_log: Outgoing APDU data [ 5 bytes] ===================================== 00 CA 01 83 00 ..... ====================================================================== 0x8012041c0 09:53:48.569 [pkcs15-init] apdu.c:184:sc_apdu_log: Incoming APDU data [ 3 bytes] ===================================== 20 90 00 .. ====================================================================== 0x8012041c0 09:53:48.569 [pkcs15-init] card.c:330:sc_unlock: called 0x8012041c0 09:53:48.569 [pkcs15-init] card-cardos.c:918:cardos_lifecycle_get: returning with: 0 (Success) 0x8012041c0 09:53:48.569 [pkcs15-init] card.c:730:sc_card_ctl: returning with: 0 (Success) 0x8012041c0 09:53:48.569 [pkcs15-init] card.c:571:sc_select_file: called; type=2, path=3f0050154946 0x8012041c0 09:53:48.569 [pkcs15-init] card-cardos.c:439:cardos_select_file: called 0x8012041c0 09:53:48.569 [pkcs15-init] apdu.c:525:sc_transmit_apdu: called 0x8012041c0 09:53:48.569 [pkcs15-init] card.c:292:sc_lock: called 0x8012041c0 09:53:48.569 [pkcs15-init] apdu.c:184:sc_apdu_log: Outgoing APDU data [ 10 bytes] ===================================== 00 A4 08 00 04 50 15 49 46 00 .....P.IF. ====================================================================== 0x8012041c0 09:53:48.583 [pkcs15-init] apdu.c:184:sc_apdu_log: Incoming APDU data [ 2 bytes] ===================================== 6A 82 j. ====================================================================== 0x8012041c0 09:53:48.583 [pkcs15-init] card.c:330:sc_unlock: called 0x8012041c0 09:53:48.583 [pkcs15-init] card-cardos.c:268:cardos_check_sw: file not found 0x8012041c0 09:53:48.583 [pkcs15-init] iso7816.c:485:iso7816_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.583 [pkcs15-init] card-cardos.c:443:cardos_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.583 [pkcs15-init] card.c:597:sc_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.583 [pkcs15-init] profile.c:327:sc_profile_load: called 0x8012041c0 09:53:48.583 [pkcs15-init] profile.c:357:sc_profile_load: Using profile directory '/usr/local/share/opensc'. 0x8012041c0 09:53:48.583 [pkcs15-init] profile.c:365:sc_profile_load: Trying profile file /usr/local/share/opensc/pkcs15.profile 0x8012041c0 09:53:48.583 [pkcs15-init] profile.c:370:sc_profile_load: profile /usr/local/share/opensc/pkcs15.profile loaded ok 0x8012041c0 09:53:48.584 [pkcs15-init] profile.c:380:sc_profile_load: returning with: 0 (Success) 0x8012041c0 09:53:48.584 [pkcs15-init] profile.c:327:sc_profile_load: called 0x8012041c0 09:53:48.584 [pkcs15-init] profile.c:357:sc_profile_load: Using profile directory '/usr/local/share/opensc'. 0x8012041c0 09:53:48.584 [pkcs15-init] profile.c:365:sc_profile_load: Trying profile file /usr/local/share/opensc/cardos.profile 0x8012041c0 09:53:48.584 [pkcs15-init] profile.c:370:sc_profile_load: profile /usr/local/share/opensc/cardos.profile loaded ok 0x8012041c0 09:53:48.584 [pkcs15-init] profile.c:380:sc_profile_load: returning with: 0 (Success) 0x8012041c0 09:53:48.584 [pkcs15-init] profile.c:392:sc_profile_finish: called 0x8012041c0 09:53:48.584 [pkcs15-init] profile.c:435:sc_profile_finish: returning with: 0 (Success) 0x8012041c0 09:53:48.584 [pkcs15-init] pkcs15-lib.c:378:sc_pkcs15init_bind: returning with: 0 (Success) About to erase card. 0x8012041c0 09:53:48.584 [pkcs15-init] pkcs15-lib.c:466:sc_pkcs15init_erase_card: called 0x8012041c0 09:53:48.584 [pkcs15-init] pkcs15.c:901:sc_pkcs15_bind: called 0x8012041c0 09:53:48.584 [pkcs15-init] pkcs15.c:902:sc_pkcs15_bind: application(aid:'empty') 0x8012041c0 09:53:48.584 [pkcs15-init] pkcs15.c:922:sc_pkcs15_bind: PKCS#15 options: use_file_cache=0 use_pin_cache=1 pin_cache_counter=10 0x8012041c0 09:53:48.584 [pkcs15-init] card.c:292:sc_lock: called 0x8012041c0 09:53:48.584 [pkcs15-init] pkcs15.c:725:sc_pkcs15_bind_internal: called 0x8012041c0 09:53:48.584 [pkcs15-init] dir.c:141:sc_enum_apps: called 0x8012041c0 09:53:48.584 [pkcs15-init] card.c:571:sc_select_file: called; type=2, path=3f002f00 0x8012041c0 09:53:48.584 [pkcs15-init] card-cardos.c:439:cardos_select_file: called 0x8012041c0 09:53:48.584 [pkcs15-init] apdu.c:525:sc_transmit_apdu: called 0x8012041c0 09:53:48.584 [pkcs15-init] card.c:292:sc_lock: called 0x8012041c0 09:53:48.584 [pkcs15-init] apdu.c:184:sc_apdu_log: Outgoing APDU data [ 8 bytes] ===================================== 00 A4 08 00 02 2F 00 00 ...../.. ====================================================================== 0x8012041c0 09:53:48.597 [pkcs15-init] apdu.c:184:sc_apdu_log: Incoming APDU data [ 2 bytes] ===================================== 6A 82 j. ====================================================================== 0x8012041c0 09:53:48.597 [pkcs15-init] card.c:330:sc_unlock: called 0x8012041c0 09:53:48.597 [pkcs15-init] card-cardos.c:268:cardos_check_sw: file not found 0x8012041c0 09:53:48.598 [pkcs15-init] iso7816.c:485:iso7816_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.598 [pkcs15-init] card-cardos.c:443:cardos_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.598 [pkcs15-init] card.c:597:sc_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.598 [pkcs15-init] dir.c:151:sc_enum_apps: Cannot select EF.DIR file: -1201 (File not found) 0x8012041c0 09:53:48.598 [pkcs15-init] pkcs15.c:762:sc_pkcs15_bind_internal: application path '3f005015' 0x8012041c0 09:53:48.598 [pkcs15-init] card.c:571:sc_select_file: called; type=2, path=3f005015 0x8012041c0 09:53:48.598 [pkcs15-init] card-cardos.c:439:cardos_select_file: called 0x8012041c0 09:53:48.598 [pkcs15-init] apdu.c:525:sc_transmit_apdu: called 0x8012041c0 09:53:48.598 [pkcs15-init] card.c:292:sc_lock: called 0x8012041c0 09:53:48.598 [pkcs15-init] apdu.c:184:sc_apdu_log: Outgoing APDU data [ 7 bytes] ===================================== 00 A4 08 00 02 50 15 .....P. ====================================================================== 0x8012041c0 09:53:48.611 [pkcs15-init] apdu.c:184:sc_apdu_log: Incoming APDU data [ 2 bytes] ===================================== 6A 82 j. ====================================================================== 0x8012041c0 09:53:48.611 [pkcs15-init] card.c:330:sc_unlock: called 0x8012041c0 09:53:48.611 [pkcs15-init] card-cardos.c:268:cardos_check_sw: file not found 0x8012041c0 09:53:48.611 [pkcs15-init] iso7816.c:480:iso7816_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.611 [pkcs15-init] card-cardos.c:443:cardos_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.611 [pkcs15-init] card.c:597:sc_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.611 [pkcs15-init] pkcs15.c:785:sc_pkcs15_bind_internal: absolute path to EF(ODF) 3f005031 0x8012041c0 09:53:48.611 [pkcs15-init] card.c:571:sc_select_file: called; type=2, path=3f005031 0x8012041c0 09:53:48.611 [pkcs15-init] card-cardos.c:439:cardos_select_file: called 0x8012041c0 09:53:48.611 [pkcs15-init] apdu.c:525:sc_transmit_apdu: called 0x8012041c0 09:53:48.611 [pkcs15-init] card.c:292:sc_lock: called 0x8012041c0 09:53:48.611 [pkcs15-init] apdu.c:184:sc_apdu_log: Outgoing APDU data [ 8 bytes] ===================================== 00 A4 08 00 02 50 31 00 .....P1. ====================================================================== 0x8012041c0 09:53:48.624 [pkcs15-init] apdu.c:184:sc_apdu_log: Incoming APDU data [ 2 bytes] ===================================== 6A 82 j. ====================================================================== 0x8012041c0 09:53:48.624 [pkcs15-init] card.c:330:sc_unlock: called 0x8012041c0 09:53:48.624 [pkcs15-init] card-cardos.c:268:cardos_check_sw: file not found 0x8012041c0 09:53:48.625 [pkcs15-init] iso7816.c:485:iso7816_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.625 [pkcs15-init] card-cardos.c:443:cardos_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.625 [pkcs15-init] card.c:597:sc_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.625 [pkcs15-init] pkcs15.c:796:sc_pkcs15_bind_internal: EF(ODF) not found in '3f005031' 0x8012041c0 09:53:48.625 [pkcs15-init] pkcs15-syn.c:125:sc_pkcs15_bind_synthetic: called 0x8012041c0 09:53:48.625 [pkcs15-init] pkcs15-syn.c:166:sc_pkcs15_bind_synthetic: no emulator list in config file, trying all builtin emulators 0x8012041c0 09:53:48.625 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying westcos 0x8012041c0 09:53:48.625 [pkcs15-init] pkcs15-westcos.c:258:sc_pkcs15emu_westcos_init_ex: sc_pkcs15_init_func_ex westcos 0x8012041c0 09:53:48.625 [pkcs15-init] pkcs15-westcos.c:245:westcos_detect_card: westcos_detect_card (CardOS M4) 0x8012041c0 09:53:48.625 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying openpgp 0x8012041c0 09:53:48.625 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying infocamere 0x8012041c0 09:53:48.625 [pkcs15-init] card.c:571:sc_select_file: called; type=2, path=3f002f02 0x8012041c0 09:53:48.625 [pkcs15-init] card-cardos.c:439:cardos_select_file: called 0x8012041c0 09:53:48.625 [pkcs15-init] apdu.c:525:sc_transmit_apdu: called 0x8012041c0 09:53:48.625 [pkcs15-init] card.c:292:sc_lock: called 0x8012041c0 09:53:48.625 [pkcs15-init] apdu.c:184:sc_apdu_log: Outgoing APDU data [ 8 bytes] ===================================== 00 A4 08 00 02 2F 02 00 ...../.. ====================================================================== 0x8012041c0 09:53:48.638 [pkcs15-init] apdu.c:184:sc_apdu_log: Incoming APDU data [ 2 bytes] ===================================== 6A 82 j. ====================================================================== 0x8012041c0 09:53:48.638 [pkcs15-init] card.c:330:sc_unlock: called 0x8012041c0 09:53:48.638 [pkcs15-init] card-cardos.c:268:cardos_check_sw: file not found 0x8012041c0 09:53:48.638 [pkcs15-init] iso7816.c:485:iso7816_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.638 [pkcs15-init] card-cardos.c:443:cardos_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.638 [pkcs15-init] card.c:597:sc_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.638 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying starcert 0x8012041c0 09:53:48.638 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying tcos 0x8012041c0 09:53:48.638 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying esteid 0x8012041c0 09:53:48.638 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying itacns 0x8012041c0 09:53:48.638 [pkcs15-init] pkcs15-itacns.c:857:sc_pkcs15emu_itacns_init_ex: called 0x8012041c0 09:53:48.638 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying postecert 0x8012041c0 09:53:48.638 [pkcs15-init] card.c:571:sc_select_file: called; type=2, path=504b0001 0x8012041c0 09:53:48.638 [pkcs15-init] card-cardos.c:439:cardos_select_file: called 0x8012041c0 09:53:48.638 [pkcs15-init] apdu.c:525:sc_transmit_apdu: called 0x8012041c0 09:53:48.638 [pkcs15-init] card.c:292:sc_lock: called 0x8012041c0 09:53:48.638 [pkcs15-init] apdu.c:184:sc_apdu_log: Outgoing APDU data [ 9 bytes] ===================================== 00 A4 08 00 04 50 4B 00 01 .....PK.. ====================================================================== 0x8012041c0 09:53:48.652 [pkcs15-init] apdu.c:184:sc_apdu_log: Incoming APDU data [ 2 bytes] ===================================== 6A 82 j. ====================================================================== 0x8012041c0 09:53:48.652 [pkcs15-init] card.c:330:sc_unlock: called 0x8012041c0 09:53:48.652 [pkcs15-init] card-cardos.c:268:cardos_check_sw: file not found 0x8012041c0 09:53:48.652 [pkcs15-init] iso7816.c:480:iso7816_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.652 [pkcs15-init] card-cardos.c:443:cardos_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.652 [pkcs15-init] card.c:597:sc_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.652 [pkcs15-init] pkcs15-postecert.c:340:sc_pkcs15emu_postecert_init: Failed to initialize Postecert and Cnipa emulation: Unsupported card 0x8012041c0 09:53:48.652 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying PIV-II 0x8012041c0 09:53:48.652 [pkcs15-init] pkcs15-piv.c:1005:sc_pkcs15emu_piv_init_ex: called 0x8012041c0 09:53:48.652 [pkcs15-init] pkcs15-piv.c:231:piv_detect_card: called 0x8012041c0 09:53:48.652 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying gemsafeGPK 0x8012041c0 09:53:48.652 [pkcs15-init] pkcs15-gemsafeGPK.c:513:sc_pkcs15emu_gemsafeGPK_init_ex: Entering sc_pkcs15emu_gemsafeGPK_init_ex 0x8012041c0 09:53:48.652 [pkcs15-init] pkcs15-gemsafeGPK.c:166:gemsafe_detect_card: called 0x8012041c0 09:53:48.652 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying gemsafeV1 0x8012041c0 09:53:48.652 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying actalis 0x8012041c0 09:53:48.652 [pkcs15-init] card.c:571:sc_select_file: called; type=2, path=3f0030000001 0x8012041c0 09:53:48.652 [pkcs15-init] card-cardos.c:439:cardos_select_file: called 0x8012041c0 09:53:48.652 [pkcs15-init] apdu.c:525:sc_transmit_apdu: called 0x8012041c0 09:53:48.652 [pkcs15-init] card.c:292:sc_lock: called 0x8012041c0 09:53:48.652 [pkcs15-init] apdu.c:184:sc_apdu_log: Outgoing APDU data [ 9 bytes] ===================================== 00 A4 08 00 04 30 00 00 01 .....0... ====================================================================== 0x8012041c0 09:53:48.666 [pkcs15-init] apdu.c:184:sc_apdu_log: Incoming APDU data [ 2 bytes] ===================================== 6A 82 j. ====================================================================== 0x8012041c0 09:53:48.666 [pkcs15-init] card.c:330:sc_unlock: called 0x8012041c0 09:53:48.666 [pkcs15-init] card-cardos.c:268:cardos_check_sw: file not found 0x8012041c0 09:53:48.666 [pkcs15-init] iso7816.c:480:iso7816_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.666 [pkcs15-init] card-cardos.c:443:cardos_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.666 [pkcs15-init] card.c:597:sc_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.666 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying atrust-acos 0x8012041c0 09:53:48.666 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying tccardos 0x8012041c0 09:53:48.666 [pkcs15-init] card.c:571:sc_select_file: called; type=2, path=3f001003b200 0x8012041c0 09:53:48.666 [pkcs15-init] card-cardos.c:439:cardos_select_file: called 0x8012041c0 09:53:48.666 [pkcs15-init] apdu.c:525:sc_transmit_apdu: called 0x8012041c0 09:53:48.666 [pkcs15-init] card.c:292:sc_lock: called 0x8012041c0 09:53:48.666 [pkcs15-init] apdu.c:184:sc_apdu_log: Outgoing APDU data [ 10 bytes] ===================================== 00 A4 08 00 04 10 03 B2 00 00 .......... ====================================================================== 0x8012041c0 09:53:48.680 [pkcs15-init] apdu.c:184:sc_apdu_log: Incoming APDU data [ 2 bytes] ===================================== 6A 82 j. ====================================================================== 0x8012041c0 09:53:48.680 [pkcs15-init] card.c:330:sc_unlock: called 0x8012041c0 09:53:48.680 [pkcs15-init] card-cardos.c:268:cardos_check_sw: file not found 0x8012041c0 09:53:48.681 [pkcs15-init] iso7816.c:485:iso7816_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.681 [pkcs15-init] card-cardos.c:443:cardos_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.681 [pkcs15-init] card.c:597:sc_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.681 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying entersafe 0x8012041c0 09:53:48.681 [pkcs15-init] pkcs15-esinit.c:80:sc_pkcs15emu_entersafe_init_ex: called 0x8012041c0 09:53:48.681 [pkcs15-init] pkcs15-esinit.c:36:entersafe_detect_card: called 0x8012041c0 09:53:48.681 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying pteid 0x8012041c0 09:53:48.681 [pkcs15-init] pkcs15-syn.c:168:sc_pkcs15_bind_synthetic: trying oberthur 0x8012041c0 09:53:48.681 [pkcs15-init] pkcs15-oberthur.c:1045:sc_pkcs15emu_oberthur_init_ex: called 0x8012041c0 09:53:48.681 [pkcs15-init] pkcs15-oberthur.c:1032:oberthur_detect_card: called 0x8012041c0 09:53:48.681 [pkcs15-init] pkcs15-oberthur.c:1034:oberthur_detect_card: returning with: -1413 (Unsupported card) 0x8012041c0 09:53:48.681 [pkcs15-init] pkcs15-oberthur.c:1055:sc_pkcs15emu_oberthur_init_ex: returning with: -1413 (Unsupported card) 0x8012041c0 09:53:48.681 [pkcs15-init] pkcs15-syn.c:177:sc_pkcs15_bind_synthetic: searching for 'emulate foo { ... }' blocks 0x8012041c0 09:53:48.681 [pkcs15-init] card.c:330:sc_unlock: called 0x8012041c0 09:53:48.681 [pkcs15-init] pkcs15.c:963:sc_pkcs15_bind: returning with: -1413 (Unsupported card) 0x8012041c0 09:53:48.681 [pkcs15-init] pkcs15-lib.c:587:sc_pkcs15init_rmdir: sc_pkcs15init_rmdir(3f002f00) 0x8012041c0 09:53:48.681 [pkcs15-init] card.c:571:sc_select_file: called; type=2, path=3f00 0x8012041c0 09:53:48.681 [pkcs15-init] card-cardos.c:439:cardos_select_file: called 0x8012041c0 09:53:48.681 [pkcs15-init] apdu.c:525:sc_transmit_apdu: called 0x8012041c0 09:53:48.681 [pkcs15-init] card.c:292:sc_lock: called 0x8012041c0 09:53:48.681 [pkcs15-init] apdu.c:184:sc_apdu_log: Outgoing APDU data [ 8 bytes] ===================================== 00 A4 00 00 02 3F 00 00 .....?.. ====================================================================== 0x8012041c0 09:53:48.712 [pkcs15-init] apdu.c:184:sc_apdu_log: Incoming APDU data [ 37 bytes] ===================================== 6F 21 81 02 04 00 82 06 38 B5 00 FE 00 00 83 02 o!......8....... 3F 00 85 03 00 ED E3 86 0A 00 00 00 00 00 00 FF ?............... 00 FF 00 90 00 ..... ====================================================================== 0x8012041c0 09:53:48.712 [pkcs15-init] card.c:330:sc_unlock: called 0x8012041c0 09:53:48.712 [pkcs15-init] iso7816.c:319:iso7816_process_fci: processing FCI bytes 0x8012041c0 09:53:48.712 [pkcs15-init] iso7816.c:324:iso7816_process_fci: file identifier: 0x3F00 0x8012041c0 09:53:48.712 [pkcs15-init] iso7816.c:338:iso7816_process_fci: bytes in file: 1024 0x8012041c0 09:53:48.712 [pkcs15-init] iso7816.c:350:iso7816_process_fci: shareable: no 0x8012041c0 09:53:48.712 [pkcs15-init] iso7816.c:370:iso7816_process_fci: type: DF 0x8012041c0 09:53:48.712 [pkcs15-init] iso7816.c:372:iso7816_process_fci: EF structure: 0 0x8012041c0 09:53:48.712 [pkcs15-init] card-cardos.c:443:cardos_select_file: returning with: 0 (Success) 0x8012041c0 09:53:48.712 [pkcs15-init] card.c:597:sc_select_file: returning with: 0 (Success) 0x8012041c0 09:53:48.712 [pkcs15-init] pkcs15-lib.c:3158:sc_pkcs15init_authenticate: called 0x8012041c0 09:53:48.712 [pkcs15-init] pkcs15-lib.c:3159:sc_pkcs15init_authenticate: path '3f002f00', op=2 0x8012041c0 09:53:48.712 [pkcs15-init] pkcs15-lib.c:3170:sc_pkcs15init_authenticate: acl 0x80073cce0 0x8012041c0 09:53:48.712 [pkcs15-init] pkcs15-lib.c:3177:sc_pkcs15init_authenticate: always allowed 0x8012041c0 09:53:48.712 [pkcs15-init] pkcs15-lib.c:3191:sc_pkcs15init_authenticate: returning with: 0 (Success) 0x8012041c0 09:53:48.712 [pkcs15-init] pkcs15-lib.c:3158:sc_pkcs15init_authenticate: called 0x8012041c0 09:53:48.712 [pkcs15-init] pkcs15-lib.c:3159:sc_pkcs15init_authenticate: path '3f00', op=2 0x8012041c0 09:53:48.713 [pkcs15-init] pkcs15-lib.c:3170:sc_pkcs15init_authenticate: acl 0x80073cce0 0x8012041c0 09:53:48.713 [pkcs15-init] pkcs15-lib.c:3177:sc_pkcs15init_authenticate: always allowed 0x8012041c0 09:53:48.713 [pkcs15-init] pkcs15-lib.c:3191:sc_pkcs15init_authenticate: returning with: 0 (Success) 0x8012041c0 09:53:48.713 [pkcs15-init] card.c:720:sc_card_ctl: called 0x8012041c0 09:53:48.713 [pkcs15-init] card-cardos.c:930:cardos_lifecycle_set: called 0x8012041c0 09:53:48.713 [pkcs15-init] card-cardos.c:884:cardos_lifecycle_get: called 0x8012041c0 09:53:48.713 [pkcs15-init] apdu.c:525:sc_transmit_apdu: called 0x8012041c0 09:53:48.713 [pkcs15-init] card.c:292:sc_lock: called 0x8012041c0 09:53:48.713 [pkcs15-init] apdu.c:184:sc_apdu_log: Outgoing APDU data [ 5 bytes] ===================================== 00 CA 01 83 00 ..... ====================================================================== 0x8012041c0 09:53:48.719 [pkcs15-init] apdu.c:184:sc_apdu_log: Incoming APDU data [ 3 bytes] ===================================== 20 90 00 .. ====================================================================== 0x8012041c0 09:53:48.719 [pkcs15-init] card.c:330:sc_unlock: called 0x8012041c0 09:53:48.719 [pkcs15-init] card-cardos.c:918:cardos_lifecycle_get: returning with: 0 (Success) 0x8012041c0 09:53:48.719 [pkcs15-init] card.c:730:sc_card_ctl: returning with: 0 (Success) 0x8012041c0 09:53:48.719 [pkcs15-init] card.c:407:sc_delete_file: called; type=0, path=2f00 0x8012041c0 09:53:48.719 [pkcs15-init] iso7816.c:667:iso7816_delete_file: called 0x8012041c0 09:53:48.719 [pkcs15-init] apdu.c:525:sc_transmit_apdu: called 0x8012041c0 09:53:48.719 [pkcs15-init] card.c:292:sc_lock: called 0x8012041c0 09:53:48.719 [pkcs15-init] apdu.c:184:sc_apdu_log: Outgoing APDU data [ 7 bytes] ===================================== 00 E4 00 00 02 2F 00 ...../. ====================================================================== 0x8012041c0 09:53:48.728 [pkcs15-init] apdu.c:184:sc_apdu_log: Incoming APDU data [ 2 bytes] ===================================== 6A 82 j. ====================================================================== 0x8012041c0 09:53:48.728 [pkcs15-init] card.c:330:sc_unlock: called 0x8012041c0 09:53:48.728 [pkcs15-init] card-cardos.c:268:cardos_check_sw: file not found 0x8012041c0 09:53:48.728 [pkcs15-init] card.c:412:sc_delete_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.728 [pkcs15-init] card.c:571:sc_select_file: called; type=2, path=3f005015 0x8012041c0 09:53:48.728 [pkcs15-init] card-cardos.c:439:cardos_select_file: called 0x8012041c0 09:53:48.728 [pkcs15-init] apdu.c:525:sc_transmit_apdu: called 0x8012041c0 09:53:48.728 [pkcs15-init] card.c:292:sc_lock: called 0x8012041c0 09:53:48.728 [pkcs15-init] apdu.c:184:sc_apdu_log: Outgoing APDU data [ 8 bytes] ===================================== 00 A4 08 00 02 50 15 00 .....P.. ====================================================================== 0x8012041c0 09:53:48.741 [pkcs15-init] apdu.c:184:sc_apdu_log: Incoming APDU data [ 2 bytes] ===================================== 6A 82 j. ====================================================================== 0x8012041c0 09:53:48.741 [pkcs15-init] card.c:330:sc_unlock: called 0x8012041c0 09:53:48.741 [pkcs15-init] card-cardos.c:268:cardos_check_sw: file not found 0x8012041c0 09:53:48.741 [pkcs15-init] iso7816.c:485:iso7816_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.741 [pkcs15-init] card-cardos.c:443:cardos_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.741 [pkcs15-init] card.c:597:sc_select_file: returning with: -1201 (File not found) 0x8012041c0 09:53:48.741 [pkcs15-init] pkcs15-lib.c:477:sc_pkcs15init_erase_card: returning with: 0 (Success) 0x8012041c0 09:53:48.741 [pkcs15-init] card.c:330:sc_unlock: called 0x8012041c0 09:53:48.741 [pkcs15-init] reader-openct.c:407:openct_reader_unlock: called 0x8012041c0 09:53:48.741 [pkcs15-init] card.c:242:sc_disconnect_card: called 0x8012041c0 09:53:48.741 [pkcs15-init] reader-openct.c:242:openct_reader_disconnect: called 0x8012041c0 09:53:48.741 [pkcs15-init] card.c:258:sc_disconnect_card: returning with: 0 (Success) 0x8012041c0 09:53:48.741 [pkcs15-init] ctx.c:737:sc_release_context: called 0x8012041c0 09:53:48.742 [pkcs15-init] reader-openct.c:153:openct_reader_release: called 0x8012041c0 09:53:48.742 [pkcs15-init] reader-openct.c:153:openct_reader_release: called 0x8012041c0 09:53:48.742 [pkcs15-init] reader-openct.c:140:openct_reader_finish: called _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel