gocryptfs encrypts files individually and exposes them through a mountable FUSE filesystem. It runs primarily on Linux with beta macOS support and aims to improve on EncFS-style designs.
Overview
gocryptfs provides file-based encryption implemented as a userspace filesystem layered on FUSE. Each plaintext file maps to one encrypted file on disk, so ciphertext can live in an ordinary folder, on removable media, or inside sync tools such as Dropbox or rsync without re-encrypting whole disk images. Capacity grows with available space rather than a fixed encrypted volume size.
The project documents Scrypt password hashing, GCM for file contents, and EME wide-block encryption for file names with per-directory initialization vectors. It was inspired by EncFS and is presented as addressing security weaknesses of that approach while keeping competitive performance in published benchmarks. A standalone reverse mode can encrypt an existing tree into a cipher directory. Security design notes and a third-party cryptography audit are linked from the documentation.
Linux is the primary platform, with beta-quality macOS support. Prebuilt x86_64 Linux binaries and distribution packages are available, and usage follows init-then-mount workflows through the CLI. Companion tools in Python can inspect or create encrypted material without mounting FUSE. Third-party GUIs include SiriKali on Linux and macOS and a separate Windows reimplementation.
Because only encrypted blobs are stored at rest, syncing or backing up the cipher folder avoids exposing plaintext to the remote copy. Users are advised to retain master key material and backups because config or password loss can lock data.
Key features
- Per-file encryption at rest
- FUSE mount for transparent access
- Forward and reverse mount modes
- Sync-friendly ciphertext layout
- Encrypted overlay with scrypt
- CLI with stable ABI for scripting
- Distribution packages and binaries
- Python helpers without FUSE
Use cases
- Encrypting a folder before cloud sync
- Portable encrypted storage on USB
- Protecting data on shared backups
- Selective encryption without full-disk tools