News for hackers. Stuff that matters.
Re:End-to-end encryption in the browser by dylkil on Monday March 23, 2020 @09:46AM (#22664037)
>As the maintainer of Excalidraw, I now sleep much better at night. If the hosting service gets compromised, it doesn’t really matter as none of the content can be decrypted without the key.

Seems the maintainer maded the point of protecting himself more than anything.

Re:End-to-end encryption in the browser by henriquez on Monday March 23, 2020 @10:11AM (#22664261)
Right. "Javascript cryptography considered harmful" is a trope at this point, but that doesn't make it an axiom. The author is using this to _not store users' private data_ on their own infrastructure.

Even if Excalidraw _was_ compromised and someone put malicious JS code in the app, the total scope of the breach would be very limited. Records could only be exfiltrated on an individual basis, and only if the users opened their URLs and exposed the decryption key to the malicious Javascript payload.

This is a smart way to offer a free service without worrying too much about liability or compliance with the ever-expanding set of regional privacy laws.