Re: Unable to generate ECC signature keys with crypto.generateCRMFRequest

2011-07-20 Thread Jean-Marc Desperrier
Brian Smith wrote: https://bugzilla.mozilla.org/show_bug.cgi?id=367577 You need a custom build of NSS, with NSS_ECC_MORE_THAN_SUITE_B=1 e.g.: The beef of the bug is the following in Nelson's comment : "Based on http://www.ietf.org/ietf/IPR/certicom-ipr-rfc-3446.pdf, some of the contributors h

Re: Unable to generate ECC signature keys with crypto.generateCRMFRequest

2011-07-13 Thread Brian Smith
Fei Fong wrote: > I am able to generate ECC encryption keys using: reqtype = 'ec-ex' > However, it fails when I try to generate ECC signature keys using > reqtype = 'ec-sign' > > I tried the other options for ECC given in > https://developer.mozilla.org/en/generateCRMFRequest > as well but have on

Unable to generate ECC signature keys with crypto.generateCRMFRequest

2011-07-13 Thread Fei Fong
I am using the following function to test generating key pairs in Firefox 5.0: crmf_result = crypto.generateCRMFRequest( "CN=X", "bla1", "bla2", null, "gen_ready();", 256, "curve=nistp256", reqtype); } I am able to generate ECC encryption keys using: reqtype = 'ec-ex' However, it fail