The problem I described in the previous e-mail has actually another cause.
When the Mozilla is close, the last log that the PKCS11module generates is:
11/08 10:02:38 +C_CloseSession : start
11/08 10:02:38 Active session list:
11/08 10:02:38 Session ID: 875FC80
11/08 10:02:38 Session ID: 837A630
11/08 10:02:38 Removing session: 4
11/08 10:02:38 Attempting release
11/08 10:02:38 -C_CloseSession : end RV(0x0)
So, the session 875FC80 is not closed, and therefore the connection is
not released.
It seems that 'C_CloseAllSessions' is not being called by NSS.
Does anyone have any idea?
Thanks!
Rodrigo Canellas escreveu:
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
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle