W3C home > Mailing lists > Public > public-webcrypto@w3.org > May 2012

Re: ECC vs RSA, and Similar Conflicts

From: David Dahl <ddahl@mozilla.com>
Date: Thu, 10 May 2012 07:30:30 -0700 (PDT)
To: "Richard L. Barnes" <rbarnes@bbn.com>
Cc: Nadim <nadim@nadim.cc>, public-webcrypto@w3.org, Cullen Jennings <fluffy@cisco.com>
Message-ID: <840672199.938454.1336660230000.JavaMail.root@mozilla.com>
One of the reasons for establishing this WG is to try and provide a more secure way of using crypto on the web. Keeping the private keys private is at the top of this list. We can establish a spec that only ever references private key IDs, making this much more secure than existing JS crypto libraries that have access to private key material.


----- Original Message -----
From: "Richard L. Barnes" <rbarnes@bbn.com>
To: "Cullen Jennings" <fluffy@cisco.com>
Cc: "Nadim" <nadim@nadim.cc>, public-webcrypto@w3.org
Sent: Thursday, May 10, 2012 9:18:44 AM
Subject: Re: ECC vs RSA, and Similar Conflicts

Note, however, that that approach would require that private keys be exposed to the JS layer.  It seems like we have at least some use cases (e.g., the Netflix cases) where maintaining the secrecy of the private key is important.


On May 10, 2012, at 9:42 AM, Cullen Jennings wrote:

> One way to deal with the ECC / RSA issues is instead provide the underlining big math libraries that are needed to implement these and leave the actually IPR encumbered implementation to an JS library. If done right, this would could have approximately the same performance as a native implementation. 
> On May 9, 2012, at 11:33 AM, Nadim wrote:
>> Hi everyone,
>> I think we need to have a discussion regarding whether the API will exclusively implement (and rely on) newer, faster standards (such as ECDH, ECDSA) or whether there will be a larger dependence on RSA, either for fallback or stronger compatibility reasons.
>> If it is eventually decided that not only the best available per-task algorithm is implemented, but rather, all possible algorithms, where do we draw the line? Do we implement SHA1 in addition to SHA2? Does that also warrant an MD5 implementation?
>> Personally, I believe that focusing only on the newer, more efficient standards (such as ECC) is a better idea, but I stand very humbly by my opinion and a much more interested in listening to the group's opinions.
>> Thank you,
>> NK
Received on Thursday, 10 May 2012 14:31:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:01:01 UTC