News for hackers. Stuff that matters.
Re:Mozilla’s Send makes it easy to send a file from one pers... by brianberns on Thursday August 03, 2017 @10:25AM (#14919833)
> Mozilla says it “does not have the ability to access the content of your encrypted file.”

This can't possibly be true. Since Mozilla is encrypting the file, they can also decrypt it (and must do so when the recipient downloads it).

Edit: I was wrong, but will leave this comment because the explanation is useful.

Re:Mozilla’s Send makes it easy to send a file from one pers... by ericmoritz on Thursday August 03, 2017 @10:36AM (#14919938)
I don't know for certain without digging into the code but they are probably using the WebCryptoAPI and doing everything client-side to encrypt the file.

The URL that is shared contains the key for the file. You'll notice that the URL contains a fragment identifier, i.e the #foo part of http://example.com/#foo, this isn't transmitted to the server by the browser and therefore the key isn't exposed beyond who the URL is shared to.

https://www.w3.org/TR/WebCryptoAPI/

Re:Mozilla’s Send makes it easy to send a file from one pers... by ericmoritz on Thursday August 03, 2017 @10:39AM (#14919959)
Re:Mozilla’s Send makes it easy to send a file from one pers... by criddell on Thursday August 03, 2017 @10:53AM (#14920076)
Doesn't it come down to us trusting Mozilla though?
Re:Mozilla’s Send makes it easy to send a file from one pers... by dragonwriter on Thursday August 03, 2017 @12:58PM (#14921325)
Yes, since they could change the JS without notice from to do something different, and could conceivably be ordered by a government to do so generally or targeting a specific set of users.
Re:Mozilla’s Send makes it easy to send a file from one pers... by brianberns on Thursday August 03, 2017 @10:40AM (#14919973)
I hadn't considered that possibility. Interesting idea. Thank you.
Re:Mozilla’s Send makes it easy to send a file from one pers... by b101010 on Thursday August 03, 2017 @10:46AM (#14920022)
The share links look like this

https:// send.firefox.com/download/<$file_identifier>/#<$encryption_key>

Data after the # in the url should not be sent to the http server by the client. Encryption/decryption is presumably handled in the users browser by JavaScript.

The statement about not having the ability to access the contents of the files is perhaps somewhat misleading as they do control the JavaScript that either creates the key or will be given access to the key when someone retrieves the file (by reading it off the end of the url).

Re:Mozilla’s Send makes it easy to send a file from one pers... by pbhjpbhj on Thursday August 03, 2017 @11:27AM (#14920404)
When inevitably someone copy-pastes the url in to Google search will Google visiting the URL then cause the file to be deleted before the intended recipient can download it?

Are there other ISP based systems, say, that perhaps sample the head of a file for anti-malware purposes that might do the same?

Re:Mozilla’s Send makes it easy to send a file from one pers... by pbhjpbhj on Thursday August 03, 2017 @11:37AM (#14920489)
Edit: seems to work fine, even used Facebook to post link (privately), and they apparently didn't trigger the deletion. Looks good.
Re:Mozilla’s Send makes it easy to send a file from one pers... by zeveb on Thursday August 03, 2017 @10:30AM (#14919862)
Mozilla also say that your Sync passwords are secure, but they aren't — they are secured with one's account password, which is processed by JavaScript downloaded from Mozilla. At any time they can target — or be compelled to target — a user with malicious JavaScript which sends his password (and hence access to all his 'secured' data) to Mozilla or any other organisation.
Re:Mozilla’s Send makes it easy to send a file from one pers... by jvannistelrooy on Thursday August 03, 2017 @10:31AM (#14919875)
What if it's encrypted on the client (browser)? I'm not saying they do, but then their statement could be true.
Re:Mozilla’s Send makes it easy to send a file from one pers... by Null-Set on Thursday August 03, 2017 @10:39AM (#14919958)
Your browser is encrypting the the file before upload.

https://github.com/mozilla/send/blob/master/frontend/src/fil...