Nikolay Elenkov wrote:
Hi,
Karsten Ohme wrote:
...
No this is correct. I do not think, that this will help, but you can
take a try to a software I'm right now developing.
http://www.inf.tu-dresden.de/~ko189283/MuscleCard/JOpenPlatformWrapper.zip
Extract. At the moment only for Windows. start.bat I hope it works.
I tried your program (just out of curiosity). Looks nice, but
unfortunately, after running it I can no longer connect to the Card
Manager.
It the card now damaged? The card wants to have exclusive connection to
the card. No other connections are allowed. Is the Card Manager deleted?
(I think it is in ROM and cannot be deleted.). A removal of the card
and reconnect does not help?
The error would interest me.
When I tried to connect I got a couple of "unknown iso7816
error : 0000" messages and afterwards when I try INITIALIZE UPDATE I
always get:
Is the error gone now?
6982 (Security condition not satisfied)
That's using eclipse and the JCOP tools.
This tools should be sufficient.
I used a JCOP ID 21 card with
the default keys. It seems that the default keyset has somehow changed.
But my program does not do this. A PUT KEY command would be necessary to
do so.
By the way, the program doesn't accept 0xff or 255 (the default keyset),
I get a "unrecognized as a number" error.
The key set version and key index must be in hex. But 0xff is not the
default key set. 0x00 is always the default key set. The unrecognized as
a number is thrown because you used a number above 0x79. Java bytes are
signed, so there is only -0x80 up to 0x79. This is also the maximum
usuable key set version. (At least by some cards.)
Do you have any idea what may have gone wrong?
No idea. I have tested the applet (No delegated management and dap
verification) with a Cyberflex and a Giesecke & Devrient and I have
installed successfully all my applets with it.
Bye, Karsten
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle