Karsten Ohme wrote:
...

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 card is not damaged I just cannot open a secure channel and that means no installing/deleting, etc. It has the Muscle Applet inside which seems to be working fine.

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?

Now I always get the 6982 error. I have one more JCOP card and when I try to connect with your program I get the "unknown ...". I only tried once, because I was afraid I migh lock that card too.

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.


You are right. More likely the card got "locked" after a few (3?) unsuccessful attempts to open a secure channel. I looked through the GP spec, but there is nothing there about locking if opening secure channel fails.

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.)


JCOP cards at least use 255 as the default keyset until you set one. So you can write:

init-update 255

in the shell.


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.


Thanks anyway. I'll try to figure it out.

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to