Earlier quoted context omitted.
PS: Most users are not power users, and won't download the extension and manually check signatures. As mentioned in the writeup, there's a beautiful way you can protect even non-power-users. Because the extension downloads and verifies the webapp HTML, CSS and JS every time it runs, the web app is constantly being validated. As long as you have a critical mass of power users who installed the extension, an adversary…
> As mentioned in the writeup, there's a beautiful way you can protect even non-power-users. Because the extension downloads and verifies the webapp HTML, CSS and JS every time it runs, the web app is constantly being validated. Imagine the following. An Attacker manages to hijack your server. They fingerprint[1] the browsers of each user and only send malicious JS to certain users that dont use your extension. No on…
Scramble.io: secure email for everyone
111–120 of 142 posts
Re: Scramble.io: secure email for everyone
#112Earlier quoted context omitted.
I think you can do that now with one of the GPG browser plugins (or just copy/pasting from a GPG app)
It's different when everything is integrated , drive much much more usage, which is the whole point.
Re: Scramble.io: secure email for everyone
#113Users don't have to manage and back up their keys---or even know what a key is. Scramble does it for you. As a user, why would I want to delegate my key management to you? Encrypting the email I want to send to a person with their public key is what gives me a sense of trust that what I am sending is encrypted and only readable to that person. However--as the example of Tormail and others show us--the server cannot b…
> As a user, why would I want to delegate my key management to you? The beauty of it is that Scramble encrypts and signs whenever the recipient is also a Scramble address--automatically. The goal is to protect even users who don't know what a "PGP key" is. (Don't get me wrong, we're planning improvements for power users as well--for example, we want to make it easy to use Scramble over Tor. But the goal really is "En…
The only place a private key belongs to is the users machine (preferably somewhere without internet access).
Re: Scramble.io: secure email for everyone
#114Earlier quoted context omitted.
I see. So, if I set up an intricate browser clean-room environment, and I assume that the Javascript verification system you come up with actually works, I can get some of the benefit of simply installing GPG and using POP mail .
You'd still have to vet your GPG install & mail client code. Also, it's not difficult to fork the code to create a client that doesn't use the browser at all. It just hasn't happened yet. How do you know which public key belongs to the address? Key servers? Web-of-trust? Look it up on their homepage? Scramble has an address -> pubkey resolution system which balances security with usability. At least with Scramble you…
Re: Scramble.io: secure email for everyone
#115Earlier quoted context omitted.
Its [sic] funny that people have to all learn the same lessons over and over again That pretty much defines what the field of computer security is . From DES to AES, we learned the same lesson: As things designed to be secure are put out in the real world, with sufficient enough time, they're broken. It's important not to make the same mistakes again and again, and that's nearly impossible to do with JS-Crypto since…
That's already happened w/ the crypto.getRandomNumber function, which openpgp.js uses/
pgp works because it transfers data and not code.
Re: Scramble.io: secure email for everyone
#116If you just expose your service as an API then you don't have to worry about users trusting code given to them by the site. Then use a native client app that doesn't suck to interact with the service...all of the encryption is done client side with all of the messages being encrypted end to end. JavaScript encryption just isn't really valid in browsers...the browser runtime is to blame. Its funny that people have to…
That could happen. The API is already there, in JSON over HTTP. One could gut all the UI logic and run it in a node program, or rewrite the client.
Re: Scramble.io: secure email for everyone
#117Earlier quoted context omitted.
Let's stipulate that your detection system, which does not currently exist even as a design document, actually works. By your own admission, only a small minority of users will actually install it. Now: a whistleblower in the USG, who is much more likely not to be a "power user" (if they were clueful they wouldn't be using this system to begin with) leaks a document from your service to a journalist and begins a conv…
Tptacek, whistle blowers level security should not be a use case for this extension , and should be advertised as part of it. But decreasing the amount of dragnet surveillance by some extent sounds like a good thing to me. For example, many people wouldn't like the government to know mundane stuff about them, like having an abortion.This could help. * BTW haven't moxie written about an asynchronous diffie hellman key…
I find it far more dangerous for someone to think they're secure against government level threats, than to know they're not. And if you're not worried about government level threats, gmail with MFA and pinned chrome certs is likely safer than this project. Of course, this is all just my humble opinion...
Re: Scramble.io: secure email for everyone
#118Earlier quoted context omitted.
It is impossible. The features required to make browser Javascript safe for crypto aren't even on the roadmaps of browser vendors. Your reason for using browser Javascript for crypto --- here, Recurity's JS PGP implementation --- is the same as every other JS crypto project's reason: doing everything in the browser makes it easier for users to adopt your project. You are not the first person to point this out and you…
Perhaps I'm ignorant, but I've read your "JS crypto considered harmful post" and I disagree with the key points. 1. Browsers, at least the ones that matter, provide window.crypto (with a CSPRNG). This makes generating IV's for CBC "safe," makes generating RSA keys "safe," makes generating random keys "safe." Or am I missing something? Assuming the JS crypto code itself is actually sound, the PRNG seems to be the miss…
When you're just an XSS away from an attacker doing:
function encrypt(plaintext) {
$.post(plaintext, ...);
return plaintext;
}
then you lose. The post talks about this, and XSS isn't the only way either.Re: Scramble.io: secure email for everyone
#119Earlier quoted context omitted.
Perhaps I'm ignorant, but I've read your "JS crypto considered harmful post" and I disagree with the key points. 1. Browsers, at least the ones that matter, provide window.crypto (with a CSPRNG). This makes generating IV's for CBC "safe," makes generating RSA keys "safe," makes generating random keys "safe." Or am I missing something? Assuming the JS crypto code itself is actually sound, the PRNG seems to be the miss…
Java, Python, etc don't have a DOM to consider. When you're just an XSS away from an attacker doing: function encrypt(plaintext) { $.post(plaintext, ...); return plaintext; } then you lose. The post talks about this, and XSS isn't the only way either.
Sure, you can set up your app to stupidly do evals everywhere, but you can program a bad app in any language.
> XSS isn't the only way either
That's very, very vague. I asked what the attack vectors are. Saying "others" doesn't really work for me.
Re: Scramble.io: secure email for everyone
#120Earlier quoted context omitted.
Just to clarify, as I've seen many of your responses to posts on this subject, you're advocating against use of javascript encryption in client-side applications served through the browser. If the encryption library were running on a server using node.js or packaged into a mobile app using a framework like Phonegap it doesn't matter that the implementation is in javascript, does it?
This relatively old webpage[1] talks about the possibility of side channel attacks in javascript(among other things).I believe this applies to Phonegap. [1] https://hellais.wordpress.com/2011/12/27/how-to-improve-java...
[1] http://www.contextis.com/files/Browser_Timing_Attacks.pdf