Abstract
dump-it is a zero-knowledge storage utility for iOS. Media is encrypted on the device, split into chunks, and distributed across independent storage vendors. By treating storage as a commodity and routing chunks to the best real-time offer, the system reduces cost while preserving durability and giving the user full control over what stays local.
1. Design goals
- Zero knowledge: encryption keys never leave the device.
- Cost efficiency: shop the wholesale storage market continuously instead of paying a single vendor’s markup.
- Durability: tolerate the failure of any one vendor without data loss.
- Fidelity: preserve metadata end to end.
- Native performance: background syncing and playback that feel local.
2. System overview
The data path has four stages:
- Local ZK encryption — media is encrypted on the iPhone before upload.
- Smart chunking — files are split into content-defined chunks to avoid redundant storage.
- Multi-vendor routing — chunks are placed with the vendors offering the best rate, latency and durability.
- Instant reassembly — chunks are fetched, verified and decrypted back on the device.
3. Client-side encryption
Media is encrypted with AES-256-GCM. A per-file data key is generated on-device and wrapped by a master key derived from the user’s credentials. Wrapped keys are stored client-side; the service receives only ciphertext and cannot derive the keys.
4. Smart chunking
Files are split using content-defined chunking, so insertions or edits reuse most existing chunks. This reduces storage overhead and improves deduplication across a library without ever exposing plaintext to the server.
5. Multi-vendor routing
A vendor abstraction layer treats each storage provider as a commodity. The router scores vendors on real-time price, latency and durability, then distributes chunks under an erasure-coding scheme so that the loss of any single vendor is survivable. Because chunks are independent and encrypted, placement can change over time without affecting the user experience.
6. Metadata & EXIF preservation
EXIF, timestamps and location data are encrypted alongside the media and are never stripped. Galleries, sorting and restore-to-camera-roll therefore retain full context.
7. Retrieval & reassembly
On request, chunks are fetched from their vendors, integrity-checked, decrypted on-device, and reassembled for local playback or export. Playback can stream chunk-by-chunk, so a file does not need to be fully downloaded before it is viewable.
8. Threat model & limitations
We assume an honest-but-curious server and third-party vendors. The model does not defend against a compromised device, a lost album PIN, or metadata observable at the operating-system level (for example, approximate file sizes). Key recovery is intentionally impossible from our side.
9. Operational targets
- Durability target: 99.999999999% (eleven nines).
- Service availability target: 99.99%.
- All content encrypted in transit and at rest.
10. Glossary
- Content-defined chunking: splitting data at boundaries determined by its content, improving deduplication.
- Erasure coding: encoding data with redundancy so it can be reconstructed if parts are lost.
- AES-GCM: an authenticated encryption mode providing confidentiality and integrity.