News for hackers. Stuff that matters.
Re:Firefox Send: Private, Encrypted File Sharing by Yoric on Wednesday October 11, 2017 @11:07AM (#15450357)
Send is meant to be an improvement on Dropbox & co for a specific use case.

Is it perfect? No, it isn't. But it is still a considerable improvement.

If you have a better solution in mind for the average user crowd, feel free to suggest it, of course.

Re:Firefox Send: Private, Encrypted File Sharing by carussell on Wednesday October 11, 2017 @01:19PM (#15451389)
Spec out and implement resource pinning, already. Like RFC 8246, but authored more with the user's interests in mind, rather than the service's.

As a show of nothing-up-the-sleeve, a service asserts that it's in a stable state and will continue to serve exact copies of the resources as they exist now—that they will not change out from beneath the client in subsequent requests. When a user chooses to use resource pinning, the browser checks that this is true, and if finding a new deployment has occurred, the browser will refuse to accept it without deliberate consent and action from the user (something on par with invalid cert screen).

This means that for a subset of services (those whose business logic can run primarily on the client side), the users need not trust the server, they need only to trust the app, which can be audited.

When deploying updated resources, services SHOULD make the update well-advertised and accompany it with some notice out of band (such as a post about the new "release", its changelog, and a link to the repo), so the new deployment may be audited.

When new deployments occur, clients SHOULD allow the user to opt for continuing to using the pinned resources, and services SHOULD be implemented in such a way that this is handled gracefully. This gives the user continuity of access while the user (or their org) is carrying out the audit process.

Areas where this would be useful:

- HIPAA compliance

- Web crypto that isn't fundamentally broken

- Stronger guarantees for non-local resources used in Web Extensions—in fact, the entire extension update mechanism could probably be more or less rebased on top of the resource pinning policy

Re:Firefox Send: Private, Encrypted File Sharing by idle_zealot on Wednesday October 11, 2017 @03:25PM (#15452609)
This sounds a lot like Beaker [1], a browser based off on Dat [2]. It allows creation of shared resources (web pages) with immutable version tracking, among other things.

1: https://beakerbrowser.com/ 2: https://datproject.org/

Re:Firefox Send: Private, Encrypted File Sharing by the8472 on Wednesday October 11, 2017 @02:20PM (#15451946)
This would also have the added bonus that one could reload such pinned resources from anywhere once you got the pin. Even without TLS setup or having to trust certificate chains.

Caching proxies would suddenly become viable again because only the first download has to through HTTPS while "I don't have this in the local cache anymore, can you serve me this content" requests could go through sidechannels or outside the TLS handshake or something like that. Caches could even perform downgrade non-attacks.

Re:Firefox Send: Private, Encrypted File Sharing by Dylan16807 on Wednesday October 11, 2017 @04:11PM (#15453016)
How many pins would you expect a browser instance to have? I feel like most of the time the pinned content could fit in the browser cache and make this variety of proxy-side caching pointless.
Re:Firefox Send: Private, Encrypted File Sharing by the8472 on Wednesday October 11, 2017 @05:00PM (#15453442)
Immutable content is a prerequisite for pins. The caching benefits mostly fall out of the immutability, not the pinning. So as long as the hypothetical standard would allow one to be used without the other additional uses could fall out of that stack.
Re:Firefox Send: Private, Encrypted File Sharing by Dylan16807 on Wednesday October 11, 2017 @06:31PM (#15454111)
My point is, those particular benefits only exist in a narrow circumstance where the browser is half-caching.
Re:Firefox Send: Private, Encrypted File Sharing by zeveb on Wednesday October 11, 2017 @01:08PM (#15451308)
> But it is still a considerable improvement.

When it's secure, it's an improvement; if Mozilla, a Mozilla employee or a government which can compel Mozilla employees chooses to make it insecure, then it's worse than insecure. At least with something like Dropbox users (should) know that they are insecure and should not transmit sensitive files.

> If you have a better solution in mind for the average user crowd, feel free to suggest it, of course.

The functionality should be built into Firefox, so that users can verify source code & protocols once and know that they are secure thereafter.

Re:Firefox Send: Private, Encrypted File Sharing by damnyou on Wednesday October 11, 2017 @04:58PM (#15453426)
And re-check them after every update?

And trust that Mozilla won't randomly distribute a backdoor to 1/n of users?

The means you're suggesting aren't possible to implement for most people today. If you care about real-world impact I would recommend thinking of other strategies.

Re:Firefox Send: Private, Encrypted File Sharing by cyphar on Wednesday October 11, 2017 @08:10PM (#15454661)
Reproducible builds effectively solve this problem, by making it possible to actually verify that you got the same binary (from the same source) as everyone else. Not to mention that if you're on Linux, distributions build Firefox themselves and so attacks against users need to be far larger in scale for 1/n attacks.
Re:Firefox Send: Private, Encrypted File Sharing by damnyou on Wednesday October 11, 2017 @08:40PM (#15454790)
They're both important steps, but neither solves the problem. Most users don't verify the reproducibility of their builds and don't use Linux.
Re:Firefox Send: Private, Encrypted File Sharing by cyphar on Wednesday October 11, 2017 @08:46PM (#15454816)
It solves the problem for users that use Linux. If other operating systems cared about making software distribution sane, they could also use package managers. It's a shame that they don't. As for verifying reproducibility, if you're using a package manager then this verification is quite trivial (and can be done automatically).

Solving the problem for proprietary operating systems that intentionally have horrific systems of managing the software on said operating system is harder due to an artificial, self-inflicted handicap. "Just" switching people to Linux is probably easier (hey, Google managed to get people to run Gentoo after all).

Re:Firefox Send: Private, Encrypted File Sharing by damnyou on Wednesday October 11, 2017 @09:45PM (#15455072)
To repeat myself, for real world impact the only metric that counts is how many actual people benefited, not how many people benefit in ideal circumstances.

If your solution is to switch the entire world to Linux then you may want to figure out how to do that. Many have tried and failed before. Good luck.

Re:Firefox Send: Private, Encrypted File Sharing by takeda on Wednesday October 11, 2017 @12:46PM (#15451124)
Well there's reasoning which states that bad security is worse than no security.

The reason for it, is that if you trust the site to be secure it might be devastating once security is compromised, but with no security you're typically more careful.

Re:Firefox Send: Private, Encrypted File Sharing by Nexxxeh on Thursday October 12, 2017 @05:08AM (#15456651)
We are more careful, as in the HN crowd. The general public? I'd wager "not so much".
Re:Firefox Send: Private, Encrypted File Sharing by jhasse on Wednesday October 11, 2017 @12:28PM (#15450978)
Sending the file over an end to end encrypted chat app.
Re:Firefox Send: Private, Encrypted File Sharing by codebolt on Wednesday October 11, 2017 @03:52PM (#15452852)
Even then, you are trusting the app to do what it says it's going to do. The only way I feel 100% safe is encrypting the file manually before sending (through whatever platform), and sharing the key through some other medium (preferably word of mouth).

As a Windows user I mostly use 7-zip for this purpose, or the encryption plugin in Notepad++ for text.

Re:Firefox Send: Private, Encrypted File Sharing by cyphar on Wednesday October 11, 2017 @08:01PM (#15454612)
If the app is free software it can be audited. The problem with web-based crypto is that you're downloading a new program every page refresh and executing it immediately. If you're worried about a free software app not encrypting things properly, I'd be worried about the tools you use manually doing the right thing as well.

While I agree that doing it manually is the only reliable way if you're going to send it over an insecure channel, if the channel is secure then it's much easier for an end-user to just send it in the app.

Re:Firefox Send: Private, Encrypted File Sharing by pleasecalllater on Thursday October 12, 2017 @02:47AM (#15456114)
And that's still just a feeling. You just feel you can trust the encryption application. Which can be changed any time in the future in a way it is not secure any more.

You just need to trust. So what's wrong in trusting Mozilla, if you can easily trust your encryption/decryption software?

Re:Firefox Send: Private, Encrypted File Sharing by galaxyLogic on Saturday October 14, 2017 @01:19PM (#15473128)
Why would you trust 7-zip or NotePad++ more than FireFox?
Re:Firefox Send: Private, Encrypted File Sharing by jhasse on Monday October 16, 2017 @03:48PM (#15486107)