Re: Security error when trying to set a non SSL/TLS Websocket from a https page

2013-10-14 Thread Nicholas Wilson
Dev, Indeed, I'm worried about what other people could do with the feature too. I'm much more worried though about the bad stuff that they're already doing in their PHP that the browser can't check it in any way. I think the nice thing about my patch is that it's not enough just to set a flag in t

Re: Security error when trying to set a non SSL/TLS Websocket from a https page

2013-10-13 Thread Devdatta Akhawe
Nicholas, I am sure the protocol and encryption you have written is solid and secure. The concern is that once this is opened up, it will be open for all and others won't be so careful. There are lots of examples of people not implementing the crypto correctly. Re the leaking of sensitive data: b

Re: Security error when trying to set a non SSL/TLS Websocket from a https page

2013-10-10 Thread Nicholas Wilson
Devdatta, Thanks for your comments. These sorts of concerns about which implementors users trust can be tricky! The reality is that Firefox isn't the only person we trust to do crypto right: for a start, you're trusting every company you give your data to (personal data, credit card details) to st

Re: Security error when trying to set a non SSL/TLS Websocket from a https page

2013-10-10 Thread Devdatta Akhawe
Hi Nicholas Thanks for bringing this up. I think you bring up an important application scenario that is not at all handled well by the web platform today. > everyone happy. Why can't we just whitelist known (or declared secure) > WebSocket subprotocols? The idea is simple: a WebSocket connection

Re: Security error when trying to set a non SSL/TLS Websocket from a https page

2013-10-08 Thread Aymeric Vitte
The fact of having SSL/TLS inside ws is of course OK for me, that's what I am doing too, but let's say I am against it (which is not the case) I would argue that the issue remains the same: why should it be allowed to work with "insecure" certificates while SSL/TLS on top of ws don't allow it,

Re: Security error when trying to set a non SSL/TLS Websocket from a https page

2013-10-04 Thread Nicholas Wilson
Dear Aymeirc, (public reply for the list) The similar discussion on this list last month about mixed-content websocket connections had the subject "Mixed-content XHR & Websockets". I have an application which is similar to yours, where the JS does its own crypto using a combination of WebCrypto

Re: Security error when trying to set a non SSL/TLS Websocket from a https page

2013-09-24 Thread Aymeric Vitte
I don't want to get you started but look: From your own site (!! probably a mistake in the link) https://www.financialcryptography.com/ :-) or https://iang.org/ And maybe when you have time http://www.ianonym.com where it's explained why you might not trust SSL/TLS But I don't want to debat

Re: Security error when trying to set a non SSL/TLS Websocket from a https page

2013-09-24 Thread ianG
On 23/09/13 12:16 PM, Aymeric Vitte wrote: Le 23/09/2013 10:42, ianG a écrit : And yes, once HTTPS is indicated on the original request, it has to maintain SSL/TLS protection across the lot, otherwise the security claim is broken. That's not the case already, I agree. The situation is tha

Re: Security error when trying to set a non SSL/TLS Websocket from a https page

2013-09-23 Thread Aymeric Vitte
Le 23/09/2013 10:42, ianG a écrit : And yes, once HTTPS is indicated on the original request, it has to maintain SSL/TLS protection across the lot, otherwise the security claim is broken. That's not the case already, so there should not be an exception for WebSockets. In my case this force

Re: Security error when trying to set a non SSL/TLS Websocket from a https page

2013-09-23 Thread ianG
On 23/09/13 11:21 AM, Aymeric Vitte wrote: Please see: https://bugzilla.mozilla.org/show_bug.cgi?id=917829 I think I have detailed already in the bug report why it does not necessary make sense to forbid ws from a https page, for your review and comments. The problem might be that when you sw

Security error when trying to set a non SSL/TLS Websocket from a https page

2013-09-23 Thread Aymeric Vitte
Please see: https://bugzilla.mozilla.org/show_bug.cgi?id=917829 I think I have detailed already in the bug report why it does not necessary make sense to forbid ws from a https page, for your review and comments. Regards, Aymeric -- jCore Email : avi...@jcore.fr Peersm : http://www.peersm.