Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Rust
  3. zbox

zbox

Apache-2.0Rust0.9.2

A zero-details, privacy-focused in-app file system that encrypts files and directories into a secure repository.

Visit WebsiteGitHubGitHub
1.5k stars85 forks0 contributors

What is zbox?

ZboxFS is an in-app, embedded file system that provides secure, encrypted storage for applications. It solves data privacy and security challenges by encapsulating files into an encrypted repository accessible only to the authorized process. Developers can use it to store sensitive data without relying on external, less secure storage solutions.

Target Audience

Developers building applications that require secure, private file storage, such as password managers, document editors, or any software handling sensitive user data across platforms (Linux, macOS, Windows, Android).

Value Proposition

ZboxFS offers a unique combination of full encryption, multiple storage backends, and built-in data deduplication in a single embedded library. Unlike disk encryption tools or OS-level file systems, it provides exclusive per-process access, versioning, and ACID transactions without requiring complex configuration.

Overview

Zero-details, privacy-focused in-app file system.

Use Cases

Best For

  • Securely storing sensitive user data in mobile or desktop applications
  • Building encrypted document or note-taking apps with version history
  • Adding private, encrypted file storage to existing Rust projects
  • Developing cross-platform applications that need consistent storage encryption
  • Implementing secure backup solutions with deduplication and compression
  • Creating privacy-focused software that avoids cloud provider lock-in

Not Ideal For

  • Applications requiring shared file access across multiple processes
  • Projects dependent on POSIX file permissions or symbolic links
  • Systems with 32-bit architectures or unsupported operating systems
  • High-performance use cases where encryption overhead degrades speed

Pros & Cons

Pros

Full Data Encryption

Encrypts all file contents, metadata, and directory structures using AES-256-GCM or XChaCha20-Poly1305, ensuring no data leaks to underlying storage, as stated in the README's feature list.

Flexible Storage Backends

Supports memory, OS files, SQLite, Redis, and cloud storage via abstracted IO layers, allowing developers to choose based on deployment needs, with specific URI identifiers and Cargo features.

Built-in Deduplication and Compression

Implements content-based and file-based deduplication with optional LZ4 compression, optimizing storage efficiency, as detailed in the specs and features section.

ACID Transactions and Versioning

Provides ACID-compliant transactional operations and file content versioning with copy-on-write semantics, ensuring data integrity, highlighted in the comparison table.

Cross-Platform Support

Runs on 64-bit Linux, macOS, Windows, and Android, enabling consistent encrypted storage across platforms, though limited to 64-bit systems per the README.

Cons

Limited Platform Compatibility

Only supports 64-bit systems; 32-bit and other OS are not supported yet, restricting deployment options, as explicitly noted in the README's platform section.

Missing POSIX Features

Lacks symbolic links, file permissions, and other standard file system capabilities, which may break compatibility with applications expecting full POSIX compliance, as shown in the comparison table.

Performance Overhead

Encryption and deduplication introduce significant slowdowns, with performance tests showing read/write speeds much lower than baseline file operations, indicating a trade-off for security.

External Dependency Complexity

Requires libsodium >= 1.0.17, adding an external dependency that needs manual installation or bundling, complicating setup unless features like 'libsodium-bundled' are used.

Open Source Alternative To

zbox is an open-source alternative to the following products:

T
TrueCrypt

TrueCrypt was an open-source disk encryption software for creating encrypted virtual drives and encrypting entire partitions or storage devices.

VeraCrypt
VeraCrypt

VeraCrypt is a free open-source disk encryption software for Windows, macOS, and Linux that creates encrypted virtual disks and encrypts entire partitions or storage devices.

E
EncFS

EncFS is an encrypted filesystem in user-space that uses FUSE to provide transparent encryption of files and directories.

Frequently Asked Questions

Quick Stats

Stars1,543
Forks85
Contributors0
Open Issues17
Last commit2 years ago
CreatedSince 2017

Tags

#crypto#filesystem#storage#deduplication#privacy#encryption#storage-abstraction#cross-platform#fs#rust#data-security#libsodium#acid-transactions

Built With

S
SQLite
l
lz4
l
libSodium
R
Rust
D
Docker
R
Redis

Links & Resources

Website

Included in

Rust56.6k
Auto-fetched 22 hours ago

Related Projects

OpenDALOpenDAL

Apache OpenDAL: One Layer, All Storage.

Stars5,148
Forks767
Last commit1 day ago
tempfiletempfile

Temporary file library for rust

Stars1,434
Forks147
Last commit3 days ago
CaminoCamino

Like Rust's std::path::Path, but UTF-8.

Stars556
Forks26
Last commit2 months ago
fs_extrafs_extra

Expanding opportunities standard library std::fs and std::io

Stars334
Forks55
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub