by zxcvgm · 6y ago · 0 comments
Out of curiosity, I did some technical analysis¹ of how your files were being encrypted to see if they were really secure and as a side-effect, also wrote a Go client for it.
An interesting property I did discover about the way the encryption keys are derived is that the scheme allows you to delegate an oblivious third-party to download the blob for you, without actually revealing the file contents to them.
¹ https://irq5.io/2019/05/14/data-encryption-on-firefox-send/
You said that "note that URL fragments are never sent to the server", which is true when uploading the file. But when someone is downloading the file, they need to use this full URL with secret key right? By then, the server will get the key and can decrypt the file themselves.
> Note that URL fragments are never sent to the server. They are often used for page anchors, and sometimes to keep track of local state in SPA.