Robert Relyea wrote, On 2008-03-19 09:46: > [EMAIL PROTECTED] wrote: >> Good Day, >> >> I have developed a custom smart card based Pkcs library, I'm currently >> testing it qith Thunderbird, so far i can encrypt, sign and verify >> e-mails, but when i send myself an encrypted e-mail, I encounter >> something weird. >> >> On Initial Viewing of my encrypted e-mail, my card is inserted and it >> can properly decrypt my message. But when I click on other e-mails and >> click back on my encrypted e-mail, Thunderbird suddenly showed >> "Thunderbird cannot decrypt this message" in my message pane. Closing >> and Re-opening Thunderbird doesn't help either. >> >> Was there anything wrong with my custom PKCS module? >> >> I tried looking everywhere and I can't seem to find any answers. Hope >> you can help me with this problem >> > > I'd start by logging the calls and error to your PKCS #11 module.
Look here for directions http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn2.html > It sounds initially like your module may have problems with multiple > (serial) operations on a session. A lot of test cases don't pick this up > because they open the module, do their test and then close it. > Thunderbird opens the module and keeps it open for the duration. > > bob _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto