About to erase card.
card.c:677:sc_card_ctl: called
apdu.c:504:sc_transmit_apdu: called
card-starcos.c:1242:starcos_check_sw: sw1 = 0x6d, sw2 = 0x00
iso7816.c:99:iso7816_check_sw: Instruction code not supported or invalid
card.c:687:sc_card_ctl: returning with: Unsupported INS byte in APDU
Failed to erase card: Unsupported INS byte in APDU
card.c:316:sc_unlock: called
card.c:327:sc_unlock: Calling card logout function
apdu.c:504:sc_transmit_apdu: called
card-starcos.c:1242:starcos_check_sw: sw1 = 0x90, sw2 = 0x00
reader-openct.c:462:openct_reader_unlock: called
card.c:234:sc_disconnect_card: called
reader-openct.c:280:openct_reader_disconnect: called
card.c:249:sc_disconnect_card: returning with: 0
ctx.c:728:sc_release_context: called
reader-openct.c:180:openct_reader_release: called
reader-openct.c:180:openct_reader_release: called
reader-openct.c:180:openct_reader_release: called
reader-openct.c:180:openct_reader_release: called
reader-openct.c:180:openct_reader_release: called
reader-openct.c:165:openct_reader_finish: called
Any idea what is wrong? Need more debug output?
openct tells me the apdu sequence is
cmd: 00 a4 00 0c 02 3f 00 00
resp: 90 00
cmd: 00 b0 00 00 01
resp: 69 86
cmd: 00 a4 00 0c 02 50 15 00
resp: 90 00
cmd: 00 b0 00 00 01
resp: 69 86
cmd: 00 a4 00 00 02 49 46 00
resp: 6f 07 80 02 00 80 82 01 01 90 00
cmd: 00 b0 00 00 01
resp: 01 90 00
cmd: 00 b0 00 00 80
resp: 01 06 70 6b 63 73 31 35 ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff 90 00
cmd: 80 e4 00 00 02 3f 00
resp: 6d 00
cmd: 00 a4 00 0c 02 3f 00
resp: 90 00
would be real nice to get these working.
Regards, Andreas
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel