2 ms·
Technically if a client has a full index version X (in plaintext), it could modify X to get X+1, compute a binary diff between X and (X+1) - encrypt and upload
by e12e 10y ago
Technically if a client has a full index version X (in plaintext), it could modify X to get X+1, compute a binary diff between X and (X+1) - encrypt and upload the diff.
Another client on index version X could download the diff, and get index (X+1).
Some desktop client should probably do compaction from time to time.
- GordonS 10y agoI'd you are using a new IV when encrypting the new index then this won't work, since the old and new indexes will be completely different.
- e12e 10y agoYou would have to re-download the index after compaction. But the index and patches would be independent - you apply the decrypted patches to the decrypted index.