Ask HN: Does wasm or web crypto api help web app crypto?

https://news.ycombinator.com/item?id=14049222
by giantahead • 9 years ago
10 1 9 years ago

Web assembly is a very promising idea and has a chance to provide better means for building security into web apps than SJCL/etc by enforcing same origin policy, sandboxing execution, being able to limit side-channel attacks, etc. Similarly promising is Web Crypto API: better primitives, consistent across browsers. My question is: will it even help, given that end-user interaction is still in DOM, attackers can still inject the code that overrides calls to better implementations of ciphers? Or I'm missing something in the threat model of both?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com