Subrata Mazumdar wrote, On 2009-05-13 06:45 PDT:

> The key genartion now works for RSA and DSA key types but it still fails 
> for EC key type.

>>    else if (keyType == "dsa") {
>>        keyGenAlg = "dsa-sign-nonrepudiation";
>>        keyParams = null;
>>    }

That's strange.  Your DSA test code should NOT have worked.  I wonder
how it could have worked, given that you supplied no "params".

> Is key generation for EC type is supported on Firefox 3.0.10?

I believe so.  I was able to generate an EC key pair with <KEYGEN>.
I don't know why it would fail with CRMF if it works with KEYGEN.

>> The main reason I testing this method is I failed to generate key for 
>> DSA and EC tyeps using keygen tag. 

The fact that DSA <KEYGEN> is broken is a known bug.  Bug 488059.

>> I have tried all three links at the bottom this page: 
>> https://developer.mozilla.org/En/HTML/HTML_Extensions/KEYGEN_Tag.
>> I only see key-generation dialog for RSA key type. 

Well, the dialog only stays up as long as the operation takes, and the
operation is VERY fast for all but RSA.  But just tried those links
with FF 3.0.10 and also with FF 3.5 Beta <nightly>, and I did see it
(briefly) for EC, as well as for RSA.

By the way those 3 links are actually links to attachments to bug 474958.
Perhaps the next logical step is to construct some similar test pages for
generateCRMFRequest.
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to