Encrypted E-Mail Company Hushmail Spills to Feds (2007)
wired.com
wired.com
It's not that hard to do either. Nice point and click convenient web interface or true privacy. Pick one.
The 'catch' is that if the government already knows generically what incriminating data you have they can order you to produce it (as it's not any further incriminating). Or something like that? Recent decision though, so things can still change.
http://yro.slashdot.org/story/13/04/24/1458203/federal-magis...
I know that seems like it's taking it to the logical extreme, but if they can compel web service authors to alter their apps to insert exploits (assuming that's what happened), why couldn't they compel open source desktop app authors to do the same?
The only difference being that the GPG authors would have to be really sneaky to avoid code review. Possibly with "help" from the NSA.
- The FBI compels lavabit through a FISA warrant/NSA to produce Snowden's emails/data/etc.
- This data is encrypted, so lavabit cannot comply immediately. However, on logging in, Snowden provides lavabit with his password so that they can decrypt the emails.
- Since lavabit then has the password and access to the emails, they are now required to hand that over to the government. They may need to add some code to store the password, but that is not a fundamental change to the system; it is merely a way of intercepting the data they are sent and required to hand over to the government.
So [I think that] the government does not order lavabit to make changes, it orders it to produce evidence. Such an order would not make much sense when aimed at the GPG authors.
Lot's of people who should be locking down their email are now pretending nothing is wrong. Denial can be very strong.
Say for instance you are a psychiatrist who wants to offer patients a fairly secure method of talking to you. Or you are a small business doing work in China.
> Say for instance you are a psychiatrist who wants to offer patients a fairly secure method of talking to you.
If you are a psychiatrist, your threat model ought to include the police.
If the entire connection to the server is secure, and the JS is loaded from the secure server and is auditable/checksummed, then the risk is minimal. You either trust the code or you get out.
If you only run code that matches a static, hardcoded checksum then there's no point in downloading it. Might as well just store a copy of it because now you have a client application. On the other hand, if you already have a secure method of receiving a checksum you can trust, you might as well just use that other, magically incorruptible communication channel for downloading all the code (and all your email, for that matter).
Which is one of the most commonly cited vulnerabilities with web-based crypto. The fact that no JS was involved doesn't really change anything.
> If the entire connection to the server is secure, and the JS is loaded from the secure server and is auditable/checksummed, then the risk is minimal. You either trust the code or you get out.
I assume you're referring to client-side, JS-based encryption. The problem is that the server can always slip a backdoor into the webpage, and your browser will dutifully execute it. It doesn't matter if the JS is sent via SSL. A compromised server can deliver compromised JS, and SSL provides no protection against that.
You can't practically audit for this. You could theoretically read the JavaScript. But performing a thorough audit on a cryptosystem is a big undertaking. And then how do you know it hasn't changed the next time you visit the page? You mentioned checksums, but how are you going to do that? Are you going to manually MD5 the JS file on every visit?
Even if you did, the JS file is just one of many ways a compromised server can backdoor your browser. For example, we recently learned about HTML5 timing attacks (http://www.contextis.com/files/Browser_Timing_Attacks.pdf). And that's just the tip of the iceberg. Checksums aren't going to tell you if these sorts of things are happening.
A compromised server can compromise any data entered into webpages it serves. There is no known way around this.
As Snowden, Manning, Assange and now the guy behind Lavabit are demonstrating, there is always a choice.
Hushmail could easily have just shutdown.
For lavabit for all appearances did not have access to any information the government wanted and was not ordered to hand anything over. It seems like they were probably ordered to implement a method for the government to gain access to future communications. They choose to close up shop rather then implement this access and lie to their customers about the security of the service.
HushMail strongly suggested that when given a court order and the targeted user was using the client-side Java applet, that Hushmail sent a backdoored applet. That technically could be detecting by checking hashes, but in practice...
It's an open question whether companies can be forced to build backdoor, but that sure looks like what happened to Hushmail and Lavabits.
(just noting that I'm the author of this more than 5 year old story).
> can be forced to build backdoor,
It seems like they have the option of shutting down as an alternative to implementing a backdoor and lying to their customers about the level of security. If you know of examples of business forced to stay open and the owners forced to continue to work at a company for the purpose of government investigation I would be interested in learning more.
You _always_ have a choice.
And the fact that even Hushmail said that they could be forced to serve malformed Java applets to targets.
EDIT: Not defending Hushmail here, but at least they have some warnings about the risks.
"The algorithm provides virtually no cryptographic security..." - https://en.wikipedia.org/wiki/ROT13
It's very well-defended against random leakage across the Internet, against hacking attacks, etc.
The government has an easier time of getting access to it if I piss them off, but if I do piss them off enough they can essentially invent bad stuff regarding me anyways, and I'm screwed no matter what. Once I came into karmic balance with that I accepted it and went on with my life.
Of course, what's good for me is not necessarily what's good for you.