Description:

DEVELOPMENT OF KENCFS IS FINISHED
==================================
This is the latest version of KEncFS. KEncFS was born to QT4 and KDE4.
Today QT5 libraries and KDE5-Plasma are now so widespread and more parties reach me requests to make KEncFS compatible with the latest environment.

For this reason, I decided to suspend the development of KEncFS and begin a new project called KEncFS-Plasma, which, in his first public version (2.0.1) will be identical to the last version of KEncFS, but optimized for QT5 and KDE5 libraries -Plasma. For KEncFS-Plasma, please see https://www.linux-apps.com/p/1170068/.

What Is This?
=============
KEncFS is a gui frontend for encfs. With KEncFS you can easily create, mount, umount and delete your encrypted filesystem.

Now it works in KDe4 and in KdePlasma5.

Use of KEncFS is very simple: to create a new encrypted filesystem you must create new or select two existent dirs, one directory to archive encrypted files and another directory to mount on the encrypted filesystem with encfs (a mountpoint). After this, you can select a conventional ID for your encrypted filesystem and then a password.

With KEncFS you can also manage your encrypted filesystem. You can browse, mount, umount, remove from list (not from disk) your encrypted filesystem, in easy way.

Author: Felice Murolo - Salerno - Italy
eMail: linuxboy@RE-MO-VEfel.hopto.org (delete RE-MO-VE and send your email)

/******************************************************************
** KENCFS - (c) 2010-2016 by Felice Murolo, all rigths reserved
** Author: Felice Murolo, Salerno, Italia
** eMail: linuxboy@RE-MO-VEfel.hopto.org
**
** GNU Lesser General Public License Usage
** KEncFS and it's sources may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
**/

INSTALL FROM SOURCE
=====================
Open a konsole into source dir and write

{2}gt; qmake-qt4
{2}gt; make
{2}gt; sudo make install

Note: the automatic installation is done in the following directories:

/usr/bin/ for KEncFS itself
/usr/share/doc/kencfs-1.3 for this README
/usr/share/kde4/apps/kencfs/translations for .qm files of languages
/usr/share/applications/ for kencfs.desktop file

If you want to change some of those path, adjust qmake kencfs.pro file.

Note: KEncFS has nothing to do with programs with similar name (for example k-encfs), who carry out similar functions. This is a new program designed specifically for KDE4.

=====
NEWS
=====
- KEnCFS is now in the Portage-tree for Gentoo! (25 sep 2011)
http://packages.gentoo.org/package/app-crypt/kencfs

- KEncFS is now in the AUR for ArchLinux! (28 dec 2012)
https://aur.archlinux.org/packages/kencfs/


==========
DONATIONS
==========
If you like this application, please donate something. All money raised will be donated to charity for meritorious initiatives.
Last changelog:

fix a bug into save configuration method. 4 months ago

04 feb 2017, version 1.6.4 - fix a bug into save configuration method. With last version of KDE, KEncFS won't save changes of filesystem list.

marcusbritanicus

11 months ago

Is there a way to change the password for an existing encfs volume?

Report

felmur

10 months ago

Hello, only today I read your message, sorry.
No, there isn't a way to change password of an existing encfs volume with KEncFS.... for now. Please try to do it manually. You can follow this guide: http://bredsaal.dk/how-to-change-encfs-password

Report

VaporEidolon

1 year ago

If you do something like this:
https://forum.kde.org/viewtopic.php?f=14&t=97199

The you can have nice lock icons in dolphin. However, kencfs cannot mount anymore due to the fact that fusermount needs the nonempty options.

Can you add the possibility to add the
"-o nonempty"
option to the encfs command line?

Report

VaporEidolon

1 year ago

KencFS asks for KDE wallet pwd even if it is not selected in config.

Report

felmur

1 year ago

Thank you. Please, check 1.6.1 version.

Report

VaporEidolon

1 year ago

Fixed, thanks! Two small niggles:
1) There is an empty toolbar below "File"
2) Would it be possible to have a better tray icon, more in line with standard Plasma Breeze icon?

Report

felmur

1 year ago

I had never noticed the empty toolbar below the menu. It must be a misprint of QtDesigner, so I eliminated. As for the icon, in one of many update of breeze, the "lock" icon default had disappeared, so I had replaced with another. Now I have recovered the original SVG icon breeze and I created a fixed icon for the application. Check version 1.6.2.

Report

VaporEidolon

1 year ago

Awesome!

Report

punchity

2 years ago

Using Linux Mint 17 KDE the make command returns this error
det@swiftsure:~/kencfs/kencfs-1.4.0 > make
/usr/bin/qmake-qt4 -o Makefile kencfs.pro
/usr/lib/i386-linux-gnu/qt4/bin/uic mainwindow.ui -o ui_mainwindow.h
make: /usr/lib/i386-linux-gnu/qt4/bin/uic: Command not found
make: *** [ui_mainwindow.h] Error 127

Report

felmur

2 years ago

hello, please, check if you have a "uic-qt4" or "uic-qt5". I think that uic-qt4 is the right choice. So, if you have this, make a symbolic link in your /usr/bin for the uic reference.

On Archlinux (my OS), /usr/bin/uic is a symbolic link to a file named qtchooser, which select the proper developing version of Qt libs and then run uic-qt4 or uic-qt5.

I don't know LinuxMint, but I've found some references to "uic" problems on google. If you don't have one of uic-qt4 or uic-qt5, try to run sudo apt-get install libqt4-dev

Report

GerardCruiz

3 years ago

Does anyone know a ppa for Kubuntu?

Report

Ray-Ven

2 years ago

I'm building a package atm - not planning to setup a ppa thought.... We could bugreport this to launchpad with "needs packaging" tag... There's a wishlist somewhere

Ray

Report

Ray-Ven

2 years ago

I'm building a package atm - not planning to setup a ppa thought.... We could bugreport this to launchpad with "needs packaging" tag... There's a wishlist somewhere

Ray

Report

sharkcow

3 years ago

Hi,

I just had the problem that encfs wouldn't mount because the destination directory wasn't empty. However, kencfs does not display the encfs error messages! Instead, it states that the password is wrong. This cost me a few fistfuls of hair!

Please update kencfs to include encfs error messages.

thanks,
sharcow

Report

felmur

3 years ago

LOL, a few fistfuls of hair ... :-)

I'm working on a fix for this. Hope I can release new version in a few hours.

Report

sudhirkhanger

3 years ago

[donnie@fedora kencfs-1.3.0]$ qmake-qt4
[donnie@fedora kencfs-1.3.0]$ make
/usr/lib64/qt4/bin/uic mainwindow.ui -o ui_mainwindow.h
/usr/lib64/qt4/bin/uic fsdialog.ui -o ui_fsdialog.h
/usr/lib64/qt4/bin/uic configdialog.ui -o ui_configdialog.h
configdialog.ui: Warning: Z-order assignment: '' is not a valid widget.
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -o main.o main.cpp
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -o mainwindow.o mainwindow.cpp
mainwindow.cpp:42:30: fatal error: KDE/KWallet/Wallet: No such file or directory
#include <KDE/KWallet/Wallet>
^
compilation terminated.
make: *** [mainwindow.o] Error 1

Report

felmur

3 years ago

Hi, try to remove "KDE" from KDE/KWallet/Wallet from line 42 of mainwindow.cpp

original: #include <KDE/KWallet/Wallet>
try: #include <KWallet/Wallet>

Regards

Report

sudhirkhanger

3 years ago

No luck so far. BTW I am on Fedora 20.

[donnie@fedora kencfs-1.3.0]$ make
/usr/lib64/qt4/bin/uic mainwindow.ui -o ui_mainwindow.h
/usr/lib64/qt4/bin/uic fsdialog.ui -o ui_fsdialog.h
/usr/lib64/qt4/bin/uic configdialog.ui -o ui_configdialog.h
configdialog.ui: Warning: Z-order assignment: '' is not a valid widget.
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -o main.o main.cpp
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -o mainwindow.o mainwindow.cpp
mainwindow.cpp:42:26: fatal error: KWallet/Wallet: No such file or directory
#include <KWallet/Wallet>
^
compilation terminated.
make: *** [mainwindow.o] Error 1

Report

userfed

3 years ago

I've registered just to say that (assuming you have installed kdelibs-devel on Fedora 20 ) you have to edit the generated Makefile and add
-I/usr/include/kde4/ in the INCPATH, like
INCPATH = -I/usr/include/kde4/ [omissis]
and add -L/usr/lib64/kde4/devel (assuming you're on x86_64) in the LIBS path (or you'll hit a "cannot find {-lkdeui,-lkdecore} error) like
LIBS = $(SUBLIBS) -L/usr/lib64/kde4/devel [omissis]
I'll leave up to the mantainer how to fix this without manually edit the generated Makefile

Report

felmur

3 years ago

mmmm... look here:

https://apps.fedoraproject.org/packages/kdelibs-devel/contents/

seems that Fedora kde includes for kwallet is located here:

/usr/include/kde4/KDE/KWallet/Wallet.

So the include problem can fix by adding "kde4/" before the include path specified in line 42 of mainwindow.cpp. Unfortunately, I think that different path for installed kdelibs could be generate other problems while linking.

So I think that the below kencfs.pro file can temporary solve the problems. Please, tell me if this works.


# -------------------------------------------------
# Project created by QtCreator 2010-08-22T10:38:43
# -------------------------------------------------
TARGET = kencfs
TEMPLATE = app
SOURCES += main.cpp \
mainwindow.cpp \
fsDialog.cpp \
config.cpp \
qtsingleapplication.cpp \
qtlocalpeer.cpp \
qtlockedfile.cpp \
configdialog.cpp
HEADERS += mainwindow.h \
fsdialog.h \
config.h \
qtsingleapplication.h \
qtlocalpeer.h \
qtlockedfile.h \
configdialog.h
FORMS += mainwindow.ui \
fsdialog.ui \
configdialog.ui
OTHER_FILES +=
LIBS += -lkdeui -lkdecore -lQtNetwork
TRANSLATIONS = kencfs_it.ts kencfs_ro.ts

# archlinux
INCLUDEPATH += "/usr/include/KDE"

#fedora
INCLUDEPATH += "/usr/include/kde4/KDE"
LIBS += -L/usr/lib64/kde4/devel

# install
target.path = /usr/bin/
data.path = /usr/share/kde4/apps/kencfs/translations/
data.files = *.qm
doc.path = /usr/share/doc/kencfs-1.3
doc.files = README preview.png preview2.png
desktop.path = /usr/share/applications
desktop.files = kencfs.desktop
#INSTALLS += target data desktop
INSTALLS += target data doc desktop
CONFIG += release









Regards



Report

felmur

3 years ago

Note that line 42 of mainwindow.cpp must be:

#include <KWallet/Wallet>

Please, tell me if works, so I edit online package.

Regards.

Report

sudhirkhanger

3 years ago

Thanks for trying to help. I edited line 42 in mainwindow.cpp as instructed and also replaced kencfs.pro as above. I have got new errors.

[donnie@fedora kencfs-1.3.0]$ make
/usr/lib64/qt4/bin/uic mainwindow.ui -o ui_mainwindow.h
/usr/lib64/qt4/bin/uic fsdialog.ui -o ui_fsdialog.h
/usr/lib64/qt4/bin/uic configdialog.ui -o ui_configdialog.h
configdialog.ui: Warning: Z-order assignment: '' is not a valid widget.
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I/usr/include/KDE -I/usr/include/kde4/KDE -I. -I. -o main.o main.cpp
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I/usr/include/KDE -I/usr/include/kde4/KDE -I. -I. -o mainwindow.o mainwindow.cpp
In file included from /usr/include/kde4/KDE/KWallet/Wallet:1:0,
from mainwindow.cpp:42:
/usr/include/kde4/KDE/KWallet/../../kwallet.h:29:26: fatal error: kdeui_export.h: No such file or directory
#include <kdeui_export.h>
^
compilation terminated.
make: *** [mainwindow.o] Error 1

Report

felmur

3 years ago

# -------------------------------------------------
# Project created by QtCreator 2010-08-22T10:38:43
# -------------------------------------------------
TARGET = kencfs
TEMPLATE = app
SOURCES += main.cpp \
mainwindow.cpp \
fsDialog.cpp \
config.cpp \
qtsingleapplication.cpp \
qtlocalpeer.cpp \
qtlockedfile.cpp \
configdialog.cpp
HEADERS += mainwindow.h \
fsdialog.h \
config.h \
qtsingleapplication.h \
qtlocalpeer.h \
qtlockedfile.h \
configdialog.h
FORMS += mainwindow.ui \
fsdialog.ui \
configdialog.ui
OTHER_FILES +=
LIBS += -lkdeui -lkdecore -lQtNetwork
TRANSLATIONS = kencfs_it.ts kencfs_ro.ts

# archlinux
INCLUDEPATH += "/usr/include/KDE"

#fedora
INCLUDEPATH += "/usr/include/kde4/KDE" "/usr/include/kde4"
LIBS += -L/usr/lib64/kde4/devel

# install
target.path = /usr/bin/
data.path = /usr/share/kde4/apps/kencfs/translations/
data.files = *.qm
doc.path = /usr/share/doc/kencfs-1.3
doc.files = README preview.png preview2.png
desktop.path = /usr/share/applications
desktop.files = kencfs.desktop
#INSTALLS += target data desktop
INSTALLS += target data doc desktop
CONFIG += release

Report

felmur

3 years ago

try this modified kencfs.pro

# -------------------------------------------------
# Project created by QtCreator 2010-08-22T10:38:43
# -------------------------------------------------
TARGET = kencfs
TEMPLATE = app
SOURCES += main.cpp \
mainwindow.cpp \
fsDialog.cpp \
config.cpp \
qtsingleapplication.cpp \
qtlocalpeer.cpp \
qtlockedfile.cpp \
configdialog.cpp
HEADERS += mainwindow.h \
fsdialog.h \
config.h \
qtsingleapplication.h \
qtlocalpeer.h \
qtlockedfile.h \
configdialog.h
FORMS += mainwindow.ui \
fsdialog.ui \
configdialog.ui
OTHER_FILES +=
LIBS += -lkdeui -lkdecore -lQtNetwork
TRANSLATIONS = kencfs_it.ts kencfs_ro.ts

# archlinux
INCLUDEPATH += "/usr/include/KDE"

#fedora
INCLUDEPATH += "/usr/include/kde4/KDE" "/usr/include/kde4"
LIBS += -L/usr/lib64/kde4/devel

# install
target.path = /usr/bin/
data.path = /usr/share/kde4/apps/kencfs/translations/
data.files = *.qm
doc.path = /usr/share/doc/kencfs-1.3
doc.files = README preview.png preview2.png
desktop.path = /usr/share/applications
desktop.files = kencfs.desktop
#INSTALLS += target data desktop
INSTALLS += target data doc desktop
CONFIG += release

Report

sudhirkhanger

3 years ago

Thanks the last kencfs.pro worked fine. Do you plan to make it a little more easier to use, I have no idea what is filesystemID is, and bring it at par functionality a la Gnome EncFS Manager?

There were some minor errors nothing install blocking.

configdialog.cpp:43:6: warning: unused parameter ‘e’ [-Wunused-parameter]
void configDialog::hideEvent(QHideEvent *e)
^
configdialog.cpp:47:6: warning: unused parameter ‘e’ [-Wunused-parameter]
void configDialog::showEvent(QShowEvent *e)
^
configdialog.cpp:55:6: warning: unused parameter ‘e’ [-Wunused-parameter]
void configDialog::changeEvent(QEvent *e)

Report

fix a bug into save configuration method. 4 months ago

04 feb 2017, version 1.6.4 - fix a bug into save configuration method. With last version of KDE, KEncFS won't save changes of filesystem list.

6 years ago

12 sep 2010 1st version, 1.0a

12 dec 2010 version 1.1
- fixed some minor bugs in sources.
- fixed a major bug (segmentation fault). It was generated by pressing a button (browse or umount or remove) when no row was selected into treeview of filesystem
- fixed a window title
- added warning request when you try to remove a filesystem

25 sep 2011, version 1.2
- Now, double click on the line corresponding to a filesystem, it turns on the mounting and opening.

08 jan 2013, version 1.2.1, fixed Layout Direction of "Mount" button, some little text, a reference into qtlocalpeer.cpp

07 mar 2014,version 1.3.0, fixed a little bug in FS Removal and added KDE WALLET support - If you use this, please consider to protect your kdewallet with password. Added Romanian translations. Added Czech translations.
28 apr 2014, version 1.3.1, added support for ENCFS (Fuse) errors (thanks to sharkcow for suggestion)

29 aug 2014, version 1.4.0, added the ability to auto-mount crypted filesystem on start, using kdewallet for password storage. There is a new configure option for this feature.

13 may 2015, version 1.5.0, KencFS works in KDE4 and in KdePlasma5.

28 feb 2016, version 1.6.0, fixed annoiyng "separate window" for 'File' menu. Fixed window icon. Fixed kwallet security problem. Some changes into code for graphic stuff.

10 apr 2016, version 1.6.1, fixed unnecessary opening kwallet if the option is not configured.

10 apr 2016, version 1.6.2, removed unused toolbar from mainwindow; changed icon for application with standard plasma-breeze lock icon

02 jun 2016, version 1.6.3, added FileSystem EDIT button, added the ability of auto-umount a FileSystem after 10 mins of inactivity, added Russian translations


=======
Thanks
=======
Nicolai Beuermann for KDEWallet support idea
Arthur Țițeică for Romanian translations
Miloš Kožina for Czech translations
Hennings Kopf for automount via KDEWallet idea
Victor for Russian translations

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install
Score 68%
68.00 Likes
32 Dislikes
Details
version
1.6.4
updated Feb 05 2017
added Oct 24 2010
downloads
page views 4913