Encfs
From wikinotes
encfs is a cross platform virtual filesystem that allows you to mount/decrypt directories.
Useful for encryption over network shares, or sharing secrets within dropbox.
WARNING:
Keep backups of your .encfs6.xml files!!! These were not successfully obtained with my rsync backup, which rendered all of my encrypted volumes (and their backups) useless.
Install
Linux
sudo pacman -S encfsFreeBSD
sudo pkg install fusefs-encfs sudo kldload fusefs sudo sysctl vfs.usermount=1 ## allow non-root users to perform mountsStart fuse on boot
# /boot/loader.conf fuse_load="YES"You may need to configure fuse to allow non root user mounting. (untested)
# /etc/fuse.conf user_allow_other
Windows
Use encfsmp.
2016- encfs4win (cli port of encfs) depends on dokan which is no longer maintained.
Usage
encfs ~/encrypted/location ~/decrypted/location # Create, or mount fusermount -u ~/decrypted/location # unmount on linux umount ~/decrypted/location # unmount on bsd