Justin Karneges wrote:
On Wednesday 22 March 2006 15:05, you wrote:
starcos 2.4 should already work (perhaps except for a missing ATR
but adding a new ATR is trivial and harmless change) as afaik the
differences between starcos spk 2.3 and starcos spk 2.4 are
negligible as far as opensc is concerned.
I've added the ATR to the table. The basic stuff works:
# opensc-tool --atr
3b:b7:18:00:c0:3e:31:fe:65:53:50:4b:32:34:90:00:25
# opensc-tool --serial
04 90 50 55 00 18 2B 1D ..PU..+.
# opensc-tool --name
STARCOS SPK 2.3
But --list-files does not:
# opensc-tool -vvvvvvvv --list-files
[snip]
card.c:221:sc_transceive: Sending 8 bytes (resp. 258 bytes):
00 A4 00 00 02 3F 00 00 .....?..
card.c:274:sc_transmit_apdu: Received 0 bytes (SW1=62 SW2=84)
card.c:254:sc_transmit_apdu: called
card.c:221:sc_transceive: Sending 7 bytes (resp. 258 bytes):
00 A4 00 0C 02 3F 00 .....?.
card.c:274:sc_transmit_apdu: Received 0 bytes (SW1=90 SW2=00)
card-starcos.c:356:starcos_select_fid: returning with: 0
card.c:770:sc_select_file: returning with: 0
3f00 type: DF, size: 0
select[N/A] lock[N/A] delete[N/A] create[N/A] rehab[N/A] inval[N/A] list[N/A]
card.c:571:sc_list_files: called
card.c:573:sc_list_files: returning with: Not supported
sc_list_files() failed: Not supported
[snip]
What is to blame here?
as Chaskiel already guessed does starcos spk 2.3 not
support a list file operation (and afaik the same is true
for 2.4).
Cheers,
Nils
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel