Encfs: Difference between revisions
From wikinotes
Line 20: | Line 20: | ||
<source lang="bash"> | <source lang="bash"> | ||
sudo pkg install fusefs-encfs | sudo pkg install fusefs-encfs | ||
sudo kldload fusefs | sudo kldload fusefs.ko | ||
sudo sysctl vfs.usermount=1 ## allow non-root users to perform mounts | sudo sysctl vfs.usermount=1 ## allow non-root users to perform mounts | ||
</source> | </source> |
Revision as of 22:57, 15 November 2021
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.ko 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