4 ms·
I really, really want crypto, specifically, safe and secure-by-default crypto, to become much more usable. Despite this hope, I can't seem to help the fact tha
by sneak 13y ago
I really, really want crypto, specifically, safe and secure-by-default crypto, to become much more usable.
Despite this hope, I can't seem to help the fact that the first thing that popped into my head when I read their webpage is "oh, they're wrapping and abstracting important key authentication and critical key trust configuration to make it more user-friendly, and implementing it all in javascript. WHAT COULD POSSIBLY GO WRONG?"
Even if I got whacked on the head one day and suddenly loved javascript, I would not use it for certain projects when I wanted to be taken seriously by, say, cryptographers.
Then again, look at all the success cryptocat has had!
- FiloSottile 13y agoAs long as the trust model is that the server is untrusted, it can be written in the language they prefer. As for the client, there can be as many implementations in as many languages as needed to make everyone happy IMHO (they call it reference client in the home).
- aidos 13y agoHonest question, which part of writing it in JS makes it less safe? I understand that running in a browser is an inherently unsafe model because of the various mechanisms that make it impossible to track code that's running along side yours. How is it that JS is unsafe in a server environment?
- sneak 13y agoThe median programmers it attracts to write it.
- aidos 13y agoArgh. That barely warrants a response. The average skill of developers using a language is low, therefore it's not possible for anything written in the language to be of high quality? Wow. Even assuming that the initial assertion is correct, that's horrifically illogical. True reason: you have an anti-js bias. You're welcome to that, but for goodness sake be rational in your hatred.
- midas007 13y agoLOL. http://tobtu.com/decryptocat.php http://tobtu.com/decryptocat.php On a serious matter, javascript (eg all browsers) absolutely needs to change to make the web more trustworthy. I agree with some of the Matasano points[0], but these are the minimum, exhaustively complete changes that would improve browser security: i. js that can be cryptographically signed and verified, a trust model and a browser security policy to enforce it. Think ascii armored GPG signature as a comment for the code it encloses. ii. js native extensions: able to talk to native code that was previously installed iii. js objects that can be made immutable (can't change them in any way) iv. js objects that can be made un-protypable (can't copy or "subclass" them) v. js properties that can be made read-only vi. js properties that can be made private (only the object itself can use them) With folks pushing to make this happen across all browsers, javascript theft of bank passwords and credit card numbers would be much harder. Crypto stuff like the Stanford library would benefit. References: 0. http://www.matasano.com/articles/javascript-cryptography/ http://www.matasano.com/articles/javascript-cryptography/ 1. https://crypto.stanford.edu/sjcl/ https://crypto.stanford.edu/sjcl/
- midas007 13y agoAs an update, I was hacking on https://github.com/moxie0/Convergence https://github.com/moxie0/Convergence to try to get it working on modern FF. FF supports binding system libraries to JS objects. (If anyone knows how to modernize a FF extension, please help: https://github.com/moxie0/Convergence/issues/178 https://github.com/moxie0/Convergence/issues/178)