Re: NSS error handling

2008-09-04 Thread Nelson B Bolyard
Graham Leggett wrote, On 2008-09-02 14:59: > I just added the bug here: > > https://bugzilla.mozilla.org/show_bug.cgi?id=453364 Thanks. > Changing the encryption mode from MODE_ECB to MODE_CBC, causes the > PK11_CreateContextBySymKey function to succeed. That's a big clue. I can think of two

Re: NSS support for RFC2898 / PBKDF2

2008-09-04 Thread Justin Dolske
Graham Leggett wrote: > ... Quick note: you might look at some of the Weave code, which is using PKCS#5. http://hg.mozilla.org/labs/weave/file/53e25c0c7e2e/src/WeaveCrypto.cpp#l462 Justin ___ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.o

Re: NSS support for RFC2898 / PBKDF2

2008-09-04 Thread Graham Leggett
Robert Relyea wrote: Does NSS support RFC2898 (derivation of keys from a passphrase), and if so, what set of functions should I be looking at to use this? Yes, The standard NSS PBE interface supports PBKDF2 automatically on reading if the algid specifying the PBE is PBEDKF2. On generation, if

Re: NSS support for RFC2898 / PBKDF2

2008-09-04 Thread Graham Leggett
Robert Relyea wrote: Does NSS support RFC2898 (derivation of keys from a passphrase), and if so, what set of functions should I be looking at to use this? Yes, The standard NSS PBE interface supports PBKDF2 automatically on reading if the algid specifying the PBE is PBEDKF2. On generation, if

Re: Problem with JSS on Ubuntu

2008-09-04 Thread Glen Beasley
hi Martin, As this is not a JSS/NSS/NSPR issue. Please read: http://java.sun.com/javase/6/docs/technotes/guides/plugin/ If you have more questions on signing applets I believe your best source expert information is to ask in this forum: http://forums.sun.com/forum.jspa?forumID=63&start=0 >

Re: Problem with JSS on Ubuntu

2008-09-04 Thread Marcin T
> The security policy of the JRE might prohibit running unsigned > applets, as well. I don't know how to check on Ubuntu. I am using standard Sun JRE 1.6 32bit along with FF3 32 bit, to be able to run applets in 64 bit environment. I can't find any options in Java console which would alter behavi

Re: Problem with JSS on Ubuntu

2008-09-04 Thread Marcin T
> The security policy of the JRE might prohibit running unsigned > applets, as well.  I don't know how to check on Ubuntu. I am using standard Sun JRE 1.6 32bit along with FF3 32 bit, to be able to run applets in 64 bit environment. I can't find any options in Java console which would alter behavi

Re: Problem with JSS on Ubuntu

2008-09-04 Thread Marcin T
> You get an exception trying to view THAT page? > If so, something's wrong with your JRE installation. JRE seems to work ok as I mentioned before the problems happens when page is authenticated and applet is not signed. I was able to run OpenGL Java apps on Linux which is already big system test.