Conversation
|
Hi @StarHack, thanks for your contribution! It generally looks promising :-). Can you please make sure tests and pipeline passes. |
|
@tomgross Got encrypted file downloads working now in my prototype written in Go. Will port it over to this python solution once ready. And yes, I'll take a look at the test cases as well. |
|
@tomgross As mentioned before, I reverse engineered the entire crypto as it's unfortunately not open source; this is my current understanding of the architecture. OverviewDecrypting FilesWhen downloading an encrypted file:
Encrypting Files (not implemented)When uploading a file to an encrypted folder:
|
@tomgross
I managed to reverse engineer some parts of the decryption process:
For this backend I was not able to reverse the file content decryption process yet, unfortunately.Usage:
As for file contents, a bit more work is needed:
Encrypted CEK may be retrieved with
https://[e]api.pcloud.com/getfilelink?fileid=...&getkey=1&auth=...