DESCRIPTION


About EncFS and K-EncFS

"EncFS provides an encrypted filesystem in user-space. EncFS runs without any special permissions and uses the FUSE library and Linux kernel module to provide the filesystem interface. You can find links to source and binary releases below.

As with most encrypted filesystems, Encfs is meant to provide security against off-line attacks; ie your notebook is stolen, your backups are stolen, 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.

You do not need to allocate storage ahead of time for EncFS.”

K-EncFS is a frontend to the EncFS encrypting utility.

NOTES:

There are two versions of K-EncFS: kencfs and kencfs2. You can use them simultaneously. Only kencfs2 will be maintained.

If you want to migrate from kencfs to kencfs2, copy the content of the folder pops-up with kencfs to the folder pops-up with kencfs2.


Prerequisites for the use of K-EncFS

K-EncFS has the following dependencies:

* python (>=2.3.5)
* python-qt3 (pyQt, >=3.15)
* python-KDE (pyKDE, tested version: 3.11.3)

* EncFS (tested versions: 1.2.4, 1.3.1) and its dependencies:
* FUSE (tested version: 2.6.1)
* RLog (a C++ logging library, tested versions: 1.3.6, 1.3.7)
* OpenSSL (versions 0.9.6, 0.9.7 and 0.9.8 have been tested.)

Visit the following home pages to download these dependencies:
http://arg0.net/encfs or http://encfs.sourceforge.net/
http://fuse.sourceforge.net/
http://arg0.net/wiki/rlog
http://www.openssl.org/

NOTE for Debian users: These utilities are included in Debian. You need not download and compile anything. Do not remove the line inserting fuse from the file /etc/modules! If you use Ubuntu, it must work from Dapper (it has not been tested).

NOTE for openSuSE 10.2 users: Just install encfs with its dependencies! Do not remove the line inserting fuse from the file /etc/modules!

Please do a comprehensive test before using this encryption utility!
The proposed minimal test for every created filesystem:
Copy a text file into the encrypted folder.
Unmount the filesystem.
Mount it again, and check the content of the text file.


Starting K-EncFS

K-EncFS first time can be started from the KDE menu tree.

It will be trayed after exiting the main window. (See the lock icon!) Left-clicking on the tray icon, the main window will appear. If you choose the 'Start with KDE', it will appear regularly at KDE startup.


Options and usage

If you are not an expert, choose a password and click on the button 'Create' to create an encrypted file system in your home directory. The folder encrypted will be located in .kencfs2/. The folder .encrypted will be used by the EncFS utility. Both folders are controlled by K-EncFS. Please do not modify/delete/create any file/folder in this directory! After creating your encrypted file system, click on the button 'Show'. You can copy files into this folder, you can edit and use (open) them.

If you finished your work, you can unmount this folder by clicking on the button 'Unmount'. Do not forget to close all of the applications using this folder (including Konqueror) before! Please do not copy any file/folder into this directory after unmounting it! Next time, you can use the encrypted folder by clicking on the button 'Mount'.

If you are an expert, click on the button 'Encoding...' Choose a cipher algorithm from the first combobox! ('AES', 'Blowfish' or 'Blowfish-compat')!

Please select a key size in bits. The cipher you have chosen supports sizes from 128 to 256 bits in increments of 64 bits as it is shown in the second combobox.

Then select a block size in bytes. The cipher you have chosen supports sizes from 64 to 4096 bytes in increments of 16. Values are shown in the third combobox.

Then select a filename encoding algorithm!
The following filename encoding algorithms are available:
1. Block : Block encoding, hides file name size somewhat
2. Null : No encryption of filenames
3. Stream : Stream encoding, keeps filenames as short as possible
If you choose 'Null', filenames will not be encoded.

ABOUT THE NEXT FOUR COMBOBOXES

Enable filename initialization vector chaining
This makes filename encoding dependent on the complete path, rather then encoding each path element individually. This is normally desireable, therefor the default is Yes.

Enable per-file initialization vectors
This adds about 8 bytes per file to the storage requirements. It should not affect performance except possibly with applications which rely on block-aligned file io for performance. The default here is Yes.

Enable filename to IV header chaining
This makes file data encoding dependent on the complete file path. If a file is renamed, it will not decode sucessfully unless it was renamed by encfs with the proper key. If this option is enabled, then hard links will not be supported in the filesystem. Moreover, the path and filename will be parameters used by the encryption method. The default is No.

If you choose the default (No), you can enable block authentication code headers on every block in a file. This adds about 12 bytes per block to the storage requirements for a file, and significantly affects performance but it also means (almost) any modifications or errors within a block will be caught and will cause a read error. The default here is No.

If you enable filename to IV header chaining, you can add random bytes to each block header. This adds a performance penalty, but ensures that blocks have different authentication codes. Note that you can have the same benefits by enabling per-file initialization vectors, which does not come with as great of performance penalty. Select a number of bytes, from 0 (no random bytes) to 8! The default here is 8.


NOTES:

Every user can create a separate encrypted filesystem, but only one.
You do not need to unmount the encrypted folder before logout, but it is advisable.
You do not need to unmount the encrypted folder before swithing off the computer. It will be unmounted automatically by the system.


About encryption utilities

An other way to protect your data is using an encrypted block device.

"Advantages of a pass-thru system vs an encrypted block device:

An empty EncFS filesystem consists of a couple dozen bytes. With a loopback encrypted filesystem, you allocate a filesystem ahead of time with the size you want.

An EncFS filesystem can be backed-up on a file-by-file basis. A backup program can detect which files have changed, even though it won't be able to decipher the files. This way backups can be made without needing to mount the encrypted filesystem.

An EncFS acts as a translator for filenames and file data and should theoretically be able to pass through to any underlying filesystem. You could have an EncFS filesystem on a DVD, or a DVD mounted remotely and served through a Samba server and mount it locally with EncFS in order to view the encrypted data (your mileage may vary).”



----- K-EncFS is released under the license of GPL -----

GILDE project (Graphical Interfaces to Learn Debian Easily).


(C) Big-Cat Software Association, 2007.

The content of this help is based on the manpages of EncFS by Valient Gough. The picture file_locked.png is from the iconset SnowIsh-1.0 created by Alexandre Moore (aka Saki), compiled for KDE by Arno Rehn. (SnowIsh for KDE was merged with NuoveXT (from Saki) to fit better with KDE.)