Bitlocker to Go
Posted: Thu Jan 24, 2019 9:55 am
by arnet
Greetings!
All I want to do is use a smart card to store a key for bitlocker to go. I have tried isoapplet, muscleapplet, and gidsapplet (fun fact: I can only get the card initialized using gids-tool -X -v; without the -v I get a transmit failed error). I can load each applet but when I attempt to save an EFS cert to the smart card it states the card is not fully personalized for use. I then attempted to use Opensc to load the pkcs15 data structure and am receiving a "Incorrect parameters in APDU" error.
Cards are J2A040 JCOP 21-36k (came fused from Bando who stated they are not restricted in any way) and Opensc 0.19.
Also, I am not committed to any particular solution. Thanks in advance for your help!
I deleted the ATR matching portions and most of the repeated time stamps:
All I want to do is use a smart card to store a key for bitlocker to go. I have tried isoapplet, muscleapplet, and gidsapplet (fun fact: I can only get the card initialized using gids-tool -X -v; without the -v I get a transmit failed error). I can load each applet but when I attempt to save an EFS cert to the smart card it states the card is not fully personalized for use. I then attempted to use Opensc to load the pkcs15 data structure and am receiving a "Incorrect parameters in APDU" error.
Cards are J2A040 JCOP 21-36k (came fused from Bando who stated they are not restricted in any way) and Opensc 0.19.
Also, I am not committed to any particular solution. Thanks in advance for your help!
I deleted the ATR matching portions and most of the repeated time stamps:
- >gids-tool.exe -X -v
- Using reader with a card: Broadcom Corp Contacted SmartCard 0
- Connecting to card in reader Broadcom Corp Contacted SmartCard 0...
- Using card driver GIDS Smart Card.
- Enter admin key (48 hexadecimal characters) :
- Press Enter to set the admin key to 00...00
- Enter initial User-PIN (4 - 16 characters) :
- Enter serial number (32 hexadecimal characters):
- Press Enter to set a random serial number
- >gids-tool.exe --serial-number 01
- Using reader with a card: Broadcom Corp Contacted SmartCard 0
- ===============================
- Dumping the content of the card
- ===============================
- Dumping Files:
- Found 5 entries in the masterfile
- Directory: mscp
- FileIdentifier: 0xa000
- File: \cardid
- FileIdentifier: 0xa012
- DataObjectIdentifier: 0xdf20
- Size: 16
- File: \cardapps
- FileIdentifier: 0xa010
- DataObjectIdentifier: 0xdf21
- Size: 8
- File: \cardcf
- FileIdentifier: 0xa010
- DataObjectIdentifier: 0xdf22
- Size: 6
- File: mscp\cmapfile
- FileIdentifier: 0xa010
- DataObjectIdentifier: 0xdf23
- Size: 0
- Dumping containers:
- no container found
- >pkcs15-init --create-pkcs15 -v
- Using reader with a card: Broadcom Corp Contacted SmartCard 0
- Connecting to card in reader Broadcom Corp Contacted SmartCard 0...
- Using card driver GIDS Smart Card.
- About to create PKCS #15 meta structure.
- New Security Officer PIN (Optional - press return for no PIN).
- Please enter Security Officer PIN: Please type again to verify: Unblock Code for New User PIN (Optional - press return for no PIN).
- Please enter User unblocking PIN (PUK): Please type again to verify: Failed to create PKCS #15 meta structure: Incorrect parameters in APDU
- >pkcs15-init --create-pkcs15 -vvvvvvvvv
- P:6332; T:4972 2019-01-23 14:16:51.527 [pkcs15-init] sc.c:275:sc_detect_card_presence: called
- [pkcs15-init] reader-pcsc.c:412:pcsc_detect_card_presence: called
- Broadcom Corp Contacted SmartCard 0 check
- [pkcs15-init] reader-pcsc.c:340:refresh_attributes: returning with: 0 (Success)
- [pkcs15-init] reader-pcsc.c:417:pcsc_detect_card_presence: returning with: 5
- P:6332; T:4972 2019-01-23 14:16:51.543 [pkcs15-init] sc.c:280:sc_detect_card_presence: returning with: 5
- Using reader with a card: Broadcom Corp Contacted SmartCard 0
- [pkcs15-init] sc.c:275:sc_detect_card_presence: called
- [pkcs15-init] reader-pcsc.c:412:pcsc_detect_card_presence: called
- Broadcom Corp Contacted SmartCard 0 check
- [pkcs15-init] reader-pcsc.c:340:refresh_attributes: returning with: 0 (Success)
- [pkcs15-init] reader-pcsc.c:417:pcsc_detect_card_presence: returning with: 5
- [pkcs15-init] sc.c:280:sc_detect_card_presence: returning with: 5
- Connecting to card in reader Broadcom Corp Contacted SmartCard 0...
- [pkcs15-init] card.c:196:sc_connect_card: called
- [pkcs15-init] reader-pcsc.c:534:pcsc_connect: called
- Broadcom Corp Contacted SmartCard 0 check
- [pkcs15-init] reader-pcsc.c:340:refresh_attributes: returning with: 0 (Success)
- Initial protocol: T=1
- matching configured ATRs
- P:6332; T:4972 2019-01-23 14:16:51.558 matching built-in ATRs
- trying driver 'cardos'
- P:6332; T:4972 2019-01-23 14:16:51.590 trying driver 'flex'
- P:6332; T:4972 2019-01-23 14:16:51.652 trying driver 'cyberflex'
- P:6332; T:4972 2019-01-23 14:16:51.730 trying driver 'gpk'
- P:6332; T:4972 2019-01-23 14:16:51.762 trying driver 'gemsafeV1'
- P:6332; T:4972 2019-01-23 14:16:51.793 trying driver 'asepcos'
- P:6332; T:4972 2019-01-23 14:16:51.793 trying driver 'starcos'
- P:6332; T:4972 2019-01-23 14:16:51.824 trying driver 'tcos'
- P:6332; T:4972 2019-01-23 14:16:51.855 trying driver 'oberthur'
- ATR : 3b:f8:13:00:00:81:31:fe:45:4a:43:4f:50:76:32:34:31:b7
- ATR try : 3B:7D:18:00:00:00:31:80:71:8E:64:77:E3:01:00:82:90:00
- ATR try : 3B:7D:18:00:00:00:31:80:71:8E:64:77:E3:02:00:82:90:00
- ATR try : 3B:7D:11:00:00:00:31:80:71:8E:64:77:E3:01:00:82:90:00
- P:6332; T:4972 2019-01-23 14:16:51.871 ATR try : 3B:7D:11:00:00:00:31:80:71:8E:64:77:E3:02:00:82:90:00
- P:6332; T:4972 2019-01-23 14:16:51.871 trying driver 'authentic'
- P:6332; T:4972 2019-01-23 14:16:51.871 [pkcs15-init] card-authentic.c:416:authentic_match_card:
- try to match card with ATR (18 bytes):
- 3B F8 13 00 00 81 31 FE 45 4A 43 4F 50 76 32 34 ;.....1.EJCOPv24
- 31 B7 1.
- P:6332; T:4972 2019-01-23 14:16:51.918 trying driver 'iasecc'
- P:6332; T:4972 2019-01-23 14:16:51.949 trying driver 'belpic'
- P:6332; T:4972 2019-01-23 14:16:51.965 trying driver 'incrypto34'
- P:6332; T:4972 2019-01-23 14:16:51.965 trying driver 'acos5'
- P:6332; T:4972 2019-01-23 14:16:51.980 trying driver 'akis'
- trying driver 'entersafe'
- [pkcs15-init] card-entersafe.c:138:entersafe_match_card: called
- P:6332; T:4972 2019-01-23 14:16:52.012 trying driver 'epass2003'
- P:6332; T:4972 2019-01-23 14:16:52.012 [pkcs15-init] card-epass2003.c:1143:epass2003_match_card: called
- P:6332; T:4972 2019-01-23 14:16:52.027 trying driver 'rutoken'
- P:6332; T:4972 2019-01-23 14:16:52.027 [pkcs15-init] card-rutoken.c:103:rutoken_match_card: called
- P:6332; T:4972 2019-01-23 14:16:52.043 [pkcs15-init] card-rutoken.c:109:rutoken_match_card: returning with: 0 (Success)
- trying driver 'rutoken_ecp'
- [pkcs15-init] card-rtecp.c:62:rtecp_match_card: returning with: 0 (Success)
- trying driver 'myeid'
- trying driver 'dnie'
- [pkcs15-init] card-dnie.c:739:dnie_match_card: called
- P:6332; T:4972 2019-01-23 14:16:52.058 [pkcs15-init] card-dnie.c:742:dnie_match_card: returning with: 0 (Success)
- P:6332; T:4972 2019-01-23 14:16:52.058 trying driver 'MaskTech'
- P:6332; T:4972 2019-01-23 14:16:52.074 trying driver 'atrust-acos'
- P:6332; T:4972 2019-01-23 14:16:52.074 trying driver 'westcos'
- P:6332; T:4972 2019-01-23 14:16:52.090 trying driver 'muscle'
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card-muscle.c:825:muscle_card_reader_lock_obtained: called
- [pkcs15-init] card-muscle.c:833:muscle_card_reader_lock_obtained: returning with: 0 (Success)
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:0, data(6) 00007FFC315907D0
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (11 bytes):
- 00 A4 04 00 06 A0 00 00 00 01 01 ...........
- P:6332; T:4972 2019-01-23 14:16:52.090 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:52.137 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- P:6332; T:4972 2019-01-23 14:16:52.137 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- P:6332; T:4972 2019-01-23 14:16:52.152 [pkcs15-init] muscle.c:276:msc_select_applet: returning with: -1200 (Card command failed)
- P:6332; T:4972 2019-01-23 14:16:52.152 trying driver 'sc-hsm'
- P:6332; T:4972 2019-01-23 14:16:52.183 [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- P:6332; T:4972 2019-01-23 14:16:52.199 [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:0, data(11) 0000007C6FD5ECD0
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (17 bytes):
- 00 A4 04 00 0B E8 2B 06 01 04 01 81 C3 1F 02 01 ......+.........
- 00 .
- P:6332; T:4972 2019-01-23 14:16:52.199 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:52.246 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- P:6332; T:4972 2019-01-23 14:16:52.246 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] iso7816.c:578:iso7816_select_file: returning with: -1201 (File not found)
- [pkcs15-init] card-sc-hsm.c:179:sc_hsm_select_file_ex: Could not select SmartCard-HSM application: -1201 (File not found)
- [pkcs15-init] card-sc-hsm.c:257:sc_hsm_match_card: Could not select SmartCard-HSM application: -1201 (File not found)
- trying driver 'mcrd'
- P:6332; T:4972 2019-01-23 14:16:52.293 [pkcs15-init] card-mcrd.c:310:mcrd_match_card: called
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- P:6332; T:4972 2019-01-23 14:16:52.308 [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:C, data(15) 00007FFC314EC2F8
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (20 bytes):
- 00 A4 04 0C 0F D2 33 00 00 00 45 73 74 45 49 44 ......3...EstEID
- 20 76 33 35 v35
- P:6332; T:4972 2019-01-23 14:16:52.308 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:52.340 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- P:6332; T:4972 2019-01-23 14:16:52.340 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- P:6332; T:4972 2019-01-23 14:16:52.355 [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- trying driver 'setcos'
- P:6332; T:4972 2019-01-23 14:16:52.387 [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- P:6332; T:4972 2019-01-23 14:16:52.402 [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:CA, P1:DF, P2:30, data(0) 0000000000000000
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (5 bytes):
- 00 CA DF 30 05 ...0.
- P:6332; T:4972 2019-01-23 14:16:52.402 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:52.418 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6D 00 m.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- P:6332; T:4972 2019-01-23 14:16:52.433 trying driver 'PIV-II'
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card-piv.c:3563:piv_card_reader_lock_obtained: called
- PIV_STATE_MATCH
- [pkcs15-init] card-piv.c:3602:piv_card_reader_lock_obtained: returning with: 0 (Success)
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] card-piv.c:2665:piv_find_discovery: called
- [pkcs15-init] card-piv.c:995:piv_get_cached_data: called
- #10
- get #10
- [pkcs15-init] card-piv.c:922:piv_get_data: called
- P:6332; T:4972 2019-01-23 14:16:52.449 #10
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- get len of #10
- [pkcs15-init] card-piv.c:494:piv_general_io: called
- cb 3f ff 3 : 0 0
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- calling sc_transmit_apdu flags=3 le=8, resplen=8, resp=0000007C6FD5ED08
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- P:6332; T:4972 2019-01-23 14:16:52.465 CLA:0, INS:CB, P1:3F, P2:FF, data(3) 0000007C6FD5ED00
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (9 bytes):
- 00 CB 3F FF 03 5C 01 7E 08 ..?..\.~.
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:52.480 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 69 84 i.
- P:6332; T:4972 2019-01-23 14:16:52.496 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- DEE r=0 apdu.resplen=0 sw1=69 sw2=84
- Referenced data not usable
- Card returned error
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] card-piv.c:605:piv_general_io: returning with: -1220 (Reference data not usable)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] card-piv.c:982:piv_get_data: returning with: -1220 (Reference data not usable)
- [pkcs15-init] card-piv.c:1064:piv_get_cached_data: returning with: -1220 (Reference data not usable)
- [pkcs15-init] card-piv.c:2653:piv_process_discovery: returning with: -1220 (Reference data not usable)
- [pkcs15-init] card-piv.c:2684:piv_find_discovery: returning with: -1220 (Reference data not usable)
- [pkcs15-init] card-piv.c:770:piv_find_aid: called
- [pkcs15-init] card-piv.c:733:piv_select_aid: called
- Got args: aid=00007FFC314F46E0, aidlen=9, response=0000007C6FD5EE50, responselen=261
- P:6332; T:4972 2019-01-23 14:16:52.512 [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:0, data(9) 00007FFC314F46E0
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (15 bytes):
- 00 A4 04 00 09 A0 00 00 03 08 00 00 10 00 00 ...............
- P:6332; T:4972 2019-01-23 14:16:52.512 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:52.558 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- P:6332; T:4972 2019-01-23 14:16:52.558 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- P:6332; T:4972 2019-01-23 14:16:52.574 [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- File or application not found
- [pkcs15-init] card-piv.c:752:piv_select_aid: returning with: -1201 (File not found)
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:0, data(9) 00007FFC314F46E0
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (15 bytes):
- 00 A4 04 00 09 A0 00 00 03 08 00 00 10 00 00 ...............
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:52.621 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- File or application not found
- [pkcs15-init] card-piv.c:828:piv_find_aid: returning with: -1201 (File not found)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- [pkcs15-init] card-piv.c:2922:piv_finish: called
- DEE freeing #0, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #1, 0x00 0000000000000000:0 0000000000000000:0
- P:6332; T:4972 2019-01-23 14:16:52.637 DEE freeing #2, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #3, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #4, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #5, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #6, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #7, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #8, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #9, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #10, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #11, 0x00 0000000000000000:0 0000000000000000:0
- freeing #12, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #13, 0x08 0000000000000000:0 0000000000000000:0
- P:6332; T:4972 2019-01-23 14:16:52.652 DEE freeing #14, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #15, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #16, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #17, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #18, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #19, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #20, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #21, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #22, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #23, 0x08 0000000000000000:0 0000000000000000:0
- P:6332; T:4972 2019-01-23 14:16:52.668 DEE freeing #24, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #25, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #26, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #27, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #28, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #29, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #30, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #31, 0x08 0000000000000000:0 0000000000000000:0
- DEE freeing #32, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #33, 0x00 0000000000000000:0 0000000000000000:0
- P:6332; T:4972 2019-01-23 14:16:52.683 DEE freeing #34, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #35, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #36, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #37, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #38, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #39, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #40, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #41, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #42, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #43, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #44, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #45, 0x00 0000000000000000:0 0000000000000000:0
- P:6332; T:4972 2019-01-23 14:16:52.699 DEE freeing #46, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #47, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #48, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #49, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #50, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #51, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #52, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #53, 0x00 0000000000000000:0 0000000000000000:0
- P:6332; T:4972 2019-01-23 14:16:52.715 DEE freeing #54, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #55, 0x00 0000000000000000:0 0000000000000000:0
- DEE freeing #56, 0x00 0000000000000000:0 0000000000000000:0
- trying driver 'cac'
- [pkcs15-init] card-cac.c:1950:cac_match_card: called
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 1 16 db 0 len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- P:6332; T:4972 2019-01-23 14:16:52.730 [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5EE00
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 01 16 DB 00 00 .............
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:52.777 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 10 0 len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- P:6332; T:4972 2019-01-23 14:16:52.793 CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5EE00
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 10 00 00 .........y...
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:52.840 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 1 0 len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- P:6332; T:4972 2019-01-23 14:16:52.855 [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 01 00 00 .........y...
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:52.887 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- P:6332; T:4972 2019-01-23 14:16:52.902 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 1 1 len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- P:6332; T:4972 2019-01-23 14:16:52.918 CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 01 01 00 .........y...
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:52.965 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 1 2 len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- P:6332; T:4972 2019-01-23 14:16:52.980 CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 01 02 00 .........y...
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.027 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 1 3 len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.043 [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 01 03 00 .........y...
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.090 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 1 4 len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.105 [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 01 04 00 .........y...
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.137 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- P:6332; T:4972 2019-01-23 14:16:53.152 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 1 5 len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.168 CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 01 05 00 .........y...
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.215 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 1 6 len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.230 CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 01 06 00 .........y...
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.262 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- P:6332; T:4972 2019-01-23 14:16:53.277 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 1 7 len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
- P:6332; T:4972 2019-01-23 14:16:53.293 reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 01 07 00 .........y...
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.324 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- P:6332; T:4972 2019-01-23 14:16:53.340 [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 1 8 len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
- P:6332; T:4972 2019-01-23 14:16:53.355 reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 01 08 00 .........y...
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.387 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- P:6332; T:4972 2019-01-23 14:16:53.402 [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 1 9 len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.418 CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 01 09 00 .........y...
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.449 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- P:6332; T:4972 2019-01-23 14:16:53.465 [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 1 a len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
- reader 'Broadcom Corp Contacted SmartCard 0'
- P:6332; T:4972 2019-01-23 14:16:53.480 [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 01 0A 00 .........y...
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.512 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- P:6332; T:4972 2019-01-23 14:16:53.527 [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 1 b len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
- reader 'Broadcom Corp Contacted SmartCard 0'
- P[pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 01 0B 00 .........y...
- P:6332; T:4972 2019-01-23 14:16:53.543 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.574 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- P:6332; T:4972 2019-01-23 14:16:53.590 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 1 c len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
- P:6332; T:4972 2019-01-23 14:16:53.605 reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 01 0C 00 .........y...
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.652 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 1 d len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- P:6332; T:4972 2019-01-23 14:16:53.668 [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 01 0D 00 .........y...
- P:6332; T:4972 2019-01-23 14:16:53.668 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.715 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 1 e len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- P:6332; T:4972 2019-01-23 14:16:53.730 [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 01 0E 00 .........y...
- P[pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.777 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
- path->aid=a0 0 0 0 79 1 f len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
- file_out=0000000000000000 index=0 count=0
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.793 [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (13 bytes):
- 00 A4 04 0C 07 A0 00 00 00 79 01 0F 00 .........y...
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.840 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
- trying driver 'itacns'
- ATR : 3b:f8:13:00:00:81:31:fe:45:4a:43:4f:50:76:32:34:31:b7
- ATR try : 3b:f4:18:00:ff:81:31:80:55:00:31:80:00:c7
- ignored - wrong length
- Matching 3b against atr[0] == 3b
- trying driver 'isoApplet'
- P:6332; T:4972 2019-01-23 14:16:53.855 [pkcs15-init] card-isoApplet.c:114:isoApplet_select_applet: called
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card-isoApplet.c:1231:isoApplet_card_reader_lock_obtained: called
- [pkcs15-init] card-isoApplet.c:1239:isoApplet_card_reader_lock_obtained: returning with: 0 (Success)
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:0, data(12) 00007FFC31504678
- reader 'Broadcom Corp Contacted SmartCard 0'
- P:6332; T:4972 2019-01-23 14:16:53.871 [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (17 bytes):
- 00 A4 04 00 0C F2 76 A2 88 BC FB A6 9D 34 F3 10 ......v......4..
- 01 .
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.902 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 82 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- File or application not found
- [pkcs15-init] card-isoApplet.c:131:isoApplet_select_applet: Card returned error: -1201 (File not found)
- trying driver 'gids'
- P:6332; T:4972 2019-01-23 14:16:53.918 [pkcs15-init] card-gids.c:570:gids_match_card: called
- [pkcs15-init] card-gids.c:281:gids_select_aid: called
- Got args: aid=00007FFC31591840, aidlen=9, response=0000007C6FD5EEF0, responselen=261
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card-gids.c:2057:gids_card_reader_lock_obtained: called
- [pkcs15-init] card-gids.c:2065:gids_card_reader_lock_obtained: returning with: 0 (Success)
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:4, P2:0, data(9) 00007FFC31591840
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (15 bytes):
- 00 A4 04 00 09 A0 00 00 03 97 42 54 46 59 00 ..........BTFY.
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:53.965 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (22 bytes):
- 61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 a.O......BTFY..s
- 03 40 01 C0 90 00 .@....
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- [pkcs15-init] card-gids.c:299:gids_select_aid: returning with: 0 (Success)
- found AID
- matched: GIDS Smart Card
- [pkcs15-init] card-gids.c:632:gids_init: called
- P:6332; T:4972 2019-01-23 14:16:53.980 card info name:'GIDS Smart Card', type:30003, flags:0x0, max_send/recv_size:255/256
- [pkcs15-init] card.c:1462:sc_card_sm_check: called
- card->sm_ctx.ops.open 0000000000000000
- 0 [pkcs15-init] card.c:1468:sc_card_sm_check: returning with: 0 (Success)
- [pkcs15-init] card.c:339:sc_connect_card: returning with: 0 (Success)
- Using card driver GIDS Smart Card.
- [pkcs15-init] pkcs15-lib.c:313:sc_pkcs15init_bind: called
- [pkcs15-init] card.c:951:sc_card_ctl: called
- P:6332; T:4972 2019-01-23 14:16:53.996 [pkcs15-init] card-gids.c:2019:gids_card_ctl: called
- card_ctl(4) not supported
- called; type=2, path=3f0050154946
- [pkcs15-init] card-gids.c:920:gids_select_file: called
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card-gids.c:2057:gids_card_reader_lock_obtained: called
- [pkcs15-init] card-gids.c:2065:gids_card_reader_lock_obtained: returning with: 0 (Success)
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:8, P2:0, data(4) 0000007C6FD5F222
- P:6332; T:4972 2019-01-23 14:16:54.012 reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (10 bytes):
- 00 A4 08 00 04 50 15 49 46 00 .....P.IF.
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:16:54.027 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 86 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- P:6332; T:4972 2019-01-23 14:16:54.043 Incorrect parameters P1-P2
- [pkcs15-init] iso7816.c:578:iso7816_select_file: returning with: -1205 (Incorrect parameters in APDU)
- [pkcs15-init] card.c:776:sc_select_file: 'SELECT' error: -1205 (Incorrect parameters in APDU)
- [pkcs15-init] profile.c:336:sc_profile_load: called
- Using profile directory 'C:\Program Files\OpenSC Project\OpenSC\profiles'.
- Trying profile file C:\Program Files\OpenSC Project\OpenSC\profiles\pkcs15.profile
- profile C:\Program Files\OpenSC Project\OpenSC\profiles\pkcs15.profile loaded ok
- [pkcs15-init] profile.c:383:sc_profile_load: returning with: 0 (Success)
- [pkcs15-init] profile.c:336:sc_profile_load: called
- Using profile directory 'C:\Program Files\OpenSC Project\OpenSC\profiles'.
- Trying profile file C:\Program Files\OpenSC Project\OpenSC\profiles\gids.profile
- profile C:\Program Files\OpenSC Project\OpenSC\profiles\gids.profile loaded ok
- P:6332; T:4972 2019-01-23 14:16:54.058 [pkcs15-init] profile.c:383:sc_profile_load: returning with: 0 (Success)
- [pkcs15-init] profile.c:395:sc_profile_finish: called
- [pkcs15-init] profile.c:438:sc_profile_finish: returning with: 0 (Success)
- [pkcs15-init] pkcs15-lib.c:420:sc_pkcs15init_bind: returning with: 0 (Success)
- About to create PKCS #15 meta structure.
- New Security Officer PIN (Optional - press return for no PIN).
- Please enter Security Officer PIN: Please type again to verify: Unblock Code for New User PIN (Optional - press return for no PIN).
- Please enter User unblocking PIN (PUK): Please type again to verify: P:6332; T:4972 2019-01-23 14:17:16.308 [pkcs15-init] card.c:415:sc_lock: called
- P:6332; T:4972 2019-01-23 14:17:16.308 [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
- [pkcs15-init] card-gids.c:2057:gids_card_reader_lock_obtained: called
- [pkcs15-init] card-gids.c:2065:gids_card_reader_lock_obtained: returning with: 0 (Success)
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- P:6332; T:4972 2019-01-23 14:17:16.324 [pkcs15-init] pkcs15-lib.c:774:sc_pkcs15init_add_app: called
- [pkcs15-init] pkcs15-lib.c:4172:sc_pkcs15init_qualify_pin: called
- [pkcs15-init] pkcs15-lib.c:4191:sc_pkcs15init_qualify_pin: returning with: 0 (Success)
- [pkcs15-init] pkcs15-lib.c:4172:sc_pkcs15init_qualify_pin: called
- [pkcs15-init] pkcs15-lib.c:4191:sc_pkcs15init_qualify_pin: returning with: 0 (Success)
- Add virtual SO_PIN('Security Officer PIN',flags:B2,reference:-1,path:'3f005015')
- [pkcs15-init] card.c:951:sc_card_ctl: called
- [pkcs15-init] card-gids.c:2019:gids_card_ctl: called
- [pkcs15-init] card-gids.c:605:gids_get_serialnr: called
- [pkcs15-init] card-gids.c:386:gids_read_gidsfile: called
- [pkcs15-init] card-gids.c:216:gids_get_DO: called
- Got args: fileIdentifier=a000, dataObjectIdentifier=df1f, response=00000250F5BCD1C0, responselen=65000
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:CB, P1:A0, P2:0, data(4) 0000007C6FD3ECE0
- P:6332; T:4972 2019-01-23 14:17:16.340 reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (10 bytes):
- 00 CB A0 00 04 5C 02 DF 1F 00 .....\....
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:17:16.433 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (147 bytes):
- DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 .....mscp.......
- 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 ................
- 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 ..........cardid
- 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 ..... ..........
- 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 ......cardapps..
- 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 .!..............
- 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 ..cardcf....."..
- 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D .....mscp.....cm
- 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 apfile...#......
- 00 90 00 ...
- P:6332; T:4972 2019-01-23 14:17:16.433 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] card-gids.c:311:gids_read_gidsfile_without_cache: called
- Identifiers of cardid is fileIdentifier=a012, dataObjectIdentifier=df20
- P:6332; T:4972 2019-01-23 14:17:16.449 [pkcs15-init] card-gids.c:216:gids_get_DO: called
- Got args: fileIdentifier=a012, dataObjectIdentifier=df20, response=0000007C6FD4ECE0, responselen=65538
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- P:6332; T:4972 2019-01-23 14:17:16.465 CLA:0, INS:CB, P1:A0, P2:12, data(4) 0000007C6FD3ECB0
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (10 bytes):
- 00 CB A0 12 04 5C 02 DF 20 00 .....\.. .
- [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:17:16.527 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (21 bytes):
- DF 20 10 4D 55 E8 C6 5A C5 F4 49 4A F9 29 6E 96 . .MU..Z..IJ.)n.
- EB 83 89 90 00 .....
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] card-gids.c:394:gids_read_gidsfile: returning with: 0 (Success)
- [pkcs15-init] card-gids.c:624:gids_get_serialnr: returning with: 0 (Success)
- [pkcs15-init] card.c:961:sc_card_ctl: returning with: 0 (Success)
- [pkcs15-init] pkcs15-lib.c:3143:sc_pkcs15init_add_object: called
- add object 00000250F5C1B2D0 to DF of type 8
- Append object
- [pkcs15-init] pkcs15-gids.c:109:gids_emu_update_any_df: called
- [pkcs15-init] pkcs15-gids.c:112:gids_emu_update_any_df: returning with: 0 (Success)
- P:6332; T:4972 2019-01-23 14:17:16.543 [pkcs15-init] pkcs15-lib.c:3187:sc_pkcs15init_add_object: returning with: 0 (Success)
- [pkcs15-init] pkcs15-lib.c:2943:sc_pkcs15init_update_dir: called
- [pkcs15-init] dir.c:163:sc_enum_apps: called
- called; type=2, path=3f002f00
- [pkcs15-init] card-gids.c:920:gids_select_file: called
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:8, P2:0, data(2) 0000007C6FD5E7F2
- reader 'Broadcom Corp Contacted SmartCard 0'
- P:6332; T:4972 2019-01-23 14:17:16.558 [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (8 bytes):
- 00 A4 08 00 02 2F 00 00 ...../..
- P:6332; T:4972 2019-01-23 14:17:16.558 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:17:16.574 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 86 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- [pkcs15-init] card.c:465:sc_unlock: called
- Incorrect parameters P1-P2
- P:6332; T:4972 2019-01-23 14:17:16.590 [pkcs15-init] iso7816.c:578:iso7816_select_file: returning with: -1205 (Incorrect parameters in APDU)
- [pkcs15-init] card.c:776:sc_select_file: 'SELECT' error: -1205 (Incorrect parameters in APDU)
- [pkcs15-init] dir.c:171:sc_enum_apps: Cannot select EF.DIR file: -1205 (Incorrect parameters in APDU)
- [pkcs15-init] pkcs15-lib.c:2971:sc_pkcs15init_update_dir: returning with: -1205 (Incorrect parameters in APDU)
- [pkcs15-init] pkcs15-lib.c:3922:sc_pkcs15init_update_file: called
- path:3f0050154946; datalen:128
- called; type=2, path=3f0050154946
- [pkcs15-init] card-gids.c:920:gids_select_file: called
- [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
- [pkcs15-init] card.c:415:sc_lock: called
- [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
- [pkcs15-init] apdu.c:521:sc_transmit: called
- [pkcs15-init] apdu.c:371:sc_single_transmit: called
- CLA:0, INS:A4, P1:8, P2:0, data(4) 0000007C6FD5E932
- reader 'Broadcom Corp Contacted SmartCard 0'
- [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
- Outgoing APDU (10 bytes):
- 00 A4 08 00 04 50 15 49 46 00 .....P.IF.
- P:6332; T:4972 2019-01-23 14:17:16.605 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
- P:6332; T:4972 2019-01-23 14:17:16.621 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
- Incoming APDU (2 bytes):
- 6A 86 j.
- [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
- [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
- P:6332; T:4972 2019-01-23 14:17:16.637 [pkcs15-init] card.c:465:sc_unlock: called
- Incorrect parameters P1-P2
- [pkcs15-init] iso7816.c:578:iso7816_select_file: returning with: -1205 (Incorrect parameters in APDU)
- [pkcs15-init] card.c:776:sc_select_file: 'SELECT' error: -1205 (Incorrect parameters in APDU)
- [pkcs15-init] pkcs15-lib.c:3944:sc_pkcs15init_update_file: Failed to select file: -1205 (Incorrect parameters in APDU)
- [pkcs15-init] pkcs15-lib.c:920:sc_pkcs15init_add_app: returning with: -1205 (Incorrect parameters in APDU)
- [pkcs15-init] card.c:465:sc_unlock: called
- [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
- Failed to create PKCS #15 meta structure: Incorrect parameters in APDU
- [pkcs15-init] pkcs15-lib.c:430:sc_pkcs15init_unbind: called
- Pksc15init Unbind: 0:0000000000000000:1
- [pkcs15-init] card.c:356:sc_disconnect_card: called
- [pkcs15-init] card-gids.c:656:gids_finish: called
- Broadcom Corp Contacted SmartCard 0:SCardDisconnect returned: 0x00000000
- [pkcs15-init] card.c:378:sc_disconnect_card: returning with: 0 (Success)
- P:6332; T:4972 2019-01-23 14:17:16.652 [pkcs15-init] ctx.c:906:sc_release_context: called
- P:6332; T:4972 2019-01-23 14:17:16.652 [pkcs15-init] reader-pcsc.c:900:pcsc_finish: called
Re: Bitlocker to Go
Posted: Fri Feb 22, 2019 2:15 pm
by arnet
***UPDATE***
I was able to get GIDS Applet properly initialized by using the following command:
gids-tool.exe -X --admin-key 000000000000000000000000000000000000000000000000 --pin 123456 --serial-number 00000000000000000000000000000000
That's 48 0's for the admin key and 32 0's for the serial-number...
Anyway, I created a Bitlocker self signed cert creating a document named bitlocker.txt with the following contents:
[NewRequest]
Subject = "CN=Bitlocker"
KeyLength = 2048
Exportable = TRUE
KeySpec = "AT_KEYEXCHANGE"
KeyUsage = "CERT_KEY_ENCIPHERMENT_KEY_USAGE"
KeyUsageProperty = "NCRYPT_ALLOW_DECRYPT_FLAG"
RequestType = Cert
SMIME = FALSE
[EnhancedKeyUsageExtension]
OID=1.3.6.1.4.1.311.67.1.1
Once that's saved, open a command prompt with administrative privileges and type: certreq -new <pathname>bitlocker.txt which will output a file named bitlocker (or whatever you name yours).req.
Open the certificate store for the current user (type user certificate in the search bar and it should come up) and go to the personal->certificates folder. Your bitlocker certificate should now be in the certificates folder. Right click on it->All Tasks->Export. Select next once the export wizard launches. Select "Yes, export the private key" and click next again. Ensure the PKCS #12 .PFX option is selected and click next again. Set a password and select next again. I named the exported key bitlocker for ease, but name it whatever you want. Click Next and then finish.
Next I went back to Open SC and typed:
pkcs15-init --auth-id 80 --pin 123456 --verify-pin -f PKCS12 --passphrase <whatever password you put on the .pfx file> -S <path to, and whatever you named your exported key file>.pfx
Using pkcs15-tool -D I can now see the certificate is there.
When I run certutil -scInfo I get a pop-up that states "The smart card is not fully personalized for use" and that is where I am at now. I will provide more information once I get it figured out...or give up on these cards and try another solution!
**edited to correct the pkcs15-init command**
I was able to get GIDS Applet properly initialized by using the following command:
gids-tool.exe -X --admin-key 000000000000000000000000000000000000000000000000 --pin 123456 --serial-number 00000000000000000000000000000000
That's 48 0's for the admin key and 32 0's for the serial-number...
Anyway, I created a Bitlocker self signed cert creating a document named bitlocker.txt with the following contents:
[NewRequest]
Subject = "CN=Bitlocker"
KeyLength = 2048
Exportable = TRUE
KeySpec = "AT_KEYEXCHANGE"
KeyUsage = "CERT_KEY_ENCIPHERMENT_KEY_USAGE"
KeyUsageProperty = "NCRYPT_ALLOW_DECRYPT_FLAG"
RequestType = Cert
SMIME = FALSE
[EnhancedKeyUsageExtension]
OID=1.3.6.1.4.1.311.67.1.1
Once that's saved, open a command prompt with administrative privileges and type: certreq -new <pathname>bitlocker.txt which will output a file named bitlocker (or whatever you name yours).req.
Open the certificate store for the current user (type user certificate in the search bar and it should come up) and go to the personal->certificates folder. Your bitlocker certificate should now be in the certificates folder. Right click on it->All Tasks->Export. Select next once the export wizard launches. Select "Yes, export the private key" and click next again. Ensure the PKCS #12 .PFX option is selected and click next again. Set a password and select next again. I named the exported key bitlocker for ease, but name it whatever you want. Click Next and then finish.
Next I went back to Open SC and typed:
pkcs15-init --auth-id 80 --pin 123456 --verify-pin -f PKCS12 --passphrase <whatever password you put on the .pfx file> -S <path to, and whatever you named your exported key file>.pfx
Using pkcs15-tool -D I can now see the certificate is there.
When I run certutil -scInfo I get a pop-up that states "The smart card is not fully personalized for use" and that is where I am at now. I will provide more information once I get it figured out...or give up on these cards and try another solution!
**edited to correct the pkcs15-init command**
Re: Bitlocker to Go
Posted: Mon Feb 25, 2019 11:13 am
by arnet
Ran certutil -scinfo at home and everything ran fine.
Every computer at work has activclient loaded on it which uses their smart card drivers. I edited the registry key for my specific smart card to point to Microsoft's generic smart card driver (C:\Windows\System32\msclmd.dll) and everything works. I hope this saves someone some time in the future.
Every computer at work has activclient loaded on it which uses their smart card drivers. I edited the registry key for my specific smart card to point to Microsoft's generic smart card driver (C:\Windows\System32\msclmd.dll) and everything works. I hope this saves someone some time in the future.
Re: Bitlocker to Go
Posted: Sun Jul 07, 2019 5:29 am
by kazeematics
In my case i was able to successfully load the GIDS applet onto a java smartcard but when i issued the command below for initialization, i keep getting this error "sc_card_ctl(*, SC_CARDCTL_GIDS_INITIALIZE, *) failed with Not supported"
gids-tool.exe -X --admin-key 000000000000000000000000000000000000000000000000 --pin 123456 --serial-number 00000000000000000000000000000000
Please can anybody help?
gids-tool.exe -X --admin-key 000000000000000000000000000000000000000000000000 --pin 123456 --serial-number 00000000000000000000000000000000
Please can anybody help?
Re: Bitlocker to Go
Posted: Tue Aug 11, 2020 5:57 am
by sebus
Blank white card:
J2A040
NXP JCOP v2.4.x
T=1, ATR: 3B F8 13 00 00 81 31 FE 45 4A 43 4F 50 76 32 34 31 B7
Any idea what can be done with it?
It is initialized, it is not fused, I have the commands from supplier (but did not want to seal it yet)
J2A040
NXP JCOP v2.4.x
T=1, ATR: 3B F8 13 00 00 81 31 FE 45 4A 43 4F 50 76 32 34 31 B7
Code: Select all
C:\Program Files\OpenSC Project\GPShell>certutil -scinfo
The Microsoft Smart Card Resource Manager is running.
Current reader/card status:
Readers: 1
0: Broadcom Corp Contacted SmartCard 0
--- Reader: Broadcom Corp Contacted SmartCard 0
--- Status: SCARD_STATE_PRESENT | SCARD_STATE_UNPOWERED
--- Status: The card is available for use.
--- Card:
--- ATR:
3b f8 13 00 00 81 31 fe 45 4a 43 4f 50 76 32 34 ;.....1.EJCOPv24
31 b7 1.
=======================================================
Analyzing card in reader: Broadcom Corp Contacted SmartCard 0
SCardGetCardTypeProviderName: The system cannot find the file specified. 0x2 (WIN32: 2 ERROR_FILE_NOT_FOUND)
Cannot retrieve Provider Name for SCardGetCardTypeProviderName: The system cannot find the file specified. 0x2 (WIN32: 2 ERROR_FILE_NOT_FOUND)
Cannot retrieve Provider Name for
--------------===========================--------------
CertUtil: -SCInfo command FAILED: 0x2 (WIN32: 2 ERROR_FILE_NOT_FOUND)
CertUtil: The system cannot find the file specified.
Code: Select all
C:\Program Files\OpenSC Project\OpenSC\tools>opensc-tool.exe -a
Using reader with a card: Broadcom Corp Contacted SmartCard 0
3b:f8:13:00:00:81:31:fe:45:4a:43:4f:50:76:32:34:31:b7
C:\Program Files\OpenSC Project\OpenSC\tools>opensc-tool.exe --name
Using reader with a card: Broadcom Corp Contacted SmartCard 0
Unsupported card
It is initialized, it is not fused, I have the commands from supplier (but did not want to seal it yet)
Re: Bitlocker to Go
Posted: Wed Oct 20, 2021 2:38 am
by mimitech
I also have a similar issue. The cause is that Opensc loaded a wrong card driver "IsoApplet" instead of "gids". you can force load the gids driver by modifying opensc.conf. Everything others work no problem.
kazeematics wrote: ↑Sun Jul 07, 2019 5:29 amIn my case i was able to successfully load the GIDS applet onto a java smartcard but when i issued the command below for initialization, i keep getting this error "sc_card_ctl(*, SC_CARDCTL_GIDS_INITIALIZE, *) failed with Not supported"
gids-tool.exe -X --admin-key 000000000000000000000000000000000000000000000000 --pin 123456 --serial-number 00000000000000000000000000000000
Please can anybody help?