I have used also the applet version 0.9.11 and the muscleTools. I have
tested it with a CFlex under Linux. I have generated a RSA CRT key with
1024 bits and tried to sign. The card throws an 6F00 error. (I believe
RSA with MD5 hash is not implemented by this applet version.) So this is
normal with this applet version.

The curious thing is that it gave me a result after I created an object. Even if the result was wrong, seems there is something there. Or some condition which allows it to work, even if wrongly. 

Then I tried the encrypt with RSA and no padding with success. After
this the alggorithm is fixed to RSA with no padding and I get an 9c03
error if I try tro used RSA with PKCS#1 padding. You should have the
same behaviour. So if you want to sign something you must hash it, pad
it on your own and encrypt the hash with RSA no padding.

I had this exact behavior with some of my configurations.  

For the strange invalid signature I have no explanation.

Ok. Ill have a look at the applet code.
 
I also get this results with the same libmusclecard and MCardPlugin
version like you. I guess, this is not an error of muscleTool. This is a
problem of libmusclecard or MCardPlugin.

Ok, thanks again for your time! Really helpful!
Matheus
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to