This content has been marked as final. Show 5 replies
Your set-key and init-update should be updated to use 1 rather than 255 for the key set.
Be careful though as you will lock your card if you have too many failed attempts at authenticating. You may want to look through the GlobalPlatform card spec for the secure channel APDU's etc so you can understand what JCOP tools is doing.
set-key 1/1/DES-ECB/404142434445464748494a4b4c4d4e4f 1/2/DES-ECB/404142434445464748494a4b4c4d4e4f 1/3/DES-ECB/404142434445464748494a4b4c4d4e4f init-update 1
You're welcome :)
I also use JCOP to write java applet.
When I run debug (Eclipse with Jcop plugin), have no error if i choose java card simulation.
If i choose Card reader ( real card ) and run to upload applet to card, i can't delete any applet (exist applet, current applet). Why ???
i use the command's JCOP : delete, select.
Are you running against the real card from the Debug menu? You can only use the Run menu to run against a real card?
Are you using a JCOP card or some other vendors card? There are subtle differences between cards (card manager AID, keys etc).