Hi Andreas,

I should have paied more attention to this:
OpenSC Explorer version 0.11.0-pre
OpenSC [3F00]> ls
FileID  Type  Size
[6666]    DF   256      Name: AKS
OpenSC [3F00]> create 1f00 41415
card-cardos.c:230:cardos_check_sw: Unknown SWs; SW1=00, SW2=E0 card.c:344:sc_create_file: returning with: Card command failed
CREATE FILE failed: Card command failed
OpenSC [3F00]> ls
card-cardos.c:225:cardos_check_sw: LC invalid
card-cardos.c:257:cardos_list_files: DIRECTORY command returned error: Wrong length
card.c:322:sc_list_files: returning with: Wrong length
unable to receive file listing: Wrong length
OpenSC [3F00]> ls
FileID  Type  Size
[6666]    DF   256      Name: AKS
 1F00    wEF 41415


Quit opensc-explorer and relaunch it:

OpenSC Explorer version 0.11.0-pre
OpenSC [3F00]> ls
FileID  Type  Size
[6666]    DF   256      Name: AKS
 1F00    wEF 41415
OpenSC [3F00]> delete 1f00
card-cardos.c:230:cardos_check_sw: Unknown SWs; SW1=00, SW2=E4 card.c:365:sc_delete_file: returning with: Card command failed
DELETE FILE failed: Card command failed
OpenSC [3F00]>
OpenSC [3F00]> delete 1f00
card-cardos.c:230:cardos_check_sw: Unknown SWs; SW1=00, SW2=E4 card.c:365:sc_delete_file: returning with: Card command failed
DELETE FILE failed: Card command failed
OpenSC [3F00]> delete 1f00
card-cardos.c:225:cardos_check_sw: LC invalid
card.c:365:sc_delete_file: returning with: Wrong length
DELETE FILE failed: Wrong length
OpenSC [3F00]> ls
FileID  Type  Size
[6666]    DF   256      Name: AKS
OpenSC [3F00]>

Here is the output of cardos-info:

cardos-info -v
Connecting to card in reader Aladdin eToken PRO 64k...
Using card driver Siemens CardOS.
Info : CardOS V4.2 (C) Siemens AG 1994-2003
Chip type: 124
Serial number: 24 8c c8 01 39 1a
Full prom dump:
33 66 00 09 61 61 61 61 7C FF 24 8C C8 01 39 1A 3f..aaaa|.$...9. 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
OS Version: 200.6 (that's CardOS M4.2)
Current life cycle: 32 (administration)
Security Status of current DF:
Free memory : 1024
ATR Status: 0x0 ROM-ATR
Packages installed:
E1 09 01 04 1C 01 C8 06 8F 01 01 E1 09 01 04 13 ................
02 C8 06 8F 01 01                               ......
Ram size: 4, Eeprom size: 64, cpu type: 66, chip config: 63
Free eeprom memory: 42663
System keys: PackageLoadKey (version 0x00, retries 10)
System keys: StartKey (version 0xff, retries 10)
Path to current DF:

I'm using the latest SVN repository for both OpenCT
and OpenSC.

Please let me know if there is any test I could perform
to debug this issue.

Best regards.

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

Reply via email to