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

Re: PolyCrypt

From: Aymeric Vitte <vitteaymeric@gmail.com>
Date: Tue, 29 Jan 2013 15:52:27 +0100
Message-ID: <5107E22B.5010309@gmail.com>
To: Richard Barnes <rbarnes@bbn.com>
CC: public-webcrypto-comments@w3.org

Le 29/01/2013 14:52, Richard Barnes a écrit :
> 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.
Yes of course, the intention is not to use it in production but to test 
in the meantime browsers implement something. Right now in fact I just 
need a small subset, but will try to link with PolyCrypt if there is an 
interest.
>
>
>> 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.
No, I don't know any js library for OAEP/DH.
>
> --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
>>
>>

-- 
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 14:50:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 29 January 2013 14:50:45 GMT