Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

5
Become a Fan
7.9

Available as/for:
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.

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.


Ratings & Comments

43 Comments

marcusbritanicus

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

felmur

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

VaporEidolon

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?

VaporEidolon

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

felmur

Thank you. Please, check 1.6.1 version.

VaporEidolon

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?

felmur

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.

VaporEidolon

Awesome!

punchity

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

felmur

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

sharkcow

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

felmur

LOL, a few fistfuls of hair ... :-) I'm working on a fix for this. Hope I can release new version in a few hours.

sudhirkhanger

[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

felmur

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

sudhirkhanger

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

userfed

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

felmur

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

felmur

Note that line 42 of mainwindow.cpp must be: #include <KWallet/Wallet> Please, tell me if works, so I edit online package. Regards.

sudhirkhanger

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

felmur

# ------------------------------------------------- # 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

felmur

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

sudhirkhanger

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)

Veazer

How about for Linux Mint 17 KDE? I'm getting a similar error... g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/kde4 -I. -I. -o mainwindow.o mainwindow.cpp mainwindow.cpp:43:30: fatal error: KDE/KWallet/Wallet: No such file or directory #include <KDE/KWallet/Wallet> ^ compilation terminated. make: *** [mainwindow.o] Error 1

felmur

have you kdelibs5-dev installed ?

skylord

I was to fast in my previous post: g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -o qtlocalpeer.o qtlocalpeer.cpp qtlocalpeer.cpp: In constructor ‘QtLocalPeer::QtLocalPeer(QObject*, const QString&)’: qtlocalpeer.cpp:103:54: error: ‘getuid’ is not a member of ‘QtLP_Private’ make: *** [qtlocalpeer.o] Error 1

Pling
0 Affiliates
Details
license
version 1.6.4
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 2

More System Tools (NOT OS or ROMS) from felmur:

KEncFS-Plasma
felmur
last update date: 7 years ago

Score 5.0

Other System Tools (NOT OS or ROMS):

KDE CDEmu Manager
marcel83
last update date: 1 year ago

Score 7.0

QPhotoRec
caezsar
last update date: 11 years ago

Score 5.7

Burg-manager
ingalex
last update date: 14 years ago

Score 7.4

Multi-Platform File Manager
Lunik
last update date: 21 years ago

Score 5.0

KFS
jrockey
last update date: 21 years ago

Score 5.0

dolphin-perforce-plugin
martin9000andersen
last update date: 11 years ago

Score 5.0



System Tags