W3C home > Mailing lists > Public > public-webcrypto-comments@w3.org > January 2013

Re: PolyCrypt

From: Richard Barnes <rbarnes@bbn.com>
Date: Tue, 29 Jan 2013 08:52:47 -0500
Cc: public-webcrypto-comments@w3.org
Message-Id: <E4597066-5177-4B1C-8345-244E513B7E6D@bbn.com>
To: Aymeric Vitte <vitteaymeric@gmail.com>

On Jan 29, 2013, at 5:42 AM, Aymeric Vitte <vitteaymeric@gmail.com> wrote:

> Still working on [1] and [2], and now it's time to put it inside the browser.
> 
> As far as I understand PolyCrypt is a concatenation of what exists (cryptoJS, sjcl, etc) + Webcryptofication, and it can be used to test the WebCrypto API in the meantime browsers implement it.
> 
> Probably I can get some inspiration but can not use it as such, I have to remove iframes and workers stuff.

That's exactly the right understanding. Well, maybe not so much "inspiration" as much as a "test harness" -- you could use PolyCrypt to write and test code against the WebCrypto API without having an upgraded browser.

But no, you would not want to use it in production, especially if you're trying to remove things like frames and workers.


> Is it foreseen to implement RSA OAEP and Diffie Hellman, or does it exist somewhere ?

I'm trying not to write new crypto code for PolyCrypt (I made an exception for GCM).  Do you know of JS libraries for OAEP/DH?  I was thinking some about doing ECDH with jsbn, but had postponed that because the spec didn't seem  entirely clear on that point yet.

--Richard



> 
> Regards,
> 
> [1] https://github.com/Ayms/iAnonym
> [2] https://github.com/Ayms/node-Tor
> 
> Le 07/01/2013 21:25, Richard Barnes a écrit :
>> Dear WebCrypto WG,
>> 
>> I'm pleased to announce that we've finally got an initial version of our polyfill implementation of the WebCrypto API.  Relevant URIs:
>> 
>> Web: http://polycrypt.net/
>> Demo: http://demo.polycrypt.net/
>> GitHub: http://github.com/polycrypt/polycrypt/
>> 
>> Our initial release implements the great majority of the API; I think the only thing that's missing is exportKey.
>> 
>> A couple of caveats:
>> -- We use window.polycrypt instead of window.crypto
>> -- Nothing works in IE right now (we're working on it)
>> 
>> Please give it a try!  Feedback welcome!
>> 
>> Thanks,
>> --Richard
>> 
>> 
>> 
> 
> -- 
> jCore
> Email :  avitte@jcore.fr
> iAnonym : http://www.ianonym.com
> node-Tor : https://www.github.com/Ayms/node-Tor
> GitHub : https://www.github.com/Ayms
> Web :    www.jcore.fr
> Webble : www.webble.it
> Extract Widget Mobile : www.extractwidget.com
> BlimpMe! : www.blimpme.com
> 
> 
Received on Tuesday, 29 January 2013 13:53:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 29 January 2013 13:53:15 GMT