talira

gocryptfs

Encrypted overlay filesystem written in Go

open sourceMITfree

gocryptfs is file-based encryption mounted as a FUSE filesystem: each file is stored as one encrypted file in an ordinary folder (on disk, a USB stick or inside a Dropbox folder), so encrypted data syncs efficiently with tools like Dropbox or rsync and the filesystem grows only as needed. Inspired by EncFS, it sets out to fix EncFS's security problems while staying fast. It uses scrypt password hashing, GCM encryption for file contents and EME wide-block encryption for file names with a per-directory IV, and a reverse mode presents an encrypted view of plain files for backups. Version 1.0 came out in July 2016 after extensive stress and correctness testing. Linux is fully supported and macOS in beta; Cryptomator is a cross-platform alternative.

Ways to install

Package managers

Problems it solves

  • encrypt a folder before syncing it to Dropbox
  • encrypted files that sync efficiently with rsync
  • a secure replacement for EncFS on Linux
  • mount an encrypted directory on Linux

Features

  • FUSE mount
  • per-file encryption
  • scrypt, GCM and EME
  • reverse mode
  • dynamic size

Limitations

  • Linux is fully supported, macOS support is beta quality, and Windows and Android need third-party implementations (cppcryptfs, DroidFS)2

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what gocryptfs does.

  1. Cryptomator Client-side encryption for your cloud storage
  2. VeraCrypt Free disk encryption for Windows, macOS and Linux, based on TrueCrypt

Compare gocryptfs with the top 3