-
-
Notifications
You must be signed in to change notification settings - Fork 45
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support attribute downloading #23
Comments
Attribute handlers are stored on the Encrypted attributes can be downloaded by requesting their upload URL using Seems Edit: video informations are stored encrypted with XXTEA. Why not AES? Maybe they wanted a smaller block size. Why not XSalsa20 (as MEGA already uses TweetNaCl)? I don't know... |
After working on this I know the answer: because XSalsa20 is not a block cipher, is a stream cipher. Looks like they want to reduce the space used by the ciphertext, then they can't use a stream cipher because it would require to store a nonce and replace it every time otherwise information would leak. The same issue don't happens with block ciphers. |
You can debug a demo (node, or browser) of my unfinished library https://github.com/AlttiRi/meganz-api to investigate how it works. |
Here are my old first demo tests of that: The current code in |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Currently only uploading attributes (thumbnail and preview images) are supported.
The text was updated successfully, but these errors were encountered: