News for hackers. Stuff that matters.
Re:Senate bill rewrite lets feds read your e-mail without wa... by sneak on Tuesday November 20, 2012 @02:18PM (#4810716)
http://www.matasano.com/articles/javascript-cryptography/

Basically, the server you're talking to, as well as any resources on that page, can undermine your javascript primitives and render your crypto useless (or just backdoor it).

If you trust the server to not backdoor your crypto... you can just trust the server to _do_ the crypto in the first place.

There is an effort underway to build better crypto APIs into browsers, but I'll bet you a bitcoin that it's super easy to fuck up the implementation of and most end up being insecure, and/or nobody ends up using it after all.

Re:Senate bill rewrite lets feds read your e-mail without wa... by doug11235 on Tuesday November 20, 2012 @02:53PM (#4810964)
I read that article as explaining why a web application can't do crypto with javascript. As someone that knows almost nothing about browser extensions, can you elaborate on why one isn't a good idea for chrome?
Re:Senate bill rewrite lets feds read your e-mail without wa... by jlgreco on Tuesday November 20, 2012 @05:37PM (#4811743)
The sections "How are browsers hostile to cryptography?", "What systems programming functionality does Javascript lack?", "What else is the Javascript runtime lacking for crypto implementors" cover issues you would encounter with browser extension cryto.
Re:Senate bill rewrite lets feds read your e-mail without wa... by doug11235 on Tuesday November 20, 2012 @06:10PM (#4811886)
I didn't realize extensions were largely javascript. Thanks for the pointers.
Re:Senate bill rewrite lets feds read your e-mail without wa... by jlgreco on Tuesday November 20, 2012 @06:15PM (#4811900)
Ah yeah. I believe the usual terminology is such that "extensions" are javascript and "addons" are something native. You could probably do cryto well with an addon.. to the extent that it is possible to do an addon at all properly (honestly I have no idea there).
Re:Senate bill rewrite lets feds read your e-mail without wa... by sneak on Tuesday November 20, 2012 @06:35PM (#4811955)
Presuming you're securing against gmail monitoring, Google in this case would be the eavesdropper/attacker.

Google controls the key/cert that allows for Chrome extension updating...

Re:Senate bill rewrite lets feds read your e-mail without wa... by mtgx on Tuesday November 20, 2012 @03:05PM (#4811042)
I think you could at least have it implemented in NaCl in Chrome, if the Javascript versions fail.