LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gocryptfs

Encrypted overlay filesystem using FUSE

TLDR

Create encrypted directory
$ gocryptfs -init [cipher-dir]
copy
Mount encrypted directory
$ gocryptfs [cipher-dir] [mount-point]
copy
Unmount
$ fusermount -u [mount-point]
copy
Change password
$ gocryptfs -passwd [cipher-dir]
copy
Show info
$ gocryptfs -info [cipher-dir]
copy

SYNOPSIS

gocryptfs [options] cipherdir [mountpoint]

DESCRIPTION

gocryptfs is an encrypted overlay filesystem written in Go. It encrypts files individually using AES-256-GCM, storing ciphertext in a directory while presenting plaintext through a FUSE mount.The tool provides file-level encryption with encrypted file names, enabling safe cloud backup of encrypted data. Metadata leakage is minimized compared to full-disk encryption alternatives.

PARAMETERS

CIPHERDIR

Encrypted directory.
MOUNTPOINT
Where to mount.
-init
Initialize new volume.
-passwd
Change password.
-info
Show volume info.
-fg
Run in foreground.
-allow_other
Allow other users.
--help
Display help information.

CONFIGURATION

gocryptfs.conf

Per-volume configuration file stored in the cipher directory, containing encryption parameters and the encrypted master key.

INSTALL

sudo apt install gocryptfs
copy
sudo dnf install gocryptfs
copy
sudo pacman -S gocryptfs
copy
sudo apk add gocryptfs
copy
sudo zypper install gocryptfs
copy
brew install gocryptfs
copy
nix profile install nixpkgs#gocryptfs
copy

CAVEATS

FUSE required. File sizes visible. Password recovery impossible without master key backup.

HISTORY

gocryptfs was created as a modern, audited alternative to EncFS, using authenticated encryption and written in Go.

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