Introduction
Cloud storage services like Dropbox and Google Drive offer unparalleled convenience but often at the cost of privacy. While client-side encryption is the standard defense against provider-side data breaches, it typically forces users to choose between weak, memorable passwords or complex, centralized key management systems. OmniShare bridges this gap by providing high-entropy, client-side encryption that maintains a seamless multi-device experience without relying on third-party key servers.
The Key Distribution Challenge
Mainstream cloud security often falls into two traps. First, many solutions derive encryption keys from user-chosen passwords, which typically offer only about 20 bits of entropy, leaving them vulnerable to offline dictionary attacks. Second, systems that use stronger keys often require centralized servers to manage them, introducing new points of failure and privacy risks. OmniShare addresses these issues by using cryptographically strong (128-bit) keys and bootstrapping trust through physical proximity.
System Architecture
Directory-Based Key Hierarchy
At the core of OmniShare is a tree-based key structure. Instead of a single master key, the system employs a hierarchy where a Root Key (RK) encrypts Directory Keys (Kd), which in turn encrypt individual File Keys (Kf). This "lock-box" approach ensures that sharing a specific file or folder does not compromise the rest of the user's data.
Out-of-Band (OOB) Authentication
To authorize a new device, OmniShare utilizes Out-of-Band (OOB) channels to prove physical presence. This prevents remote attackers from hijacking the authorization process. Supported channels include:
- QR Codes: For visual transfer of public key hashes.
- Ultrasonic Audio: Using high-frequency "chirps" (16.2–17.2 kHz) to transmit data between devices in the same room.
- 6-Digit Passcodes: A manual fallback using the Secure Remote Password (SRP) protocol.
Once trust is established via these physical channels, the devices use the cloud storage itself as a signaling channel to exchange encrypted protocol messages, eliminating the need for a dedicated backend server.
Performance and Security Evaluation
The authors evaluated OmniShare using a Microsoft Surface Pro and a Samsung Galaxy S6, with Dropbox as the cloud backend.
- Cryptographic Overhead: RSA key generation takes approximately 93ms on Windows and 395ms on Android. Encrypting a 1MB file takes between 211ms and 277ms, a negligible delay for standard cloud operations.
- Authorization Speed: Pairing a new device via QR or ultrasonic channels takes 16–21 seconds. The manual passcode method takes 40–45 seconds. Most of this time is attributed to cloud synchronization latency rather than local computation.
- Formal Verification: Using the Scyther tool, the authors mathematically proved that the authorization protocols maintain secrecy and agreement, ensuring that an adversary cannot learn the Root Key without interfering with the physical OOB interaction.
Conclusion and Future Directions
OmniShare demonstrates that high-security, client-side encryption can be both usable and serverless. By leveraging physical proximity for trust and a hierarchical key structure for access control, it provides 128-bit security for cloud data. Future work includes refining the user interface to prevent accidental data loss and exploring advanced cryptographic techniques like Fully Homomorphic Encryption (FHE) to enable searching over encrypted data.
Summary updated