Re:JavaScript Cryptography Considered Harmful
by peterwwillis on Tuesday June 17, 2014 @02:10PM
(#7905958)
This doesn't need a long post to explain. There is a single principle which makes all browser-based JavaScript crypto completely insecure forever:
Never trust any input, nor run any code, delivered by a remote host, unless its original author's digital signature has been verified by multiple distinct trusted mirrors, and as long as there is no way to change this input or code without repeating the process.
Never trust any input, nor run any code, delivered by a remote host, unless its original author's digital signature has been verified by multiple distinct trusted mirrors, and as long as there is no way to change this input or code without repeating the process.