Linux command
gocryptfs 命令
网络
复制后可按需替换文件名、目录或参数。
常用示例
Create encrypted directory
gocryptfs -init [cipher-dir]
Mount encrypted directory
gocryptfs [cipher-dir] [mount-point]
Unmount
fusermount -u [mount-point]
Change password
gocryptfs -passwd [cipher-dir]
Show info
gocryptfs -info [cipher-dir]
说明
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.
参数
- -init
- Initialize new volume.
- -passwd
- Change password.
- -info
- Show volume info.
- -fg
- Run in foreground.
- -allow_other
- Allow other users.
- --help
- Display help information.
FAQ
What is the gocryptfs command used for?
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.
How do I run a basic gocryptfs example?
Run `gocryptfs -init [cipher-dir]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -init do in gocryptfs?
Initialize new volume.