News for hackers. Stuff that matters.
Re:Firefox Send: Private, Encrypted File Sharing by Vinnl on Wednesday October 11, 2017 @12:44PM (#15451110)
> one has to trust Mozilla not to do that

Well, the advantage of the client is that you can inspect the source, so you can verify that it doesn't actually access location.hash.

Re:Firefox Send: Private, Encrypted File Sharing by the8472 on Wednesday October 11, 2017 @01:58PM (#15451714)
But software loaded from webpages are not immutable. They could be manipulated at any given time. So even if someone audits the code you still cannot trust it because all the audit would show is that the specific downloaded version which the auditor saw was non-malicious.

As long as websites have no fingerprints that encompasses all loaded resources and can't be pinned to that fingerpint crypto in the webbrowser is not trustworthy.

Re:Firefox Send: Private, Encrypted File Sharing by Jach on Wednesday October 11, 2017 @05:38PM (#15453719)
https://developer.mozilla.org/en-US/docs/Web/Security/Subres... can help verify everything loaded is what it's supposed to be. However you'd still need to verify that the set of things loaded is the set of things you expect, not just that the things are the things, and that requires having an out-of-band checklist or extension...
Re:Firefox Send: Private, Encrypted File Sharing by the8472 on Wednesday October 11, 2017 @05:59PM (#15453888)
SRI alone is insufficient. Maybe a strict CSP policy that exclusively allows hash sources and forbids eval could serve as an indicator that the scripts executed on a page are immutable. Probably needs some further conditions to make it airtight.
Re:Firefox Send: Private, Encrypted File Sharing by kijin on Wednesday October 11, 2017 @08:46PM (#15454815)
If you don't trust Mozilla, how do you trust them not to strip the CSP header whenever they want to serve malicious javascript?
Re:Firefox Send: Private, Encrypted File Sharing by the8472 on Thursday October 12, 2017 @02:23PM (#15460048)
you'd still have to implement a pinning feature. the hash-only-CSP part would just be the foundation which the pin checks.
Re:Firefox Send: Private, Encrypted File Sharing by eugeniub on Wednesday October 11, 2017 @03:13PM (#15452483)
In that case, wouldn't an alternative like OnionShare always be safer? The code is open source, it's a desktop app, and the source code is obviously immutable on your computer.
Re:Firefox Send: Private, Encrypted File Sharing by Nexxxeh on Thursday October 12, 2017 @05:04AM (#15456630)
Surly the safest option is to encrypt it yourself first?
Re:Firefox Send: Private, Encrypted File Sharing by ArneBab on Thursday October 12, 2017 @06:09AM (#15456877)
You could upload it to Freenet, then there won’t even be a record what was up- and downloaded by whom: No one will have the metadata.

Info: http://www.draketo.de/light/english/freenet/effortless-passw...

Install: https://freenetproject.org