Re: JSS doesn't support AES key unwrapping

2009-01-13 Thread Glen Beasley
alex.agra...@gmail.com wrote: FYI - I submitted a patch that fixes the problem. See https://bugzilla.mozilla.org/show_bug.cgi?id=470982 for details. ___ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/de

Re: JSS doesn't support AES key unwrapping

2009-01-13 Thread alex . agranov
FYI - I submitted a patch that fixes the problem. See https://bugzilla.mozilla.org/show_bug.cgi?id=470982 for details. ___ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto

Re: JSS doesn't support AES key unwrapping

2008-12-24 Thread Nelson B Bolyard
alex.agra...@gmail.com wrote, On 2008-12-24 11:32: >> oh? This is the first report of this problem that I recall seeing. > > Here is a similar report that I was referring to: > http://groups.google.com/group/mozilla.dev.tech.crypto/browse_thread/thread/01028c36412d94bf Hmm. That message never r

Re: JSS doesn't support AES key unwrapping

2008-12-24 Thread alex . agranov
> oh?  This is the first report of this problem that I recall seeing. Here is a similar report that I was referring to: http://groups.google.com/group/mozilla.dev.tech.crypto/browse_thread/thread/01028c36412d94bf ___ dev-tech-crypto mailing list dev-tech

Re: JSS doesn't support AES key unwrapping

2008-12-23 Thread Nelson B Bolyard
I wrote, On 2008-12-23 11:53: > Please file a bug in bugzilla.mozilla.org, product JSS, and put all > the above information into that bug. Glen filed a bug based on this report. (Thanks, Glen) See https://bugzilla.mozilla.org/show_bug.cgi?id=470982 __

Re: JSS doesn't support AES key unwrapping

2008-12-23 Thread Nelson B Bolyard
alex.agra...@gmail.com wrote, On 2008-12-23 02:59: > When I try to unwrap AES key via JSS API, I get the following > exception: > > cipher = Cipher.getInstance("RSA", jssProvider); > cipher.init(Cipher.UNWRAP_MODE, wrapKeyPair.getPrivate()); > Key unwrappedKey = cipher.unwrap(wrappedData, "AES", >

JSS doesn't support AES key unwrapping

2008-12-23 Thread alex . agranov
When I try to unwrap AES key via JSS API, I get the following exception: cipher = Cipher.getInstance("RSA", jssProvider); cipher.init(Cipher.UNWRAP_MODE, wrapKeyPair.getPrivate()); Key unwrappedKey = cipher.unwrap(wrappedData, "AES", Cipher.SECRET_KEY); org.mozilla.jss.util.AssertionException: as