News for hackers. Stuff that matters.
Re:Keybase.io by sweis on Thursday February 13, 2014 @08:27PM (#7236199)
Even though there is a disclaimer, I think the "encrypt in your browser" feature (https://keybase.io/encrypt) undermines Keybase's security credibility.

This form has essentially the same level of security as Hushmail. Anybody using it should consider the content exposed to Keybase or anyone compromising Keybase.

Re:Keybase.io by maxtaco on Thursday February 13, 2014 @09:44PM (#7236525)
I'm not an authority on hushmail, but it seems like they do crypto on the server, and the server is just trusted to throw away the keys and plaintext?

In the keybase Web client, all crypto happens on the browser. The server knows no keys or data in plaintext. Of course, you'd have to audit the front-end JS code to believe that claim.

But our intention is that the only way to compromise the Web-based tools would be to insert malicious JavaScript into the client's browser. A read-only compromise of the server yields only encrypted data, and the server never has access to the decryption keys.

Re:Keybase.io by tptacek on Thursday February 13, 2014 @11:13PM (#7236868)
Then the only difference between hushmail and your model is exactly what the FBI will get a subpoena to have you type into your server to subvert your users. The models are equivalently insecure.

Incidentally, you can't simply audit the "front-end Javascript"; you have to evaluate everything that influences the Javascript runtime (the DOM, stylesheets, cached resources, &c) every time the page loads. Browsers aren't designed to make content-controlled code "auditable"; it simply isn't a capability of the environment.

Re:Keybase.io by chaitanya on Friday February 14, 2014 @01:11AM (#7237211)
FWIW, I found your post "Javascript Cryptography Considered Harmful" very helpful in understanding problems with client side crypto in the browser. I will recommend it to anyone who thinks it is safe: http://www.matasano.com/articles/javascript-cryptography/
Re:Keybase.io by e_proxus on Friday February 14, 2014 @04:47AM (#7237707)
And don't forget all extensions which can "Access all your data on all webpages, Access all your tabs and browsing activity".
Re:Keybase.io by jessaustin on Saturday February 15, 2014 @01:39AM (#7242947)
If this functionality were provided by e.g. a signed extension (so the code can't be changed without the user being told: I think browsers can do this?), then you would worry mostly about how well that extension was sandboxed away from other extensions and various websites, right?
Re:Keybase.io by sweis on Thursday February 13, 2014 @10:50PM (#7236778)
As you just said, users must trust the JS coming from Keybase. It might be compromised at any time.

Next, people usually mumble about auditing it, downloading a copy, signing it, etc. At the end of the day, you arrive to code installed on the client - which you already have.

The web version just weakens your story.

Re:Keybase.io by aragot on Friday February 14, 2014 @08:07AM (#7238239)
But it's a good idea: Sign the js. Even md5 would be enough, it's just so that when the FBINSA subpoenas you, we'll know it.
Re:Keybase.io by bascule on Thursday February 13, 2014 @11:38PM (#7236953)
Yes, you are correct. Unless browser extensions are used (and even then) the web is not a good platform for cryptography. The web is a platform for letting a potential attacker run untrusted code on your computer without all hell breaking loose, not for building trusted cryptography applications:

http://tonyarcieri.com/whats-wrong-with-webcrypto