Encrypted Files

EncFS – FUSE-based cryptographic filesystem

EncFS provides an encrypted filesystem in user-space. It runs in userspace, using the FUSE library for the filesystem interface.

EncFS encrypts individual files, by translating all requests for the virtual EncFS filesystem into the equivalent encrypted operations on the raw filesystem.

As with most encrypted filesystems, EncFS is meant to provide security against off-line attacks; i.e. your notebook or backups fall into the wrong hands, etc. The way EncFS works is different from the “loopback” encrypted filesystem support built into the Linux kernel because it works on files at a time, not an entire block device.

EncFS has been dormant for a while.

Key Features

  • Reverse mode – provides an encrypted view of an unencrypted folder. This enables encrypted remote backups using standard tools like rsync.
  • Faster than ecryptfs for stat()-heavy workloads when the backing device is a classical hard disk. This is because ecryptfs has to to read each file header to determine the file size – EncFS does not.
  • Works on top of network filesystems such as NFS and CIFS.
  • Uses PBKDF2 for password hashing.
  • File contents:
    • Uses CBC; last block CFB for encryption.
    • Uses HMAC for integrity.
  • File names:
    • Uses CBC for encryption.
  • Supports hard links and extended attributes.

Website: vgough.github.io/encfs
Support: GitHub Code Repository
Developer: Valient Gough
License: GNU Lesser General Public License

EncFS is written in C++. Learn C++ with our recommended free books and free tutorials.


Related Software

Encrypted FUSE-based file systems
CryptomatorMulti-platform transparent client-side encryption of files in the cloud
gocryptfsEncrypted overlay filesystem written in Go
CryFSCryptographic filesystem for the cloud
securefsAuthenticated and probabilistic encryption with efficient cloud synchronization
EncFSEncrypted filesystem in user-space

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments