Hi everybody. I'm having some problems with a PKCS11 module I've developed in encrypt/decrypt methods. I can't understand the behavior when I use it with Netscape 7.2 or Thunderbind in these operations. Could anyone facilitate me a trace of his pkcs11 in which I could see the input data (and length), the cipher used and the output generated by the methods C_EncryptInit / C_DecryptInit, C_Encrypt / C_Decrypt or C_EncryptUpdate / C_DecryptUpdate?.
To be more concrete. If I write a mail message (using the mail manager of netscape 7.2) indicating it must be encrypted, netscape only uses my pkcs11 module to do some objects search operations and to know some attribute values, but it don't use the pkcs11 cypher operations. What cipher algorithm uses netscape by defect to do that operation?
This is the trace I obtain when I try to decrypt the previous mail message:
C_DecryptInit. --> Mechanism: CKM_DES3_CBC. --> Key length: 24 bytes. --> IV: <195> <128> <252> <112> <101> <170> <232> <250> END C_DecryptInit.
C_DecryptUpdate.
--> Input Data(16 bytes): <22> <b2> <b5> <62> <f1> <8c> <c2> <11> <78> <2d> <88> <bd> <31> <4> <33> <5e>
--> Output data(8 bytes): <43> <6f> <6e> <74> <65> <6e> <74> <2d>
END C_DecryptUpdate.
Now Netscape close the session and finalizes the decrypt operation.
Does anybody knows what can be happening?. Thanks in advance. _______________________________________________ mozilla-crypto mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-crypto
