TL;DR
This paper introduces ECDedup, a novel approach to encrypted deduplication that combines secret sharing with decentralized server-aided encryption. By using a coding matrix as the encryption key, ECDedup efficiently secures data while enabling deduplication, offering significant performance improvements over existing methods.
What Problem Does This Paper Address?
Storing data in the cloud offers cost savings but raises critical concerns about data confidentiality and storage efficiency. Encrypted deduplication aims to solve this by deduplicating data after it's encrypted. However, traditional methods often generate encryption keys on the client side, making them vulnerable to offline brute-force attacks. Server-aided encryption (SAE) was introduced to mitigate this by offloading key generation to dedicated servers. While decentralized SAE schemes improve scalability, they often rely on computationally expensive cryptographic primitives, leading to performance bottlenecks that hinder their practical application in chunk-level deduplication systems. This paper addresses the challenge of achieving both robust security and high performance in decentralized encrypted deduplication.
Methods
The core innovation of ECDedup lies in its novel use of secret sharing to manage encryption keys in a decentralized server-aided encryption (SAE) framework. Instead of traditional key management, ECDedup employs a coding matrix derived from a Cauchy matrix as the "encryption key." This coding matrix is then shared among multiple decentralized key servers using a secret-sharing scheme.
Here's a breakdown of the key techniques:
- Coding-Based Secret Sharing: The coding matrix itself acts as the secret. It's decomposed into vectors, and each vector is distributed to a key server. Each key server then uses its unique secret to encrypt its received vector, effectively participating in the generation of the final coding matrix without ever seeing the whole matrix or the original data. This approach couples encryption and encoding into a single process.
- Content-Based Coding Matrix: To ensure that identical data chunks produce identical encrypted (coded) chunks for effective deduplication, the coding matrix is deterministically generated based on the content's hash. This is achieved by using elements derived from the chunk's hash to construct the Cauchy matrix.
- Optimized Matrix Generation: ECDedup introduces two optimization methods for matrix generation:
- Element-based matrix generation: This method couples server-aided encryption with element generation, allowing for pipelined processing and reducing communication overhead by only sending partial information (vectors) to key servers.
- Rolling-based matrix generation: This technique uses a sliding window to efficiently generate matrix elements, improving scalability for larger (n,k) parameters used in erasure coding.
- Blockchain Integration: For enhanced security, ECDedup integrates a private blockchain to manage decentralized key servers and uses zero-knowledge proofs to ensure the integrity of their secrets.
Datasets
The evaluation of ECDedup utilized four well-known deduplication datasets:
- Webs: 129 days' snapshots of website data (news.sina.com.cn).
- Linux: 253 versions of Linux kernel source code.
- RDB: 10 backups of a Redis key-value store database.
- GCC: 89 backups of GNU compiler collection source code files.
These datasets represent various typical workloads, including website snapshots, source code files, and database snapshots, providing a comprehensive evaluation environment.
Key Insights and Ideas
- Coding Matrix as the Encryption Key: The most significant insight is the innovative use of a coding matrix, derived from a Cauchy matrix, as the "encryption key." This elegantly couples the encryption and encoding processes, streamlining the system.
- Secret Sharing for Decentralized Key Management: Leveraging secret sharing for key management in a decentralized SAE setting is a breakthrough. It allows multiple key servers to collaboratively generate encryption keys without any single server holding the complete secret, enhancing security and preventing single points of failure.
- Performance Gains from Pipelining: The introduction of pipelining for matrix generation and server-aided encryption significantly boosts performance. This allows for parallel processing of data chunks, leading to substantial speedups.
- Deduplication Efficiency Maintained: By using content-based coding matrices, ECDedup ensures that identical data chunks result in identical coded chunks, preserving the crucial deduplication capability for storage efficiency.
Key Results
ECDedup demonstrates significant improvements over existing encrypted deduplication schemes:
- Client Throughput: ECDedup (pipeline) improves client throughput by 43.3% to 51.9% compared to centralized schemes.
- Key/Matrix Generation Time: ECDedup (pipeline) reduces key/matrix generation time by up to 33.7% compared to centralized server-aided encryption and is up to 14 times faster than ECDedup (vanilla) for larger (n,k) parameters.
- Encryption and Encoding Time: ECDedup (pipeline) reduces encryption and encoding time by up to 69.27% compared to centralized server-aided encryption and up to 51.19% compared to ECDedup (vanilla).
- Indexing Time: ECDedup exhibits a much lower average indexing time per chunk compared to GDH-Dedup, as it avoids complex cryptographic computations for indexing.
- Upload/Download Speed: ECDedup (pipeline) improves upload and download speeds by up to 15.2% and 34.6%, respectively, compared to centralized schemes.
- Blockchain Overhead: The integration of blockchain introduces a minimal overhead, less than 0.1% of the total system overhead.
Limitations and Future Work
- Invertibility of Matrices: The paper acknowledges that generated matrices might not always be invertible, requiring additional steps to ensure full rank. While they propose a method to handle this, it's an area that could be further optimized.
- Scalability for Fault Tolerance: The current scheme primarily focuses on achieving decentralized SAE for deduplication. While it uses RS codes, the discussion on generating additional n-k parity chunks for fault tolerance is deferred to future work.
- Future Work: The authors suggest exploring optimizations for generating n parity chunks to enhance fault tolerance and further investigate the performance of ECDedup in various real-world scenarios. They also mention the potential for further improvements in matrix generation efficiency.
Summary updated