Re:Firefox Send: Free encrypted file transfer service
by dchest on Tuesday March 12, 2019 @05:36PM
(#19373303)
In a browser, the server serving the JS has an opportunity to access the keys.
[ Parent
| on HN ]
Re:Firefox Send: Free encrypted file transfer service
by anon4242 on Wednesday March 13, 2019 @02:44PM
(#19382044)
This is the case with all E2EE tools. You have to trust that they do their crypto correct and that they aren't evil. As Firefox Send is open source you can setup your own server if you don't trust Mozilla, but then again, if you don't trust Mozilla you might want to eyeball their code carefully first...
Re:Firefox Send: Free encrypted file transfer service
by dchest on Wednesday March 13, 2019 @05:08PM
(#19383801)
Your description is very simplistic, but yes, you have to trust the code that's delivered to you. For example, no Android/iOS user would check every single update to E2EE apps they install for backdoors. However with web, there's an opportunity for a backdoor in every single request and the server can ship different code to different users. In my opinion, using web cryptography is still worth it, but it's definitely more risky than native apps.
Re:Firefox Send: Free encrypted file transfer service
by wereHamster on Wednesday March 13, 2019 @04:32AM
(#19376783)
subtlecrypto has API to generate a keypair that you can't extract and access from the JS side. You can only use it to encrypt/decrypt buffers, but not access the key itself.