Re:Google’s Revamped Gmail Could Take Encryption Mainstream
by Lx1oG-AWb6h_ZG0 on Thursday April 24, 2014 @12:16AM
(#7638483)
Why can't the browser do the crypto on your input, before it even gets to the site/js? (e.g., expose a secure input and output API (say, a new type of HTML textarea and markup tag). Whenever you start entering text, or when a secure element enters the viewport, look up the key for the site (stored locally, like how they remember passwords) and encrypt/decrypt the content. All the site/js sees is gibberish.
[ Parent
| on HN ]
Re:Google’s Revamped Gmail Could Take Encryption Mainstream
by mike-cardwell on Thursday April 24, 2014 @04:10AM
(#7638963)
It could. But it hasn't been done yet. And as rcxdude stated, it would need to be done in such a way that you can't create a fake secure textarea using HTML.
Perhaps when focusing on one, all other script on the page stops, no events or timeouts are triggered, everything other than the secure textarea is ghosted out, and something big and obvious in the browsers chrome lights up to show you that you are actually focused on a "secure textarea" and not a normal one.