Re: cert8.db rewrite reasons and exceptions?

2012-04-04 Thread Anders Rundgren
On 2012-04-02 21:07, Robert Relyea wrote: On 03/27/2012 01:00 AM, helpcrypto helpcrypto wrote: Cough, cough...exit(CKR_OK) != return CKR_OK...cough, cough Now cert8 is modified always (with or without our module). Anyway, can someone tell me why cert8 is rewrited on each run/close? Because

Re: cert8.db rewrite reasons and exceptions?

2012-04-04 Thread helpcrypto helpcrypto
IIRC, NSS doesnt have an official mantainer on Mozilla bugs, isnt it? If this happens, its probably the source of many problems here. I have filed a few bugs and most of then arent even checked. To be fair honest, im also guilty of that, but i dont feel confident enough to edit Mozilla source.

Re: cert8.db rewrite reasons and exceptions?

2012-04-04 Thread Anders Rundgren
On 2012-04-04 13:04, helpcrypto helpcrypto wrote: IIRC, NSS doesnt have an official mantainer on Mozilla bugs, isnt it? If this happens, its probably the source of many problems here. I have filed a few bugs and most of then arent even checked. To be fair honest, im also guilty of that, but i

Re: cert8.db rewrite reasons and exceptions?

2012-04-04 Thread Wan-Teh Chang
On Wed, Apr 4, 2012 at 12:47 PM, Anders Rundgren anders.rundg...@telia.com wrote: Mozilla should IMO rather hook into the other vendors cryptographic solution, possibly at the expense of NSS. According to a [colleage] of mine Chrome even use the platform's SSL implementation!  Well, not in

Re: Recent builds of NSS on Windows?

2012-04-04 Thread Brian Smith
Today, a buggy old/legacy modutil.exe binary we are using, made me try building NSS using mingw. Once again. The only way I recommend building NSS on Windows is with Microsoft Visual C++ and the mozilla-build package located at

Re: To NSS-Java or not to NSS-Java, thats the question.

2012-04-04 Thread Brian Smith
helpcrypto helpcrypto wrote: IMHO, this is some that needs some clarification, as Mozilla *IS* supporting it developing JSS but at the same time saying we do not support it, Some people who are part of the Mozilla project maintain JSS. I will help review patches to JSS if/when the members of

Re: Alternative for SGN_DecodeDigestInfo

2012-04-04 Thread Brian Smith
Robert Relyea wrote: On 03/24/2012 03:05 PM, VJ wrote: I'm trying to use RSA_HashCheckSign() function to verify the message. How are you even Linking with RSA_HashCheckSign()? I don't know what platform JV is on, but I know on Mac OS X, all the internal symbols in FreeBL and maybe other

Re: Alternative for SGN_DecodeDigestInfo

2012-04-04 Thread Wan-Teh Chang
On Wed, Apr 4, 2012 at 4:39 PM, Brian Smith bsm...@mozilla.com wrote: I don't know what platform JV is on, but I know on Mac OS X, all the internal symbols in FreeBL and maybe other libraries are exported. This is how the Firefox Sync developers got so far in developing their JavaScript

Add other signed attributes in CMS

2012-04-04 Thread Jamil Nimeh
Hello all, I was wondering if folks know the best way to add additional signed attributes to CMS signed data messages. I see in cms.h there's a NSS_CMSSignerInfo_AddAutiAttr function, but it doesn't appear to be exported (at least, I get undefined reference errors when I try to use it).

JSSMessageDigest

2012-04-04 Thread pdecker
Hello, The Mozilla api documentation shows that org.mozilla.jss.crypto.JSSMessageDigest class has been deprecated. How can I create a SHA1 hash using JSS? Thanks. -Paula -- View this message in context: http://old.nabble.com/JSSMessageDigest-tp33545038p33545038.html Sent from the Mozilla -