Re: Review of Use Cases | Re: W3C Web Crypto Use cases - next step ?

On Jul 15, 2013, at 6:57 PM, Aymeric Vitte wrote:

> Hi Arun,
> 
> Some small comments after a quick review (sorry limited time right now) :
> 
> - is it on purpose that you are using "==" instead of "==="?
> 


Not quite on purpose, so I've fixed this!  "==" is simply a bad habit.


> - Code sancity and ... : 
>     .then(function(digest) {if (ok)  {} else {get src}}, function(error) {get src})
>     No?


Yes!  Fixed.


> and get src should be https since you mention the origin is tls
> 
> - Webmail :
> window.crypto.subtle.importKey("jwk", jwkKey,..) --> window.crypto.subtle.importKey("jwk", jwkKeyObject,...)
> 


So this is still an active discussion on the listserv, IMHO, and has not stabilized, which is why I left both options open.  Do we use the JSON.parse variant, or the stringified JSON notation variant?  I'm not sure yet.

-- A*

Received on Tuesday, 16 July 2013 14:39:36 UTC