Hi,

When I open this HTML file in Mozilla:

<html>
<SCRIPT LANGUAGE="JavaScript">

crmfObject = crypto.generateCRMFRequest(
"CN=undefined",
"regToken", "authenticator",
null,
"setCRMFRequest();",
1024, null, "rsa-sign");
 alert("oi");
 alert(crmfObject.request);

</script>
</html>


a key pair is generated.
But when I close Mozilla, I can see in the 'libmusclecard' log that 'msc_ReleaseConnection' is not called.

As a consequence, when I open the browser a second time, and open the same HTML file, an error occurrs in the card.

I am pretty sure this is the cause, because if I format the card again, open the browser, open the HTML file, close the HTML file, open it again, a second key pair is generated with no problems.

I searched for 'msc_ReleaseConnection' and found it in 'slot_ReleaseConnection' and 'slot_DisconnectSlot', both at 'p11x_slot.c'.

Does anyone know why none of these functions are being called?


I am using 'muscleframework-1.1.5' and 'libmusclecard-1.3.2'.


Thanks!










I

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

Reply via email to