Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

Bitlocker to Go

Smartcard solutions

Moderator: product

arnet
Posts: 3
Joined: Thu Jan 24, 2019 8:18 am
Points :78
Contact:

Bitlocker to Go

Post by arnet » Thu Jan 24, 2019 9:55 am

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:
  1. >gids-tool.exe -X -v
  2.  
  3. Using reader with a card: Broadcom Corp Contacted SmartCard 0
  4.  
  5. Connecting to card in reader Broadcom Corp Contacted SmartCard 0...
  6.  
  7. Using card driver GIDS Smart Card.
  8.  
  9. Enter admin key (48 hexadecimal characters) :
  10.  
  11. Press Enter to set the admin key to 00...00
  12.  
  13.  
  14.  
  15. Enter initial User-PIN (4 - 16 characters) :
  16.  
  17. Enter serial number (32 hexadecimal characters):
  18.  
  19. Press Enter to set a random serial number
  20.  
  21.  
  22.  
  23. >gids-tool.exe --serial-number 01
  24.  
  25. Using reader with a card: Broadcom Corp Contacted SmartCard 0
  26.  
  27. ===============================
  28.  
  29. Dumping the content of the card
  30.  
  31. ===============================
  32.  
  33. Dumping Files:
  34.  
  35. Found 5 entries in the masterfile
  36.  
  37.    Directory: mscp
  38.  
  39.       FileIdentifier: 0xa000
  40.  
  41.  
  42.  
  43.    File: \cardid
  44.  
  45.       FileIdentifier: 0xa012
  46.  
  47.       DataObjectIdentifier: 0xdf20
  48.  
  49.       Size: 16
  50.  
  51.  
  52.  
  53.    File: \cardapps
  54.  
  55.       FileIdentifier: 0xa010
  56.  
  57.       DataObjectIdentifier: 0xdf21
  58.  
  59.       Size: 8
  60.  
  61.  
  62.  
  63.    File: \cardcf
  64.  
  65.       FileIdentifier: 0xa010
  66.  
  67.       DataObjectIdentifier: 0xdf22
  68.  
  69.       Size: 6
  70.  
  71.  
  72.  
  73.    File: mscp\cmapfile
  74.  
  75.       FileIdentifier: 0xa010
  76.  
  77.       DataObjectIdentifier: 0xdf23
  78.  
  79.       Size: 0
  80.  
  81.  
  82.  
  83. Dumping containers:
  84.  
  85.    no container found
  86.  
  87.  
  88.  
  89. >pkcs15-init --create-pkcs15 -v
  90.  
  91. Using reader with a card: Broadcom Corp Contacted SmartCard 0
  92.  
  93. Connecting to card in reader Broadcom Corp Contacted SmartCard 0...
  94.  
  95. Using card driver GIDS Smart Card.
  96.  
  97. About to create PKCS #15 meta structure.
  98.  
  99. New Security Officer PIN (Optional - press return for no PIN).
  100.  
  101. Please enter Security Officer PIN: Please type again to verify: Unblock Code for New User PIN (Optional - press return for no PIN).
  102.  
  103. Please enter User unblocking PIN (PUK): Please type again to verify: Failed to create PKCS #15 meta structure: Incorrect parameters in APDU
  104.  
  105.  
  106.  
  107. >pkcs15-init --create-pkcs15 -vvvvvvvvv
  108.  
  109. P:6332; T:4972 2019-01-23 14:16:51.527 [pkcs15-init] sc.c:275:sc_detect_card_presence: called
  110.  
  111. [pkcs15-init] reader-pcsc.c:412:pcsc_detect_card_presence: called
  112.  
  113. Broadcom Corp Contacted SmartCard 0 check
  114.  
  115. [pkcs15-init] reader-pcsc.c:340:refresh_attributes: returning with: 0 (Success)
  116.  
  117. [pkcs15-init] reader-pcsc.c:417:pcsc_detect_card_presence: returning with: 5
  118.  
  119. P:6332; T:4972 2019-01-23 14:16:51.543 [pkcs15-init] sc.c:280:sc_detect_card_presence: returning with: 5
  120.  
  121. Using reader with a card: Broadcom Corp Contacted SmartCard 0
  122.  
  123. [pkcs15-init] sc.c:275:sc_detect_card_presence: called
  124.  
  125. [pkcs15-init] reader-pcsc.c:412:pcsc_detect_card_presence: called
  126.  
  127. Broadcom Corp Contacted SmartCard 0 check
  128.  
  129. [pkcs15-init] reader-pcsc.c:340:refresh_attributes: returning with: 0 (Success)
  130.  
  131. [pkcs15-init] reader-pcsc.c:417:pcsc_detect_card_presence: returning with: 5
  132.  
  133. [pkcs15-init] sc.c:280:sc_detect_card_presence: returning with: 5
  134.  
  135. Connecting to card in reader Broadcom Corp Contacted SmartCard 0...
  136.  
  137. [pkcs15-init] card.c:196:sc_connect_card: called
  138.  
  139. [pkcs15-init] reader-pcsc.c:534:pcsc_connect: called
  140.  
  141. Broadcom Corp Contacted SmartCard 0 check
  142.  
  143. [pkcs15-init] reader-pcsc.c:340:refresh_attributes: returning with: 0 (Success)
  144.  
  145. Initial protocol: T=1
  146.  
  147. matching configured ATRs
  148.  
  149. P:6332; T:4972 2019-01-23 14:16:51.558 matching built-in ATRs
  150.  
  151. trying driver 'cardos'
  152.  
  153. P:6332; T:4972 2019-01-23 14:16:51.590 trying driver 'flex'
  154.  
  155. P:6332; T:4972 2019-01-23 14:16:51.652 trying driver 'cyberflex'
  156.  
  157. P:6332; T:4972 2019-01-23 14:16:51.730 trying driver 'gpk'
  158.  
  159. P:6332; T:4972 2019-01-23 14:16:51.762 trying driver 'gemsafeV1'
  160.  
  161. P:6332; T:4972 2019-01-23 14:16:51.793 trying driver 'asepcos'
  162.  
  163. P:6332; T:4972 2019-01-23 14:16:51.793 trying driver 'starcos'
  164.  
  165. P:6332; T:4972 2019-01-23 14:16:51.824 trying driver 'tcos'
  166.  
  167. P:6332; T:4972 2019-01-23 14:16:51.855 trying driver 'oberthur'
  168.  
  169. ATR     : 3b:f8:13:00:00:81:31:fe:45:4a:43:4f:50:76:32:34:31:b7
  170.  
  171. ATR try : 3B:7D:18:00:00:00:31:80:71:8E:64:77:E3:01:00:82:90:00
  172.  
  173. ATR try : 3B:7D:18:00:00:00:31:80:71:8E:64:77:E3:02:00:82:90:00
  174.  
  175. ATR try : 3B:7D:11:00:00:00:31:80:71:8E:64:77:E3:01:00:82:90:00
  176.  
  177. 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
  178.  
  179. P:6332; T:4972 2019-01-23 14:16:51.871 trying driver 'authentic'
  180.  
  181. P:6332; T:4972 2019-01-23 14:16:51.871 [pkcs15-init] card-authentic.c:416:authentic_match_card:
  182.  
  183. try to match card with ATR (18 bytes):
  184.  
  185. 3B F8 13 00 00 81 31 FE 45 4A 43 4F 50 76 32 34 ;.....1.EJCOPv24
  186.  
  187. 31 B7                                           1.
  188.  
  189. P:6332; T:4972 2019-01-23 14:16:51.918 trying driver 'iasecc'
  190.  
  191. P:6332; T:4972 2019-01-23 14:16:51.949 trying driver 'belpic'
  192.  
  193. P:6332; T:4972 2019-01-23 14:16:51.965 trying driver 'incrypto34'
  194.  
  195. P:6332; T:4972 2019-01-23 14:16:51.965 trying driver 'acos5'
  196.  
  197. P:6332; T:4972 2019-01-23 14:16:51.980 trying driver 'akis'
  198.  
  199. trying driver 'entersafe'
  200.  
  201. [pkcs15-init] card-entersafe.c:138:entersafe_match_card: called
  202.  
  203. P:6332; T:4972 2019-01-23 14:16:52.012 trying driver 'epass2003'
  204.  
  205. P:6332; T:4972 2019-01-23 14:16:52.012 [pkcs15-init] card-epass2003.c:1143:epass2003_match_card: called
  206.  
  207. P:6332; T:4972 2019-01-23 14:16:52.027 trying driver 'rutoken'
  208.  
  209. P:6332; T:4972 2019-01-23 14:16:52.027 [pkcs15-init] card-rutoken.c:103:rutoken_match_card: called
  210.  
  211. P:6332; T:4972 2019-01-23 14:16:52.043 [pkcs15-init] card-rutoken.c:109:rutoken_match_card: returning with: 0 (Success)
  212.  
  213. trying driver 'rutoken_ecp'
  214.  
  215. [pkcs15-init] card-rtecp.c:62:rtecp_match_card: returning with: 0 (Success)
  216.  
  217. trying driver 'myeid'
  218.  
  219. trying driver 'dnie'
  220.  
  221. [pkcs15-init] card-dnie.c:739:dnie_match_card: called
  222.  
  223. P:6332; T:4972 2019-01-23 14:16:52.058 [pkcs15-init] card-dnie.c:742:dnie_match_card: returning with: 0 (Success)
  224.  
  225. P:6332; T:4972 2019-01-23 14:16:52.058 trying driver 'MaskTech'
  226.  
  227. P:6332; T:4972 2019-01-23 14:16:52.074 trying driver 'atrust-acos'
  228.  
  229. P:6332; T:4972 2019-01-23 14:16:52.074 trying driver 'westcos'
  230.  
  231. P:6332; T:4972 2019-01-23 14:16:52.090 trying driver 'muscle'
  232.  
  233. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  234.  
  235. [pkcs15-init] card.c:415:sc_lock: called
  236.  
  237. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  238.  
  239. [pkcs15-init] card-muscle.c:825:muscle_card_reader_lock_obtained: called
  240.  
  241. [pkcs15-init] card-muscle.c:833:muscle_card_reader_lock_obtained: returning with: 0 (Success)
  242.  
  243. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  244.  
  245. [pkcs15-init] apdu.c:521:sc_transmit: called
  246.  
  247. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  248.  
  249. CLA:0, INS:A4, P1:4, P2:0, data(6) 00007FFC315907D0
  250.  
  251. reader 'Broadcom Corp Contacted SmartCard 0'
  252.  
  253. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  254.  
  255. Outgoing APDU (11 bytes):
  256.  
  257. 00 A4 04 00 06 A0 00 00 00 01 01 ...........
  258.  
  259. P:6332; T:4972 2019-01-23 14:16:52.090 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  260.  
  261. P:6332; T:4972 2019-01-23 14:16:52.137 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  262.  
  263. Incoming APDU (2 bytes):
  264.  
  265. 6A 82 j.
  266.  
  267. P:6332; T:4972 2019-01-23 14:16:52.137 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  268.  
  269. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  270.  
  271. [pkcs15-init] card.c:465:sc_unlock: called
  272.  
  273. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  274.  
  275. 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)
  276.  
  277. P:6332; T:4972 2019-01-23 14:16:52.152 trying driver 'sc-hsm'
  278.  
  279. P:6332; T:4972 2019-01-23 14:16:52.183 [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  280.  
  281. P:6332; T:4972 2019-01-23 14:16:52.199 [pkcs15-init] card.c:415:sc_lock: called
  282.  
  283. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  284.  
  285. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  286.  
  287. [pkcs15-init] apdu.c:521:sc_transmit: called
  288.  
  289. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  290.  
  291. CLA:0, INS:A4, P1:4, P2:0, data(11) 0000007C6FD5ECD0
  292.  
  293. reader 'Broadcom Corp Contacted SmartCard 0'
  294.  
  295. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  296.  
  297. Outgoing APDU (17 bytes):
  298.  
  299. 00 A4 04 00 0B E8 2B 06 01 04 01 81 C3 1F 02 01 ......+.........
  300.  
  301. 00                                              .
  302.  
  303. P:6332; T:4972 2019-01-23 14:16:52.199 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  304.  
  305. P:6332; T:4972 2019-01-23 14:16:52.246 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  306.  
  307. Incoming APDU (2 bytes):
  308.  
  309. 6A 82 j.
  310.  
  311. P:6332; T:4972 2019-01-23 14:16:52.246 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  312.  
  313. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  314.  
  315. [pkcs15-init] card.c:465:sc_unlock: called
  316.  
  317. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  318.  
  319. File or application not found
  320.  
  321. [pkcs15-init] iso7816.c:578:iso7816_select_file: returning with: -1201 (File not found)
  322.  
  323. [pkcs15-init] card-sc-hsm.c:179:sc_hsm_select_file_ex: Could not select SmartCard-HSM application: -1201 (File not found)
  324.  
  325. [pkcs15-init] card-sc-hsm.c:257:sc_hsm_match_card: Could not select SmartCard-HSM application: -1201 (File not found)
  326.  
  327. trying driver 'mcrd'
  328.  
  329. P:6332; T:4972 2019-01-23 14:16:52.293 [pkcs15-init] card-mcrd.c:310:mcrd_match_card: called
  330.  
  331. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  332.  
  333. [pkcs15-init] card.c:415:sc_lock: called
  334.  
  335. P:6332; T:4972 2019-01-23 14:16:52.308 [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  336.  
  337. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  338.  
  339. [pkcs15-init] apdu.c:521:sc_transmit: called
  340.  
  341. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  342.  
  343. CLA:0, INS:A4, P1:4, P2:C, data(15) 00007FFC314EC2F8
  344.  
  345. reader 'Broadcom Corp Contacted SmartCard 0'
  346.  
  347. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  348.  
  349. Outgoing APDU (20 bytes):
  350.  
  351. 00 A4 04 0C 0F D2 33 00 00 00 45 73 74 45 49 44 ......3...EstEID
  352.  
  353. 20 76 33 35                                      v35
  354.  
  355. P:6332; T:4972 2019-01-23 14:16:52.308 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  356.  
  357. P:6332; T:4972 2019-01-23 14:16:52.340 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  358.  
  359. Incoming APDU (2 bytes):
  360.  
  361. 6A 82 j.
  362.  
  363. P:6332; T:4972 2019-01-23 14:16:52.340 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  364.  
  365. P:6332; T:4972 2019-01-23 14:16:52.355 [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  366.  
  367. [pkcs15-init] card.c:465:sc_unlock: called
  368.  
  369. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  370.  
  371. File or application not found
  372.  
  373. trying driver 'setcos'
  374.  
  375. P:6332; T:4972 2019-01-23 14:16:52.387 [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  376.  
  377. [pkcs15-init] card.c:415:sc_lock: called
  378.  
  379. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  380.  
  381. P:6332; T:4972 2019-01-23 14:16:52.402 [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  382.  
  383. [pkcs15-init] apdu.c:521:sc_transmit: called
  384.  
  385. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  386.  
  387. CLA:0, INS:CA, P1:DF, P2:30, data(0) 0000000000000000
  388.  
  389. reader 'Broadcom Corp Contacted SmartCard 0'
  390.  
  391. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  392.  
  393. Outgoing APDU (5 bytes):
  394.  
  395. 00 CA DF 30 05 ...0.
  396.  
  397. P:6332; T:4972 2019-01-23 14:16:52.402 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  398.  
  399. P:6332; T:4972 2019-01-23 14:16:52.418 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  400.  
  401. Incoming APDU (2 bytes):
  402.  
  403. 6D 00 m.
  404.  
  405. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  406.  
  407. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  408.  
  409. [pkcs15-init] card.c:465:sc_unlock: called
  410.  
  411. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  412.  
  413. P:6332; T:4972 2019-01-23 14:16:52.433 trying driver 'PIV-II'
  414.  
  415. [pkcs15-init] card.c:415:sc_lock: called
  416.  
  417. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  418.  
  419. [pkcs15-init] card-piv.c:3563:piv_card_reader_lock_obtained: called
  420.  
  421. PIV_STATE_MATCH
  422.  
  423. [pkcs15-init] card-piv.c:3602:piv_card_reader_lock_obtained: returning with: 0 (Success)
  424.  
  425. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  426.  
  427. [pkcs15-init] card-piv.c:2665:piv_find_discovery: called
  428.  
  429. [pkcs15-init] card-piv.c:995:piv_get_cached_data: called
  430.  
  431. #10
  432.  
  433. get #10
  434.  
  435. [pkcs15-init] card-piv.c:922:piv_get_data: called
  436.  
  437. P:6332; T:4972 2019-01-23 14:16:52.449 #10
  438.  
  439. [pkcs15-init] card.c:415:sc_lock: called
  440.  
  441. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  442.  
  443. get len of #10
  444.  
  445. [pkcs15-init] card-piv.c:494:piv_general_io: called
  446.  
  447. cb 3f ff 3 : 0 0
  448.  
  449. [pkcs15-init] card.c:415:sc_lock: called
  450.  
  451. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  452.  
  453. calling sc_transmit_apdu flags=3 le=8, resplen=8, resp=0000007C6FD5ED08
  454.  
  455. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  456.  
  457. [pkcs15-init] card.c:415:sc_lock: called
  458.  
  459. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  460.  
  461. [pkcs15-init] apdu.c:521:sc_transmit: called
  462.  
  463. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  464.  
  465. P:6332; T:4972 2019-01-23 14:16:52.465 CLA:0, INS:CB, P1:3F, P2:FF, data(3) 0000007C6FD5ED00
  466.  
  467. reader 'Broadcom Corp Contacted SmartCard 0'
  468.  
  469. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  470.  
  471. Outgoing APDU (9 bytes):
  472.  
  473. 00 CB 3F FF 03 5C 01 7E 08 ..?..\.~.
  474.  
  475. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  476.  
  477. P:6332; T:4972 2019-01-23 14:16:52.480 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  478.  
  479. Incoming APDU (2 bytes):
  480.  
  481. 69 84 i.
  482.  
  483. P:6332; T:4972 2019-01-23 14:16:52.496 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  484.  
  485. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  486.  
  487. [pkcs15-init] card.c:465:sc_unlock: called
  488.  
  489. DEE r=0 apdu.resplen=0 sw1=69 sw2=84
  490.  
  491. Referenced data not usable
  492.  
  493. Card returned error
  494.  
  495. [pkcs15-init] card.c:465:sc_unlock: called
  496.  
  497. [pkcs15-init] card-piv.c:605:piv_general_io: returning with: -1220 (Reference data not usable)
  498.  
  499. [pkcs15-init] card.c:465:sc_unlock: called
  500.  
  501. [pkcs15-init] card-piv.c:982:piv_get_data: returning with: -1220 (Reference data not usable)
  502.  
  503. [pkcs15-init] card-piv.c:1064:piv_get_cached_data: returning with: -1220 (Reference data not usable)
  504.  
  505. [pkcs15-init] card-piv.c:2653:piv_process_discovery: returning with: -1220 (Reference data not usable)
  506.  
  507. [pkcs15-init] card-piv.c:2684:piv_find_discovery: returning with: -1220 (Reference data not usable)
  508.  
  509. [pkcs15-init] card-piv.c:770:piv_find_aid: called
  510.  
  511. [pkcs15-init] card-piv.c:733:piv_select_aid: called
  512.  
  513. Got args: aid=00007FFC314F46E0, aidlen=9, response=0000007C6FD5EE50, responselen=261
  514.  
  515. P:6332; T:4972 2019-01-23 14:16:52.512 [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  516.  
  517. [pkcs15-init] card.c:415:sc_lock: called
  518.  
  519. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  520.  
  521. [pkcs15-init] apdu.c:521:sc_transmit: called
  522.  
  523. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  524.  
  525. CLA:0, INS:A4, P1:4, P2:0, data(9) 00007FFC314F46E0
  526.  
  527. reader 'Broadcom Corp Contacted SmartCard 0'
  528.  
  529. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  530.  
  531. Outgoing APDU (15 bytes):
  532.  
  533. 00 A4 04 00 09 A0 00 00 03 08 00 00 10 00 00 ...............
  534.  
  535. P:6332; T:4972 2019-01-23 14:16:52.512 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  536.  
  537. P:6332; T:4972 2019-01-23 14:16:52.558 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  538.  
  539. Incoming APDU (2 bytes):
  540.  
  541. 6A 82 j.
  542.  
  543. P:6332; T:4972 2019-01-23 14:16:52.558 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  544.  
  545. P:6332; T:4972 2019-01-23 14:16:52.574 [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  546.  
  547. [pkcs15-init] card.c:465:sc_unlock: called
  548.  
  549. File or application not found
  550.  
  551. [pkcs15-init] card-piv.c:752:piv_select_aid: returning with: -1201 (File not found)
  552.  
  553. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  554.  
  555. [pkcs15-init] card.c:415:sc_lock: called
  556.  
  557. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  558.  
  559. [pkcs15-init] apdu.c:521:sc_transmit: called
  560.  
  561. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  562.  
  563. CLA:0, INS:A4, P1:4, P2:0, data(9) 00007FFC314F46E0
  564.  
  565. reader 'Broadcom Corp Contacted SmartCard 0'
  566.  
  567.  [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  568.  
  569. Outgoing APDU (15 bytes):
  570.  
  571. 00 A4 04 00 09 A0 00 00 03 08 00 00 10 00 00 ...............
  572.  
  573. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  574.  
  575. P:6332; T:4972 2019-01-23 14:16:52.621 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  576.  
  577. Incoming APDU (2 bytes):
  578.  
  579. 6A 82 j.
  580.  
  581. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  582.  
  583. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  584.  
  585. [pkcs15-init] card.c:465:sc_unlock: called
  586.  
  587. File or application not found
  588.  
  589. [pkcs15-init] card-piv.c:828:piv_find_aid: returning with: -1201 (File not found)
  590.  
  591. [pkcs15-init] card.c:465:sc_unlock: called
  592.  
  593. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  594.  
  595. [pkcs15-init] card-piv.c:2922:piv_finish: called
  596.  
  597. DEE freeing #0, 0x00 0000000000000000:0 0000000000000000:0
  598.  
  599. DEE freeing #1, 0x00 0000000000000000:0 0000000000000000:0
  600.  
  601. P:6332; T:4972 2019-01-23 14:16:52.637 DEE freeing #2, 0x00 0000000000000000:0 0000000000000000:0
  602.  
  603. DEE freeing #3, 0x00 0000000000000000:0 0000000000000000:0
  604.  
  605. DEE freeing #4, 0x00 0000000000000000:0 0000000000000000:0
  606.  
  607. DEE freeing #5, 0x00 0000000000000000:0 0000000000000000:0
  608.  
  609. DEE freeing #6, 0x00 0000000000000000:0 0000000000000000:0
  610.  
  611. DEE freeing #7, 0x00 0000000000000000:0 0000000000000000:0
  612.  
  613. DEE freeing #8, 0x00 0000000000000000:0 0000000000000000:0
  614.  
  615. DEE freeing #9, 0x00 0000000000000000:0 0000000000000000:0
  616.  
  617. DEE freeing #10, 0x00 0000000000000000:0 0000000000000000:0
  618.  
  619. DEE freeing #11, 0x00 0000000000000000:0 0000000000000000:0
  620.  
  621. freeing #12, 0x08 0000000000000000:0 0000000000000000:0
  622.  
  623. DEE freeing #13, 0x08 0000000000000000:0 0000000000000000:0
  624.  
  625. P:6332; T:4972 2019-01-23 14:16:52.652 DEE freeing #14, 0x08 0000000000000000:0 0000000000000000:0
  626.  
  627. DEE freeing #15, 0x08 0000000000000000:0 0000000000000000:0
  628.  
  629. DEE freeing #16, 0x08 0000000000000000:0 0000000000000000:0
  630.  
  631. DEE freeing #17, 0x08 0000000000000000:0 0000000000000000:0
  632.  
  633. DEE freeing #18, 0x08 0000000000000000:0 0000000000000000:0
  634.  
  635. DEE freeing #19, 0x08 0000000000000000:0 0000000000000000:0
  636.  
  637. DEE freeing #20, 0x08 0000000000000000:0 0000000000000000:0
  638.  
  639. DEE freeing #21, 0x08 0000000000000000:0 0000000000000000:0
  640.  
  641. DEE freeing #22, 0x08 0000000000000000:0 0000000000000000:0
  642.  
  643. DEE freeing #23, 0x08 0000000000000000:0 0000000000000000:0
  644.  
  645. P:6332; T:4972 2019-01-23 14:16:52.668 DEE freeing #24, 0x08 0000000000000000:0 0000000000000000:0
  646.  
  647. DEE freeing #25, 0x08 0000000000000000:0 0000000000000000:0
  648.  
  649. DEE freeing #26, 0x08 0000000000000000:0 0000000000000000:0
  650.  
  651. DEE freeing #27, 0x08 0000000000000000:0 0000000000000000:0
  652.  
  653. DEE freeing #28, 0x08 0000000000000000:0 0000000000000000:0
  654.  
  655. DEE freeing #29, 0x08 0000000000000000:0 0000000000000000:0
  656.  
  657. DEE freeing #30, 0x08 0000000000000000:0 0000000000000000:0
  658.  
  659. DEE freeing #31, 0x08 0000000000000000:0 0000000000000000:0
  660.  
  661. DEE freeing #32, 0x00 0000000000000000:0 0000000000000000:0
  662.  
  663. DEE freeing #33, 0x00 0000000000000000:0 0000000000000000:0
  664.  
  665. P:6332; T:4972 2019-01-23 14:16:52.683 DEE freeing #34, 0x00 0000000000000000:0 0000000000000000:0
  666.  
  667. DEE freeing #35, 0x00 0000000000000000:0 0000000000000000:0
  668.  
  669. DEE freeing #36, 0x00 0000000000000000:0 0000000000000000:0
  670.  
  671. DEE freeing #37, 0x00 0000000000000000:0 0000000000000000:0
  672.  
  673. DEE freeing #38, 0x00 0000000000000000:0 0000000000000000:0
  674.  
  675. DEE freeing #39, 0x00 0000000000000000:0 0000000000000000:0
  676.  
  677. DEE freeing #40, 0x00 0000000000000000:0 0000000000000000:0
  678.  
  679. DEE freeing #41, 0x00 0000000000000000:0 0000000000000000:0
  680.  
  681. DEE freeing #42, 0x00 0000000000000000:0 0000000000000000:0
  682.  
  683. DEE freeing #43, 0x00 0000000000000000:0 0000000000000000:0
  684.  
  685. DEE freeing #44, 0x00 0000000000000000:0 0000000000000000:0
  686.  
  687. DEE freeing #45, 0x00 0000000000000000:0 0000000000000000:0
  688.  
  689. P:6332; T:4972 2019-01-23 14:16:52.699 DEE freeing #46, 0x00 0000000000000000:0 0000000000000000:0
  690.  
  691. DEE freeing #47, 0x00 0000000000000000:0 0000000000000000:0
  692.  
  693. DEE freeing #48, 0x00 0000000000000000:0 0000000000000000:0
  694.  
  695. DEE freeing #49, 0x00 0000000000000000:0 0000000000000000:0
  696.  
  697. DEE freeing #50, 0x00 0000000000000000:0 0000000000000000:0
  698.  
  699. DEE freeing #51, 0x00 0000000000000000:0 0000000000000000:0
  700.  
  701. DEE freeing #52, 0x00 0000000000000000:0 0000000000000000:0
  702.  
  703. DEE freeing #53, 0x00 0000000000000000:0 0000000000000000:0
  704.  
  705. P:6332; T:4972 2019-01-23 14:16:52.715 DEE freeing #54, 0x00 0000000000000000:0 0000000000000000:0
  706.  
  707. DEE freeing #55, 0x00 0000000000000000:0 0000000000000000:0
  708.  
  709. DEE freeing #56, 0x00 0000000000000000:0 0000000000000000:0
  710.  
  711. trying driver 'cac'
  712.  
  713. [pkcs15-init] card-cac.c:1950:cac_match_card: called
  714.  
  715. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  716.  
  717. path->aid=a0 0 0 1 16 db 0  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  718.  
  719. file_out=0000000000000000 index=0 count=0
  720.  
  721. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  722.  
  723. [pkcs15-init] card.c:415:sc_lock: called
  724.  
  725. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  726.  
  727. P:6332; T:4972 2019-01-23 14:16:52.730 [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  728.  
  729. [pkcs15-init] apdu.c:521:sc_transmit: called
  730.  
  731. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  732.  
  733. CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5EE00
  734.  
  735. reader 'Broadcom Corp Contacted SmartCard 0'
  736.  
  737. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  738.  
  739. Outgoing APDU (13 bytes):
  740.  
  741. 00 A4 04 0C 07 A0 00 00 01 16 DB 00 00 .............
  742.  
  743. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  744.  
  745. P:6332; T:4972 2019-01-23 14:16:52.777 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  746.  
  747. Incoming APDU (2 bytes):
  748.  
  749. 6A 82 j.
  750.  
  751. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  752.  
  753. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  754.  
  755. [pkcs15-init] card.c:465:sc_unlock: called
  756.  
  757. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  758.  
  759. File or application not found
  760.  
  761. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  762.  
  763. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  764.  
  765. path->aid=a0 0 0 0 79 10 0  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  766.  
  767. file_out=0000000000000000 index=0 count=0
  768.  
  769. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  770.  
  771. [pkcs15-init] card.c:415:sc_lock: called
  772.  
  773. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  774.  
  775. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  776.  
  777. [pkcs15-init] apdu.c:521:sc_transmit: called
  778.  
  779. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  780.  
  781. P:6332; T:4972 2019-01-23 14:16:52.793 CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5EE00
  782.  
  783. reader 'Broadcom Corp Contacted SmartCard 0'
  784.  
  785. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  786.  
  787. Outgoing APDU (13 bytes):
  788.  
  789. 00 A4 04 0C 07 A0 00 00 00 79 10 00 00 .........y...
  790.  
  791. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  792.  
  793. P:6332; T:4972 2019-01-23 14:16:52.840 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  794.  
  795. Incoming APDU (2 bytes):
  796.  
  797. 6A 82 j.
  798.  
  799. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  800.  
  801. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  802.  
  803. [pkcs15-init] card.c:465:sc_unlock: called
  804.  
  805. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  806.  
  807. File or application not found
  808.  
  809. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  810.  
  811. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  812.  
  813. path->aid=a0 0 0 0 79 1 0  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  814.  
  815. file_out=0000000000000000 index=0 count=0
  816.  
  817. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  818.  
  819. [pkcs15-init] card.c:415:sc_lock: called
  820.  
  821. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  822.  
  823. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  824.  
  825. [pkcs15-init] apdu.c:521:sc_transmit: called
  826.  
  827. P:6332; T:4972 2019-01-23 14:16:52.855 [pkcs15-init] apdu.c:371:sc_single_transmit: called
  828.  
  829. CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
  830.  
  831. reader 'Broadcom Corp Contacted SmartCard 0'
  832.  
  833. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  834.  
  835. Outgoing APDU (13 bytes):
  836.  
  837. 00 A4 04 0C 07 A0 00 00 00 79 01 00 00 .........y...
  838.  
  839. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  840.  
  841. P:6332; T:4972 2019-01-23 14:16:52.887 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  842.  
  843. Incoming APDU (2 bytes):
  844.  
  845. 6A 82 j.
  846.  
  847. P:6332; T:4972 2019-01-23 14:16:52.902 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  848.  
  849. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  850.  
  851. [pkcs15-init] card.c:465:sc_unlock: called
  852.  
  853. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  854.  
  855. File or application not found
  856.  
  857. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  858.  
  859. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  860.  
  861. path->aid=a0 0 0 0 79 1 1  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  862.  
  863. file_out=0000000000000000 index=0 count=0
  864.  
  865. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  866.  
  867. [pkcs15-init] card.c:415:sc_lock: called
  868.  
  869. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  870.  
  871. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  872.  
  873. [pkcs15-init] apdu.c:521:sc_transmit: called
  874.  
  875. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  876.  
  877. P:6332; T:4972 2019-01-23 14:16:52.918 CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
  878.  
  879. reader 'Broadcom Corp Contacted SmartCard 0'
  880.  
  881. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  882.  
  883. Outgoing APDU (13 bytes):
  884.  
  885. 00 A4 04 0C 07 A0 00 00 00 79 01 01 00 .........y...
  886.  
  887. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  888.  
  889. P:6332; T:4972 2019-01-23 14:16:52.965 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  890.  
  891. Incoming APDU (2 bytes):
  892.  
  893. 6A 82 j.
  894.  
  895. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  896.  
  897. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  898.  
  899. [pkcs15-init] card.c:465:sc_unlock: called
  900.  
  901. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  902.  
  903. File or application not found
  904.  
  905. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  906.  
  907. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  908.  
  909. path->aid=a0 0 0 0 79 1 2  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  910.  
  911. file_out=0000000000000000 index=0 count=0
  912.  
  913. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  914.  
  915. [pkcs15-init] card.c:415:sc_lock: called
  916.  
  917. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  918.  
  919. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  920.  
  921. [pkcs15-init] apdu.c:521:sc_transmit: called
  922.  
  923. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  924.  
  925. P:6332; T:4972 2019-01-23 14:16:52.980 CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
  926.  
  927. reader 'Broadcom Corp Contacted SmartCard 0'
  928.  
  929. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  930.  
  931. Outgoing APDU (13 bytes):
  932.  
  933. 00 A4 04 0C 07 A0 00 00 00 79 01 02 00 .........y...
  934.  
  935. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  936.  
  937. P:6332; T:4972 2019-01-23 14:16:53.027 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  938.  
  939. Incoming APDU (2 bytes):
  940.  
  941. 6A 82 j.
  942.  
  943. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  944.  
  945. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  946.  
  947. [pkcs15-init] card.c:465:sc_unlock: called
  948.  
  949. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  950.  
  951. File or application not found
  952.  
  953. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  954.  
  955. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  956.  
  957. path->aid=a0 0 0 0 79 1 3  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  958.  
  959. file_out=0000000000000000 index=0 count=0
  960.  
  961. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  962.  
  963. [pkcs15-init] card.c:415:sc_lock: called
  964.  
  965. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  966.  
  967. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  968.  
  969. [pkcs15-init] apdu.c:521:sc_transmit: called
  970.  
  971. P:6332; T:4972 2019-01-23 14:16:53.043 [pkcs15-init] apdu.c:371:sc_single_transmit: called
  972.  
  973. CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
  974.  
  975. reader 'Broadcom Corp Contacted SmartCard 0'
  976.  
  977. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  978.  
  979. Outgoing APDU (13 bytes):
  980.  
  981. 00 A4 04 0C 07 A0 00 00 00 79 01 03 00 .........y...
  982.  
  983. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  984.  
  985. P:6332; T:4972 2019-01-23 14:16:53.090 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  986.  
  987. Incoming APDU (2 bytes):
  988.  
  989. 6A 82 j.
  990.  
  991. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  992.  
  993. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  994.  
  995. [pkcs15-init] card.c:465:sc_unlock: called
  996.  
  997. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  998.  
  999. File or application not found
  1000.  
  1001. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  1002.  
  1003. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  1004.  
  1005. path->aid=a0 0 0 0 79 1 4  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  1006.  
  1007. file_out=0000000000000000 index=0 count=0
  1008.  
  1009. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1010.  
  1011. [pkcs15-init] card.c:415:sc_lock: called
  1012.  
  1013. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  1014.  
  1015. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1016.  
  1017. [pkcs15-init] apdu.c:521:sc_transmit: called
  1018.  
  1019. P:6332; T:4972 2019-01-23 14:16:53.105 [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1020.  
  1021. CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
  1022.  
  1023. reader 'Broadcom Corp Contacted SmartCard 0'
  1024.  
  1025. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1026.  
  1027. Outgoing APDU (13 bytes):
  1028.  
  1029. 00 A4 04 0C 07 A0 00 00 00 79 01 04 00 .........y...
  1030.  
  1031. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1032.  
  1033. P:6332; T:4972 2019-01-23 14:16:53.137 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1034.  
  1035. Incoming APDU (2 bytes):
  1036.  
  1037. 6A 82 j.
  1038.  
  1039. P:6332; T:4972 2019-01-23 14:16:53.152 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1040.  
  1041. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1042.  
  1043. [pkcs15-init] card.c:465:sc_unlock: called
  1044.  
  1045. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  1046.  
  1047. File or application not found
  1048.  
  1049. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  1050.  
  1051. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  1052.  
  1053. path->aid=a0 0 0 0 79 1 5  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  1054.  
  1055. file_out=0000000000000000 index=0 count=0
  1056.  
  1057. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1058.  
  1059. [pkcs15-init] card.c:415:sc_lock: called
  1060.  
  1061. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  1062.  
  1063. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1064.  
  1065. [pkcs15-init] apdu.c:521:sc_transmit: called
  1066.  
  1067. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1068.  
  1069. P:6332; T:4972 2019-01-23 14:16:53.168 CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
  1070.  
  1071. reader 'Broadcom Corp Contacted SmartCard 0'
  1072.  
  1073. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1074.  
  1075. Outgoing APDU (13 bytes):
  1076.  
  1077. 00 A4 04 0C 07 A0 00 00 00 79 01 05 00 .........y...
  1078.  
  1079. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1080.  
  1081. P:6332; T:4972 2019-01-23 14:16:53.215 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1082.  
  1083. Incoming APDU (2 bytes):
  1084.  
  1085. 6A 82 j.
  1086.  
  1087. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1088.  
  1089. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1090.  
  1091. [pkcs15-init] card.c:465:sc_unlock: called
  1092.  
  1093. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  1094.  
  1095. File or application not found
  1096.  
  1097. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  1098.  
  1099. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  1100.  
  1101. path->aid=a0 0 0 0 79 1 6  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  1102.  
  1103. file_out=0000000000000000 index=0 count=0
  1104.  
  1105. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1106.  
  1107. pkcs15-init] card.c:415:sc_lock: called
  1108.  
  1109. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  1110.  
  1111. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1112.  
  1113. [pkcs15-init] apdu.c:521:sc_transmit: called
  1114.  
  1115. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1116.  
  1117. P:6332; T:4972 2019-01-23 14:16:53.230 CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
  1118.  
  1119. reader 'Broadcom Corp Contacted SmartCard 0'
  1120.  
  1121. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1122.  
  1123. Outgoing APDU (13 bytes):
  1124.  
  1125. 00 A4 04 0C 07 A0 00 00 00 79 01 06 00 .........y...
  1126.  
  1127. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1128.  
  1129. P:6332; T:4972 2019-01-23 14:16:53.262 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1130.  
  1131. Incoming APDU (2 bytes):
  1132.  
  1133. 6A 82 j.
  1134.  
  1135. P:6332; T:4972 2019-01-23 14:16:53.277 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1136.  
  1137. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1138.  
  1139. [pkcs15-init] card.c:465:sc_unlock: called
  1140.  
  1141. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  1142.  
  1143. File or application not found
  1144.  
  1145. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  1146.  
  1147. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  1148.  
  1149. path->aid=a0 0 0 0 79 1 7  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  1150.  
  1151. file_out=0000000000000000 index=0 count=0
  1152.  
  1153. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1154.  
  1155. [pkcs15-init] card.c:415:sc_lock: called
  1156.  
  1157. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  1158.  
  1159. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1160.  
  1161. [pkcs15-init] apdu.c:521:sc_transmit: called
  1162.  
  1163. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1164.  
  1165. CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
  1166.  
  1167. P:6332; T:4972 2019-01-23 14:16:53.293 reader 'Broadcom Corp Contacted SmartCard 0'
  1168.  
  1169. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1170.  
  1171. Outgoing APDU (13 bytes):
  1172.  
  1173. 00 A4 04 0C 07 A0 00 00 00 79 01 07 00 .........y...
  1174.  
  1175. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1176.  
  1177. P:6332; T:4972 2019-01-23 14:16:53.324 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1178.  
  1179. Incoming APDU (2 bytes):
  1180.  
  1181. 6A 82 j.
  1182.  
  1183. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1184.  
  1185. P:6332; T:4972 2019-01-23 14:16:53.340 [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1186.  
  1187. [pkcs15-init] card.c:465:sc_unlock: called
  1188.  
  1189. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  1190.  
  1191. File or application not found
  1192.  
  1193. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  1194.  
  1195. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  1196.  
  1197. path->aid=a0 0 0 0 79 1 8  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  1198.  
  1199. file_out=0000000000000000 index=0 count=0
  1200.  
  1201. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1202.  
  1203. [pkcs15-init] card.c:415:sc_lock: called
  1204.  
  1205. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  1206.  
  1207. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1208.  
  1209. [pkcs15-init] apdu.c:521:sc_transmit: called
  1210.  
  1211. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1212.  
  1213. CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
  1214.  
  1215. P:6332; T:4972 2019-01-23 14:16:53.355 reader 'Broadcom Corp Contacted SmartCard 0'
  1216.  
  1217. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1218.  
  1219. Outgoing APDU (13 bytes):
  1220.  
  1221. 00 A4 04 0C 07 A0 00 00 00 79 01 08 00 .........y...
  1222.  
  1223. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1224.  
  1225. P:6332; T:4972 2019-01-23 14:16:53.387 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1226.  
  1227. Incoming APDU (2 bytes):
  1228.  
  1229. 6A 82 j.
  1230.  
  1231. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1232.  
  1233. P:6332; T:4972 2019-01-23 14:16:53.402 [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1234.  
  1235. [pkcs15-init] card.c:465:sc_unlock: called
  1236.  
  1237. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  1238.  
  1239. File or application not found
  1240.  
  1241. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  1242.  
  1243. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  1244.  
  1245. path->aid=a0 0 0 0 79 1 9  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  1246.  
  1247. file_out=0000000000000000 index=0 count=0
  1248.  
  1249. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1250.  
  1251. [pkcs15-init] card.c:415:sc_lock: called
  1252.  
  1253. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  1254.  
  1255. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1256.  
  1257. [pkcs15-init] apdu.c:521:sc_transmit: called
  1258.  
  1259. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1260.  
  1261. P:6332; T:4972 2019-01-23 14:16:53.418 CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
  1262.  
  1263. reader 'Broadcom Corp Contacted SmartCard 0'
  1264.  
  1265. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1266.  
  1267. Outgoing APDU (13 bytes):
  1268.  
  1269. 00 A4 04 0C 07 A0 00 00 00 79 01 09 00 .........y...
  1270.  
  1271. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1272.  
  1273. P:6332; T:4972 2019-01-23 14:16:53.449 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1274.  
  1275. Incoming APDU (2 bytes):
  1276.  
  1277. 6A 82 j.
  1278.  
  1279. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1280.  
  1281. P:6332; T:4972 2019-01-23 14:16:53.465 [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1282.  
  1283. [pkcs15-init] card.c:465:sc_unlock: called
  1284.  
  1285. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  1286.  
  1287. File or application not found
  1288.  
  1289. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  1290.  
  1291. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  1292.  
  1293. path->aid=a0 0 0 0 79 1 a  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  1294.  
  1295. file_out=0000000000000000 index=0 count=0
  1296.  
  1297. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1298.  
  1299. [pkcs15-init] card.c:415:sc_lock: called
  1300.  
  1301. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  1302.  
  1303. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1304.  
  1305. [pkcs15-init] apdu.c:521:sc_transmit: called
  1306.  
  1307. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1308.  
  1309. CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
  1310.  
  1311. reader 'Broadcom Corp Contacted SmartCard 0'
  1312.  
  1313. P:6332; T:4972 2019-01-23 14:16:53.480 [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1314.  
  1315. Outgoing APDU (13 bytes):
  1316.  
  1317. 00 A4 04 0C 07 A0 00 00 00 79 01 0A 00 .........y...
  1318.  
  1319. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1320.  
  1321. P:6332; T:4972 2019-01-23 14:16:53.512 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1322.  
  1323. Incoming APDU (2 bytes):
  1324.  
  1325. 6A 82 j.
  1326.  
  1327. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1328.  
  1329. P:6332; T:4972 2019-01-23 14:16:53.527 [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1330.  
  1331. [pkcs15-init] card.c:465:sc_unlock: called
  1332.  
  1333. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  1334.  
  1335. File or application not found
  1336.  
  1337. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  1338.  
  1339. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  1340.  
  1341. path->aid=a0 0 0 0 79 1 b  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  1342.  
  1343. file_out=0000000000000000 index=0 count=0
  1344.  
  1345. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1346.  
  1347. [pkcs15-init] card.c:415:sc_lock: called
  1348.  
  1349. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  1350.  
  1351. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1352.  
  1353. [pkcs15-init] apdu.c:521:sc_transmit: called
  1354.  
  1355. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1356.  
  1357. CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
  1358.  
  1359. reader 'Broadcom Corp Contacted SmartCard 0'
  1360.  
  1361. P[pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1362.  
  1363. Outgoing APDU (13 bytes):
  1364.  
  1365. 00 A4 04 0C 07 A0 00 00 00 79 01 0B 00 .........y...
  1366.  
  1367. P:6332; T:4972 2019-01-23 14:16:53.543 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1368.  
  1369. P:6332; T:4972 2019-01-23 14:16:53.574 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1370.  
  1371. Incoming APDU (2 bytes):
  1372.  
  1373. 6A 82 j.
  1374.  
  1375. P:6332; T:4972 2019-01-23 14:16:53.590 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1376.  
  1377. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1378.  
  1379. [pkcs15-init] card.c:465:sc_unlock: called
  1380.  
  1381. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  1382.  
  1383. File or application not found
  1384.  
  1385. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  1386.  
  1387. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  1388.  
  1389. path->aid=a0 0 0 0 79 1 c  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  1390.  
  1391. file_out=0000000000000000 index=0 count=0
  1392.  
  1393. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1394.  
  1395. [pkcs15-init] card.c:415:sc_lock: called
  1396.  
  1397. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  1398.  
  1399. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1400.  
  1401. [pkcs15-init] apdu.c:521:sc_transmit: called
  1402.  
  1403. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1404.  
  1405. CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
  1406.  
  1407. P:6332; T:4972 2019-01-23 14:16:53.605 reader 'Broadcom Corp Contacted SmartCard 0'
  1408.  
  1409. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1410.  
  1411. Outgoing APDU (13 bytes):
  1412.  
  1413. 00 A4 04 0C 07 A0 00 00 00 79 01 0C 00 .........y...
  1414.  
  1415. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1416.  
  1417. P:6332; T:4972 2019-01-23 14:16:53.652 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1418.  
  1419. Incoming APDU (2 bytes):
  1420.  
  1421. 6A 82 j.
  1422.  
  1423. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1424.  
  1425. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1426.  
  1427. [pkcs15-init] card.c:465:sc_unlock: called
  1428.  
  1429. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  1430.  
  1431. File or application not found
  1432.  
  1433. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  1434.  
  1435. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  1436.  
  1437. path->aid=a0 0 0 0 79 1 d  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  1438.  
  1439. file_out=0000000000000000 index=0 count=0
  1440.  
  1441. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1442.  
  1443. [pkcs15-init] card.c:415:sc_lock: called
  1444.  
  1445. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  1446.  
  1447. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1448.  
  1449. P:6332; T:4972 2019-01-23 14:16:53.668 [pkcs15-init] apdu.c:521:sc_transmit: called
  1450.  
  1451. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1452.  
  1453. CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
  1454.  
  1455. reader 'Broadcom Corp Contacted SmartCard 0'
  1456.  
  1457. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1458.  
  1459. Outgoing APDU (13 bytes):
  1460.  
  1461. 00 A4 04 0C 07 A0 00 00 00 79 01 0D 00 .........y...
  1462.  
  1463. P:6332; T:4972 2019-01-23 14:16:53.668 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1464.  
  1465. P:6332; T:4972 2019-01-23 14:16:53.715 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1466.  
  1467. Incoming APDU (2 bytes):
  1468.  
  1469. 6A 82 j.
  1470.  
  1471. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1472.  
  1473. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1474.  
  1475. [pkcs15-init] card.c:465:sc_unlock: called
  1476.  
  1477. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  1478.  
  1479. File or application not found
  1480.  
  1481. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  1482.  
  1483. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  1484.  
  1485. path->aid=a0 0 0 0 79 1 e  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  1486.  
  1487. file_out=0000000000000000 index=0 count=0
  1488.  
  1489. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1490.  
  1491. [pkcs15-init] card.c:415:sc_lock: called
  1492.  
  1493. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  1494.  
  1495. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1496.  
  1497. P:6332; T:4972 2019-01-23 14:16:53.730 [pkcs15-init] apdu.c:521:sc_transmit: called
  1498.  
  1499. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1500.  
  1501. CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
  1502.  
  1503. reader 'Broadcom Corp Contacted SmartCard 0'
  1504.  
  1505. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1506.  
  1507. Outgoing APDU (13 bytes):
  1508.  
  1509. 00 A4 04 0C 07 A0 00 00 00 79 01 0E 00 .........y...
  1510.  
  1511. P[pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1512.  
  1513. P:6332; T:4972 2019-01-23 14:16:53.777 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1514.  
  1515. Incoming APDU (2 bytes):
  1516.  
  1517. 6A 82 j.
  1518.  
  1519. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1520.  
  1521. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1522.  
  1523. [pkcs15-init] card.c:465:sc_unlock: called
  1524.  
  1525. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  1526.  
  1527. File or application not found
  1528.  
  1529. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  1530.  
  1531. [pkcs15-init] card-cac.c:1194:cac_select_file_by_type: called
  1532.  
  1533. path->aid=a0 0 0 0 79 1 f  len=7, path->value = 0 0 0 0 len=0 path->type=1 (1)
  1534.  
  1535. file_out=0000000000000000 index=0 count=0
  1536.  
  1537. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1538.  
  1539. [pkcs15-init] card.c:415:sc_lock: called
  1540.  
  1541. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  1542.  
  1543. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1544.  
  1545. [pkcs15-init] apdu.c:521:sc_transmit: called
  1546.  
  1547. P:6332; T:4972 2019-01-23 14:16:53.793 [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1548.  
  1549. CLA:0, INS:A4, P1:4, P2:C, data(7) 0000007C6FD5ED80
  1550.  
  1551. reader 'Broadcom Corp Contacted SmartCard 0'
  1552.  
  1553. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1554.  
  1555. Outgoing APDU (13 bytes):
  1556.  
  1557. 00 A4 04 0C 07 A0 00 00 00 79 01 0F 00 .........y...
  1558.  
  1559. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1560.  
  1561. P:6332; T:4972 2019-01-23 14:16:53.840 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1562.  
  1563. Incoming APDU (2 bytes):
  1564.  
  1565. 6A 82 j.
  1566.  
  1567. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1568.  
  1569. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1570.  
  1571. [pkcs15-init] card.c:465:sc_unlock: called
  1572.  
  1573. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  1574.  
  1575. File or application not found
  1576.  
  1577. [pkcs15-init] card-cac.c:1308:cac_select_file_by_type: returning with: -1201 (File not found)
  1578.  
  1579. trying driver 'itacns'
  1580.  
  1581. ATR     : 3b:f8:13:00:00:81:31:fe:45:4a:43:4f:50:76:32:34:31:b7
  1582.  
  1583. ATR try : 3b:f4:18:00:ff:81:31:80:55:00:31:80:00:c7
  1584.  
  1585. ignored - wrong length
  1586.  
  1587. Matching 3b against atr[0] == 3b
  1588.  
  1589. trying driver 'isoApplet'
  1590.  
  1591. P:6332; T:4972 2019-01-23 14:16:53.855 [pkcs15-init] card-isoApplet.c:114:isoApplet_select_applet: called
  1592.  
  1593. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1594.  
  1595. [pkcs15-init] card.c:415:sc_lock: called
  1596.  
  1597. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  1598.  
  1599. [pkcs15-init] card-isoApplet.c:1231:isoApplet_card_reader_lock_obtained: called
  1600.  
  1601. [pkcs15-init] card-isoApplet.c:1239:isoApplet_card_reader_lock_obtained: returning with: 0 (Success)
  1602.  
  1603. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1604.  
  1605. [pkcs15-init] apdu.c:521:sc_transmit: called
  1606.  
  1607. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1608.  
  1609. CLA:0, INS:A4, P1:4, P2:0, data(12) 00007FFC31504678
  1610.  
  1611. reader 'Broadcom Corp Contacted SmartCard 0'
  1612.  
  1613. P:6332; T:4972 2019-01-23 14:16:53.871 [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1614.  
  1615. Outgoing APDU (17 bytes):
  1616.  
  1617. 00 A4 04 00 0C F2 76 A2 88 BC FB A6 9D 34 F3 10 ......v......4..
  1618.  
  1619. 01                                              .
  1620.  
  1621. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1622.  
  1623. P:6332; T:4972 2019-01-23 14:16:53.902 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1624.  
  1625. Incoming APDU (2 bytes):
  1626.  
  1627. 6A 82 j.
  1628.  
  1629. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1630.  
  1631. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1632.  
  1633. [pkcs15-init] card.c:465:sc_unlock: called
  1634.  
  1635. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  1636.  
  1637. File or application not found
  1638.  
  1639. [pkcs15-init] card-isoApplet.c:131:isoApplet_select_applet: Card returned error: -1201 (File not found)
  1640.  
  1641. trying driver 'gids'
  1642.  
  1643. P:6332; T:4972 2019-01-23 14:16:53.918 [pkcs15-init] card-gids.c:570:gids_match_card: called
  1644.  
  1645. [pkcs15-init] card-gids.c:281:gids_select_aid: called
  1646.  
  1647. Got args: aid=00007FFC31591840, aidlen=9, response=0000007C6FD5EEF0, responselen=261
  1648.  
  1649. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1650.  
  1651. [pkcs15-init] card.c:415:sc_lock: called
  1652.  
  1653. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  1654.  
  1655. [pkcs15-init] card-gids.c:2057:gids_card_reader_lock_obtained: called
  1656.  
  1657. [pkcs15-init] card-gids.c:2065:gids_card_reader_lock_obtained: returning with: 0 (Success)
  1658.  
  1659. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1660.  
  1661. [pkcs15-init] apdu.c:521:sc_transmit: called
  1662.  
  1663. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1664.  
  1665. CLA:0, INS:A4, P1:4, P2:0, data(9) 00007FFC31591840
  1666.  
  1667. reader 'Broadcom Corp Contacted SmartCard 0'
  1668.  
  1669. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1670.  
  1671. Outgoing APDU (15 bytes):
  1672.  
  1673. 00 A4 04 00 09 A0 00 00 03 97 42 54 46 59 00 ..........BTFY.
  1674.  
  1675. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1676.  
  1677. P:6332; T:4972 2019-01-23 14:16:53.965 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1678.  
  1679. Incoming APDU (22 bytes):
  1680.  
  1681. 61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 a.O......BTFY..s
  1682.  
  1683. 03 40 01 C0 90 00                               .@....
  1684.  
  1685. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1686.  
  1687. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1688.  
  1689. [pkcs15-init] card.c:465:sc_unlock: called
  1690.  
  1691. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  1692.  
  1693. [pkcs15-init] card-gids.c:299:gids_select_aid: returning with: 0 (Success)
  1694.  
  1695. found AID
  1696.  
  1697. matched: GIDS Smart Card
  1698.  
  1699. [pkcs15-init] card-gids.c:632:gids_init: called
  1700.  
  1701. 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
  1702.  
  1703. [pkcs15-init] card.c:1462:sc_card_sm_check: called
  1704.  
  1705. card->sm_ctx.ops.open 0000000000000000
  1706.  
  1707. 0 [pkcs15-init] card.c:1468:sc_card_sm_check: returning with: 0 (Success)
  1708.  
  1709. [pkcs15-init] card.c:339:sc_connect_card: returning with: 0 (Success)
  1710.  
  1711. Using card driver GIDS Smart Card.
  1712.  
  1713. [pkcs15-init] pkcs15-lib.c:313:sc_pkcs15init_bind: called
  1714.  
  1715. [pkcs15-init] card.c:951:sc_card_ctl: called
  1716.  
  1717. P:6332; T:4972 2019-01-23 14:16:53.996 [pkcs15-init] card-gids.c:2019:gids_card_ctl: called
  1718.  
  1719. card_ctl(4) not supported
  1720.  
  1721. called; type=2, path=3f0050154946
  1722.  
  1723. [pkcs15-init] card-gids.c:920:gids_select_file: called
  1724.  
  1725. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1726.  
  1727. [pkcs15-init] card.c:415:sc_lock: called
  1728.  
  1729. [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  1730.  
  1731. [pkcs15-init] card-gids.c:2057:gids_card_reader_lock_obtained: called
  1732.  
  1733. [pkcs15-init] card-gids.c:2065:gids_card_reader_lock_obtained: returning with: 0 (Success)
  1734.  
  1735. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1736.  
  1737. [pkcs15-init] apdu.c:521:sc_transmit: called
  1738.  
  1739. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1740.  
  1741. CLA:0, INS:A4, P1:8, P2:0, data(4) 0000007C6FD5F222
  1742.  
  1743. P:6332; T:4972 2019-01-23 14:16:54.012 reader 'Broadcom Corp Contacted SmartCard 0'
  1744.  
  1745. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1746.  
  1747. Outgoing APDU (10 bytes):
  1748.  
  1749. 00 A4 08 00 04 50 15 49 46 00 .....P.IF.
  1750.  
  1751. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1752.  
  1753. P:6332; T:4972 2019-01-23 14:16:54.027 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1754.  
  1755. Incoming APDU (2 bytes):
  1756.  
  1757. 6A 86 j.
  1758.  
  1759. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1760.  
  1761. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1762.  
  1763. [pkcs15-init] card.c:465:sc_unlock: called
  1764.  
  1765. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  1766.  
  1767. P:6332; T:4972 2019-01-23 14:16:54.043 Incorrect parameters P1-P2
  1768.  
  1769. [pkcs15-init] iso7816.c:578:iso7816_select_file: returning with: -1205 (Incorrect parameters in APDU)
  1770.  
  1771. [pkcs15-init] card.c:776:sc_select_file: 'SELECT' error: -1205 (Incorrect parameters in APDU)
  1772.  
  1773. [pkcs15-init] profile.c:336:sc_profile_load: called
  1774.  
  1775. Using profile directory 'C:\Program Files\OpenSC Project\OpenSC\profiles'.
  1776.  
  1777. Trying profile file C:\Program Files\OpenSC Project\OpenSC\profiles\pkcs15.profile
  1778.  
  1779. profile C:\Program Files\OpenSC Project\OpenSC\profiles\pkcs15.profile loaded ok
  1780.  
  1781. [pkcs15-init] profile.c:383:sc_profile_load: returning with: 0 (Success)
  1782.  
  1783. [pkcs15-init] profile.c:336:sc_profile_load: called
  1784.  
  1785. Using profile directory 'C:\Program Files\OpenSC Project\OpenSC\profiles'.
  1786.  
  1787. Trying profile file C:\Program Files\OpenSC Project\OpenSC\profiles\gids.profile
  1788.  
  1789. profile C:\Program Files\OpenSC Project\OpenSC\profiles\gids.profile loaded ok
  1790.  
  1791. P:6332; T:4972 2019-01-23 14:16:54.058 [pkcs15-init] profile.c:383:sc_profile_load: returning with: 0 (Success)
  1792.  
  1793. [pkcs15-init] profile.c:395:sc_profile_finish: called
  1794.  
  1795. [pkcs15-init] profile.c:438:sc_profile_finish: returning with: 0 (Success)
  1796.  
  1797. [pkcs15-init] pkcs15-lib.c:420:sc_pkcs15init_bind: returning with: 0 (Success)
  1798.  
  1799. About to create PKCS #15 meta structure.
  1800.  
  1801. New Security Officer PIN (Optional - press return for no PIN).
  1802.  
  1803. Please enter Security Officer PIN: Please type again to verify: Unblock Code for New User PIN (Optional - press return for no PIN).
  1804.  
  1805. 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
  1806.  
  1807. P:6332; T:4972 2019-01-23 14:17:16.308 [pkcs15-init] reader-pcsc.c:613:pcsc_lock: called
  1808.  
  1809. [pkcs15-init] card-gids.c:2057:gids_card_reader_lock_obtained: called
  1810.  
  1811. [pkcs15-init] card-gids.c:2065:gids_card_reader_lock_obtained: returning with: 0 (Success)
  1812.  
  1813. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1814.  
  1815. P:6332; T:4972 2019-01-23 14:17:16.324 [pkcs15-init] pkcs15-lib.c:774:sc_pkcs15init_add_app: called
  1816.  
  1817. [pkcs15-init] pkcs15-lib.c:4172:sc_pkcs15init_qualify_pin: called
  1818.  
  1819. [pkcs15-init] pkcs15-lib.c:4191:sc_pkcs15init_qualify_pin: returning with: 0 (Success)
  1820.  
  1821. [pkcs15-init] pkcs15-lib.c:4172:sc_pkcs15init_qualify_pin: called
  1822.  
  1823. [pkcs15-init] pkcs15-lib.c:4191:sc_pkcs15init_qualify_pin: returning with: 0 (Success)
  1824.  
  1825. Add virtual SO_PIN('Security Officer PIN',flags:B2,reference:-1,path:'3f005015')
  1826.  
  1827. [pkcs15-init] card.c:951:sc_card_ctl: called
  1828.  
  1829. [pkcs15-init] card-gids.c:2019:gids_card_ctl: called
  1830.  
  1831. [pkcs15-init] card-gids.c:605:gids_get_serialnr: called
  1832.  
  1833. [pkcs15-init] card-gids.c:386:gids_read_gidsfile: called
  1834.  
  1835. [pkcs15-init] card-gids.c:216:gids_get_DO: called
  1836.  
  1837. Got args: fileIdentifier=a000, dataObjectIdentifier=df1f, response=00000250F5BCD1C0, responselen=65000
  1838.  
  1839. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1840.  
  1841. [pkcs15-init] card.c:415:sc_lock: called
  1842.  
  1843. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1844.  
  1845. [pkcs15-init] apdu.c:521:sc_transmit: called
  1846.  
  1847. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1848.  
  1849. CLA:0, INS:CB, P1:A0, P2:0, data(4) 0000007C6FD3ECE0
  1850.  
  1851. P:6332; T:4972 2019-01-23 14:17:16.340 reader 'Broadcom Corp Contacted SmartCard 0'
  1852.  
  1853. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1854.  
  1855. Outgoing APDU (10 bytes):
  1856.  
  1857. 00 CB A0 00 04 5C 02 DF 1F 00 .....\....
  1858.  
  1859. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1860.  
  1861. P:6332; T:4972 2019-01-23 14:17:16.433 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1862.  
  1863. Incoming APDU (147 bytes):
  1864.  
  1865. DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 .....mscp.......
  1866.  
  1867. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 ................
  1868.  
  1869. 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 ..........cardid
  1870.  
  1871. 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 ..... ..........
  1872.  
  1873. 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 ......cardapps..
  1874.  
  1875. 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 .!..............
  1876.  
  1877. 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 ..cardcf....."..
  1878.  
  1879. 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D .....mscp.....cm
  1880.  
  1881. 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 apfile...#......
  1882.  
  1883. 00 90 00                                        ...
  1884.  
  1885. P:6332; T:4972 2019-01-23 14:17:16.433 [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1886.  
  1887. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1888.  
  1889. [pkcs15-init] card.c:465:sc_unlock: called
  1890.  
  1891. [pkcs15-init] card-gids.c:311:gids_read_gidsfile_without_cache: called
  1892.  
  1893. Identifiers of  cardid is fileIdentifier=a012, dataObjectIdentifier=df20
  1894.  
  1895. P:6332; T:4972 2019-01-23 14:17:16.449 [pkcs15-init] card-gids.c:216:gids_get_DO: called
  1896.  
  1897. Got args: fileIdentifier=a012, dataObjectIdentifier=df20, response=0000007C6FD4ECE0, responselen=65538
  1898.  
  1899. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1900.  
  1901. [pkcs15-init] card.c:415:sc_lock: called
  1902.  
  1903. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1904.  
  1905. [pkcs15-init] apdu.c:521:sc_transmit: called
  1906.  
  1907. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1908.  
  1909. P:6332; T:4972 2019-01-23 14:17:16.465 CLA:0, INS:CB, P1:A0, P2:12, data(4) 0000007C6FD3ECB0
  1910.  
  1911. reader 'Broadcom Corp Contacted SmartCard 0'
  1912.  
  1913. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1914.  
  1915. Outgoing APDU (10 bytes):
  1916.  
  1917. 00 CB A0 12 04 5C 02 DF 20 00 .....\.. .
  1918.  
  1919. [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1920.  
  1921. P:6332; T:4972 2019-01-23 14:17:16.527 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1922.  
  1923. Incoming APDU (21 bytes):
  1924.  
  1925. DF 20 10 4D 55 E8 C6 5A C5 F4 49 4A F9 29 6E 96 . .MU..Z..IJ.)n.
  1926.  
  1927. EB 83 89 90 00                                  .....
  1928.  
  1929. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1930.  
  1931. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1932.  
  1933. [pkcs15-init] card.c:465:sc_unlock: called
  1934.  
  1935. [pkcs15-init] card-gids.c:394:gids_read_gidsfile: returning with: 0 (Success)
  1936.  
  1937. [pkcs15-init] card-gids.c:624:gids_get_serialnr: returning with: 0 (Success)
  1938.  
  1939. [pkcs15-init] card.c:961:sc_card_ctl: returning with: 0 (Success)
  1940.  
  1941. [pkcs15-init] pkcs15-lib.c:3143:sc_pkcs15init_add_object: called
  1942.  
  1943. add object 00000250F5C1B2D0 to DF of type 8
  1944.  
  1945. Append object
  1946.  
  1947. [pkcs15-init] pkcs15-gids.c:109:gids_emu_update_any_df: called
  1948.  
  1949. [pkcs15-init] pkcs15-gids.c:112:gids_emu_update_any_df: returning with: 0 (Success)
  1950.  
  1951. 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)
  1952.  
  1953. [pkcs15-init] pkcs15-lib.c:2943:sc_pkcs15init_update_dir: called
  1954.  
  1955. [pkcs15-init] dir.c:163:sc_enum_apps: called
  1956.  
  1957. called; type=2, path=3f002f00
  1958.  
  1959. [pkcs15-init] card-gids.c:920:gids_select_file: called
  1960.  
  1961. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  1962.  
  1963. [pkcs15-init] card.c:415:sc_lock: called
  1964.  
  1965. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  1966.  
  1967. [pkcs15-init] apdu.c:521:sc_transmit: called
  1968.  
  1969. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  1970.  
  1971. CLA:0, INS:A4, P1:8, P2:0, data(2) 0000007C6FD5E7F2
  1972.  
  1973. reader 'Broadcom Corp Contacted SmartCard 0'
  1974.  
  1975. P:6332; T:4972 2019-01-23 14:17:16.558 [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  1976.  
  1977. Outgoing APDU (8 bytes):
  1978.  
  1979. 00 A4 08 00 02 2F 00 00 ...../..
  1980.  
  1981. P:6332; T:4972 2019-01-23 14:17:16.558 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  1982.  
  1983. P:6332; T:4972 2019-01-23 14:17:16.574 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  1984.  
  1985. Incoming APDU (2 bytes):
  1986.  
  1987. 6A 86 j.
  1988.  
  1989. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  1990.  
  1991. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  1992.  
  1993. [pkcs15-init] card.c:465:sc_unlock: called
  1994.  
  1995. Incorrect parameters P1-P2
  1996.  
  1997. 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)
  1998.  
  1999. [pkcs15-init] card.c:776:sc_select_file: 'SELECT' error: -1205 (Incorrect parameters in APDU)
  2000.  
  2001. [pkcs15-init] dir.c:171:sc_enum_apps: Cannot select EF.DIR file: -1205 (Incorrect parameters in APDU)
  2002.  
  2003. [pkcs15-init] pkcs15-lib.c:2971:sc_pkcs15init_update_dir: returning with: -1205 (Incorrect parameters in APDU)
  2004.  
  2005. [pkcs15-init] pkcs15-lib.c:3922:sc_pkcs15init_update_file: called
  2006.  
  2007. path:3f0050154946; datalen:128
  2008.  
  2009. called; type=2, path=3f0050154946
  2010.  
  2011. [pkcs15-init] card-gids.c:920:gids_select_file: called
  2012.  
  2013. [pkcs15-init] apdu.c:554:sc_transmit_apdu: called
  2014.  
  2015. [pkcs15-init] card.c:415:sc_lock: called
  2016.  
  2017. [pkcs15-init] card.c:455:sc_lock: returning with: 0 (Success)
  2018.  
  2019. [pkcs15-init] apdu.c:521:sc_transmit: called
  2020.  
  2021. [pkcs15-init] apdu.c:371:sc_single_transmit: called
  2022.  
  2023. CLA:0, INS:A4, P1:8, P2:0, data(4) 0000007C6FD5E932
  2024.  
  2025. reader 'Broadcom Corp Contacted SmartCard 0'
  2026.  
  2027. [pkcs15-init] reader-pcsc.c:285:pcsc_transmit:
  2028.  
  2029. Outgoing APDU (10 bytes):
  2030.  
  2031. 00 A4 08 00 04 50 15 49 46 00 .....P.IF.
  2032.  
  2033. P:6332; T:4972 2019-01-23 14:17:16.605 [pkcs15-init] reader-pcsc.c:213:pcsc_internal_transmit: called
  2034.  
  2035. P:6332; T:4972 2019-01-23 14:17:16.621 [pkcs15-init] reader-pcsc.c:294:pcsc_transmit:
  2036.  
  2037. Incoming APDU (2 bytes):
  2038.  
  2039. 6A 86 j.
  2040.  
  2041. [pkcs15-init] apdu.c:390:sc_single_transmit: returning with: 0 (Success)
  2042.  
  2043. [pkcs15-init] apdu.c:543:sc_transmit: returning with: 0 (Success)
  2044.  
  2045. P:6332; T:4972 2019-01-23 14:17:16.637 [pkcs15-init] card.c:465:sc_unlock: called
  2046.  
  2047. Incorrect parameters P1-P2
  2048.  
  2049. [pkcs15-init] iso7816.c:578:iso7816_select_file: returning with: -1205 (Incorrect parameters in APDU)
  2050.  
  2051. [pkcs15-init] card.c:776:sc_select_file: 'SELECT' error: -1205 (Incorrect parameters in APDU)
  2052.  
  2053. [pkcs15-init] pkcs15-lib.c:3944:sc_pkcs15init_update_file: Failed to select file: -1205 (Incorrect parameters in APDU)
  2054.  
  2055. [pkcs15-init] pkcs15-lib.c:920:sc_pkcs15init_add_app: returning with: -1205 (Incorrect parameters in APDU)
  2056.  
  2057. [pkcs15-init] card.c:465:sc_unlock: called
  2058.  
  2059. [pkcs15-init] reader-pcsc.c:663:pcsc_unlock: called
  2060.  
  2061. Failed to create PKCS #15 meta structure: Incorrect parameters in APDU
  2062.  
  2063. [pkcs15-init] pkcs15-lib.c:430:sc_pkcs15init_unbind: called
  2064.  
  2065. Pksc15init Unbind: 0:0000000000000000:1
  2066.  
  2067. [pkcs15-init] card.c:356:sc_disconnect_card: called
  2068.  
  2069. [pkcs15-init] card-gids.c:656:gids_finish: called
  2070.  
  2071. Broadcom Corp Contacted SmartCard 0:SCardDisconnect returned: 0x00000000
  2072.  
  2073. [pkcs15-init] card.c:378:sc_disconnect_card: returning with: 0 (Success)
  2074.  
  2075. P:6332; T:4972 2019-01-23 14:17:16.652 [pkcs15-init] ctx.c:906:sc_release_context: called
  2076.  
  2077. P:6332; T:4972 2019-01-23 14:17:16.652 [pkcs15-init] reader-pcsc.c:900:pcsc_finish: called

arnet
Posts: 3
Joined: Thu Jan 24, 2019 8:18 am
Points :78
Contact:

Re: Bitlocker to Go

Post by arnet » Fri Feb 22, 2019 2:15 pm

***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**
Last edited by arnet on Tue Feb 26, 2019 3:27 pm, edited 3 times in total.

arnet
Posts: 3
Joined: Thu Jan 24, 2019 8:18 am
Points :78
Contact:

Re: Bitlocker to Go

Post by arnet » Mon Feb 25, 2019 11:13 am

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.

kazeematics
Posts: 1
Joined: Sun Jul 07, 2019 5:23 am
Points :10
Contact:

Re: Bitlocker to Go

Post by kazeematics » Sun Jul 07, 2019 5:29 am

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?

sebus
Posts: 3
Joined: Tue Aug 11, 2020 5:50 am
Points :20
Contact:

Re: Bitlocker to Go

Post by sebus » Tue Aug 11, 2020 5:57 am

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

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
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)

mimitech
Posts: 1
Joined: Thu Oct 08, 2015 2:35 am
Points :14
Contact:

Re: Bitlocker to Go

Post by mimitech » Wed Oct 20, 2021 2:38 am

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 am
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?

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 10 guests

JavaCard OS : Disclaimer