Re: Cryptoki interface to decrypt mail with thunderbird

2014-03-13 Thread Kai Engert
On Do, 2014-03-13 at 14:12 +0200, Leon Brits wrote: > Attached is a log of the backtrace Hi Leon, the mailing list probably discards attachments. Could you please paste the stack trace as plain text into a new message? Thanks Kai -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.o

Unable to decrypt plain text using JSS

2014-03-13 Thread marouani . shared
Hi, I'm attempting to create two simple method for encrypting/decrying plain text. I have the following code: public String encrypt(String plainText) { byte[] plaintTextInBytes = plainText.getBytes(); Cipher cipher = Cipher.getInstance("DESede/CBC/PKCS5Padding", "Mozilla-JSS");

Re: Cryptoki interface to decrypt mail with thunderbird

2014-03-13 Thread Robert Relyea
On 03/13/2014 05:12 AM, Leon Brits wrote: > Robert, > > Attached is a log of the backtrace when I try to use Thunderbird to decrypt > an email. As you can see in the log it reaches C_DecryptUpdate(), but then > asserts at cmscipher.c:452. I don't see the attachment? did you forget or did the mai

RE: Cryptoki interface to decrypt mail with thunderbird

2014-03-13 Thread Leon Brits
Robert, Attached is a log of the backtrace when I try to use Thunderbird to decrypt an email. As you can see in the log it reaches C_DecryptUpdate(), but then asserts at cmscipher.c:452. Now we use OpenSSL to perform these cryptographic operations and if you give its DecryptUpdate() function e