cryfs
cryptographic filesystem for cloud storage
TLDR
Create and mount an encrypted filesystem
SYNOPSIS
cryfs [options] cipherdir mountpoint
DESCRIPTION
CryFS is a cryptographic filesystem designed specifically for cloud storage services like Dropbox, Google Drive, or OneDrive. Unlike other encrypted filesystems, CryFS encrypts not just file contents but also file sizes, metadata, and directory structure.
Files are split into fixed-size blocks that are individually encrypted and stored with random names. This prevents cloud providers and attackers from learning anything about your data, including which files changed and how large they are.
The encrypted data is stored in the cipher directory, which can be synced with cloud services. The mount point shows the decrypted view of your files. CryFS uses authenticated encryption with AES-256-GCM by default.
PARAMETERS
CIPHERDIR_
Directory where encrypted data is stored.MOUNTPOINT_
Directory where the decrypted filesystem is mounted.-c FILE, --config FILE
Use specified configuration file.-f, --foreground
Run in foreground instead of daemonizing.--allow-filesystem-upgrade
Allow upgrading the filesystem format.--show-ciphers
Show available cipher options.--unmount-idle MINUTES
Automatically unmount after idle time.--logfile FILE
Write logs to specified file.
CONFIGURATION
~/.cryfs/config
Stores filesystem configuration and cipher settings.
CAVEATS
Performance is lower than unencrypted filesystems due to encryption overhead and block-based storage. The cipher directory should be synced, not the mount point. Forgetting the password means permanent data loss. FUSE must be available on the system.
HISTORY
CryFS was created by Sebastian Messmer as his master's thesis project, with the first release in 2015. It was designed to address privacy concerns with cloud storage, providing stronger confidentiality guarantees than traditional encrypted filesystems like EncFS.
SEE ALSO
encfs(1), gocryptfs(1), veracrypt(1), fusermount(1)
