CryFS vs gocryptfs
A side-by-side comparison of two self-hosted file sync & storage options — licensing, setup difficulty, resource needs, and what each one replaces.
| Feature | CryFS | gocryptfs |
|---|---|---|
| Deploy effort | Read-the-docs project | Read-the-docs project |
| Health score | 81 · Excellent | 80 · Excellent |
| Category | File Sync & Storage | File Sync & Storage |
| License | LGPL-3.0 | MIT |
| Language | C++ | Go |
| Setup difficulty | Medium | Medium |
| Min. RAM | 64 MB | 64 MB |
| Deployment | bare-metal, binary | bare-metal, binary |
| GitHub stars | ★ 2,306 | ★ 4,615 |
| First released | 2015 | 2016 |
| Replaces | Boxcryptor | Boxcryptor |
What are CryFS and gocryptfs?
CryFS
CryFS is an encrypted filesystem that hides file contents, metadata, and directory structure, making it ideal for placing inside a synced cloud folder. It splits data into equally sized blocks so the structure of your files stays private.
- Hides directory structure
- Block-based encryption
- Works inside cloud folders
- Cross-platform mounting
gocryptfs
gocryptfs is an encrypted overlay filesystem built on Go and FUSE that encrypts files individually so they can be synced efficiently. Each file maps to one encrypted file, making it friendly to incremental sync tools.
- Per-file encryption
- Fast random access
- Reverse mode for backups
- Audited cryptography
CryFS vs gocryptfs: key differences
CryFS is written in C++, while gocryptfs is built with Go. Licensing differs — LGPL-3.0 for CryFS versus MIT for gocryptfs. Gocryptfs has the considerably larger community, at 4,615 GitHub stars versus 2,306.
Why pick each one
Choose CryFS if…
- Strong metadata protection
- Pairs with any sync tool
Watch out for
- FUSE setup required
- Slower than plain storage
Choose gocryptfs if…
- Efficient incremental sync
- Well documented
Watch out for
- Requires FUSE
- Command-line oriented
Frequently asked questions
Is CryFS or gocryptfs better?
Neither is universally better. gocryptfs has the larger community; both share a medium setup difficulty, so the decision comes down to features and licensing.
Are CryFS and gocryptfs free and open-source?
Yes. CryFS is licensed under LGPL-3.0 and gocryptfs under MIT. Both can be self-hosted at no software cost.
Can I run CryFS and gocryptfs with Docker?
CryFS: check the project docs for container support. gocryptfs: check the project docs for container support.