LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

encfs

user-space encrypted filesystem using FUSE

TLDR

Create/mount encrypted directory
$ encfs [~/.encrypted] [~/private]
copy
Create with standard mode
$ encfs -s [~/.encrypted] [~/private]
copy
Unmount encrypted directory
$ fusermount -u [~/private]
copy
Change password
$ encfsctl passwd [~/.encrypted]
copy
Show volume info
$ encfsctl info [~/.encrypted]
copy
Idle timeout unmount
$ encfs -i [10] [~/.encrypted] [~/private]
copy

SYNOPSIS

encfs [options] encdir mountpoint

DESCRIPTION

encfs provides encrypted filesystem in user-space using FUSE. It encrypts files individually, storing them in a directory with encrypted names and contents.The tool is useful for encrypting cloud-synced folders or sensitive directories. Each file is encrypted separately, allowing efficient sync of changed files.

PARAMETERS

-s

Single-threaded mode.
-f
Run in foreground.
-v
Verbose mode.
-i minutes
Idle timeout before unmount.
-o options
FUSE mount options.
--standard
Use standard (safer) settings.
--paranoid
Use paranoid settings.
--reverse
Reverse mode for backups.
--extpass cmd
External password program.

CONFIGURATION

.encfs6.xml

Configuration file stored in the encrypted directory containing encryption parameters and settings.

INSTALL

sudo apt install encfs
copy
sudo pacman -S encfs
copy
sudo apk add encfs
copy
sudo zypper install encfs
copy
brew install encfs
copy

CAVEATS

Leaks file sizes and directory structure. Not resistant to watermarking attacks. Consider newer alternatives like gocryptfs. FUSE adds overhead. Passphrase recovery not possible.

HISTORY

encfs was created by Valient Gough in 2003. It pioneered user-space encrypted filesystems on Linux. While popular for years, security audits revealed weaknesses, leading to recommendations for alternatives like gocryptfs for new deployments.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid