Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

And deduplication would work since the 2nd person would derive the same key for the data and thus can decrypt it?


Yes exactly.

key = f(data);

upload(encrypt(data, key));

store_key(filename, key);

Which is to say that every file has a globally 1-to-1 mapping to its encrypted version. I'm not sure how they are storing the (User, [(Filename,Key)]) data, but this is ideally encrypted on a per user basis, making any sort of per-user lookup attacks moot.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: