Hello! I am trying to work with starcos 2.3 card throw opensc, but get errors. 
In according with documentation this card type is supported. 
Help me please to make work opensc with this card.

Details:

...
trying driver: starcos
ATR     : 3b:b7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
ATR try : 3B:B7:94:00:c0:24:31:fe:65:53:50:4b:32:33:90:00:b4
ATR try : 3B:B7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1
matched: STARCOS SPK 2.3/2.4
card info: STARCOS SPK 2.3, 7001, 0x0
.\card.c:223:sc_connect_card: returning with: 0
0: Detecting Framework
.\pkcs15.c:700:sc_pkcs15_bind: called
.\card.c:292:sc_lock: called
called; type=2, path=3f002f00
.\card-starcos.c:367:starcos_select_file: called
current path (path, valid):  (len: 0)
.\apdu.c:535:sc_transmit_apdu: called
.\card.c:312:sc_unlock: called
.\apdu.c:535:sc_transmit_apdu: called
.\card.c:312:sc_unlock: called
.\card-starcos.c:356:starcos_select_fid: returning with: 0
.\apdu.c:535:sc_transmit_apdu: called
.\card.c:312:sc_unlock: called
sw1 = 0x6a, sw2 = 0x82
File not found
.\card-starcos.c:312:starcos_select_fid: returning with: -1201
.\card.c:554:sc_select_file: returning with: -1201
called; type=2, path=3f005015
.\card-starcos.c:367:starcos_select_file: called
current path (path, valid): 3f00 (len: 2)
.\apdu.c:535:sc_transmit_apdu: called
.\card.c:312:sc_unlock: called
sw1 = 0x6a, sw2 = 0x82
File not found
.\card-starcos.c:312:starcos_select_fid: returning with: -1201
.\card.c:554:sc_select_file: returning with: -1201
called; type=2, path=3f005031
.\card-starcos.c:367:starcos_select_file: called
current path (path, valid): 3f00 (len: 2)
.\apdu.c:535:sc_transmit_apdu: called
.\card.c:312:sc_unlock: called
sw1 = 0x6a, sw2 = 0x82
File not found
.\card-starcos.c:312:starcos_select_fid: returning with: -1201
.\card.c:554:sc_select_file: returning with: -1201
EF(ODF) not found in '3f005031'
.\pkcs15-syn.c:88:sc_pkcs15_bind_synthetic: called
use builtin drivers
trying esteid
trying openpgp
trying tcos
trying starcert
called; type=2, path=3f00fe13
.\card-starcos.c:367:starcos_select_file: called
current path (path, valid): 3f00 (len: 2)
.\apdu.c:535:sc_transmit_apdu: called
.\card.c:312:sc_unlock: called
.\apdu.c:535:sc_transmit_apdu: called
.\card.c:312:sc_unlock: called
.\card-starcos.c:356:starcos_select_fid: returning with: 0
.\card.c:554:sc_select_file: returning with: 0
called; 64 bytes at index 0
.\apdu.c:535:sc_transmit_apdu: called
.\card.c:312:sc_unlock: called
.\iso7816.c:132:iso7816_read_binary: returning with: 64
.\card.c:430:sc_read_binary: returning with: 64
trying infocamere
called; type=2, path=3f002f02
.\card-starcos.c:367:starcos_select_file: called
current path (path, valid): 3f00 (len: 2)
.\apdu.c:535:sc_transmit_apdu: called
.\card.c:312:sc_unlock: called
.\apdu.c:535:sc_transmit_apdu: called
.\card.c:312:sc_unlock: called
processing FCI bytes
  bytes in file: 33
  type: working EF
  EF structure: transparent
.\card-starcos.c:356:starcos_select_fid: returning with: 0
.\card.c:554:sc_select_file: returning with: 0
called; 33 bytes at index 0
.\apdu.c:535:sc_transmit_apdu: called
.\card.c:312:sc_unlock: called
.\iso7816.c:132:iso7816_read_binary: returning with: 33
.\card.c:430:sc_read_binary: returning with: 33
trying postecert
trying actalis
trying atrust-acosi
trying gemsafe
...
Entering sc_pkcs15emu_gemsafe_init_ex
.\pkcs15-gemsafe.c:163:gemsafe_detect_card: called
trying tccardos
searching for 'emulate foo { ... }' blocks
.\card.c:312:sc_unlock: called
Binding to PKCS#15, rc=-1413
opensc error: Unsupported card (-1413)
...


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

Reply via email to