Hi,

I'm writing a PKCS #11 implementation and have so far been able to get
Thunderbird and Firefox to do everything I need without having to use
the various CKA_NETSCAPE_XXX etc values.

Signatures have posed little problem, both in Firefox and Tunderbird.

The problem I have encountered has been in trying to get Thunderbird to
encrypt. From what I can make out everything is moving along happily
until NSS calls C_FindObjectsInit with a CKA_CLASS value of
CKO_NETSCAPE_SMIME. Another attribute in the search template is
CKA_NETSCAPE_EMAIL which is a string value with an email address in its
contents.

This search returns CKR_OK, but with a count of zero. After that point
thunderbird crashes. Up until that point it handled failed searches for
CKO_NETSCAPE_BUILTIN_ROOT_LIST and CKO_NETSCAPE_CRL quite happily, even
though they too return zero objects.

I'm at a loss as to what the search for CKO_NETSCAPE_SMIME is trying to
achieve, I have found no documentation on any of the extensions.

Does anyone know what might be happening? Do I have to support these
values to prevent thunderbird from crashing, and if so, how?

Thanks in advance

Warren

_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to