Stefano Frassi wrote: > I was trying the Muscle Applet in a JCOP41v2.2 javacard. > > Using muscletools I'm able to format the card. > I import a pkcs12 using Mozilla. > > Now, If I try to sign some data using the pkcs11 C_Sign function > or directly in muscletools with the crypt function, the Applet always > returns 6F00.
When I want to sign something with muscleTool (I believe I use another version as you), I have success, when I want to encrypt something it fails. This is the same result as you, because your muscleTool and the pkcs#11 module use the encrypt function with the private key for signing. Because of the fact that I use the same code for the JCOP as for the CFlex it seems to be a problem of the JCOP ... Is the result the same if you use different key sizes or RSA instead of RSA-CRT (I don't know if you can influence this.)? With the current SVN version (or from this location http://web.inf.tu-dresden.de/~ko189283/MuscleCard/) you can(?). Karsten > > Does anybody use this kind of javacard successfully with the Muscle Applet? > or is this a known problem with JCOP41v2.2 javacard ? > (using a Cyberflex e-gate 32K I don't have this problem) > > Thanks > Stefano > > _______________________________________________ > Muscle mailing list > [email protected] > http://lists.drizzle.com/mailman/listinfo/muscle _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
