
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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.
fix a bug into save configuration method. 4 years 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.
fix a bug into save configuration method. 4 years 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.
4 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
marcusbritanicus
4 years ago
Report
felmur
4 years ago
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
4 years ago
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
5 years ago
Report
felmur
5 years ago
Report
VaporEidolon
5 years ago
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
5 years ago
Report
VaporEidolon
5 years ago
Report
punchity
6 years ago
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
6 years ago
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
6 years ago
Report
Ray-Ven
6 years ago
Ray
Report
Ray-Ven
6 years ago
Ray
Report
sharkcow
6 years ago
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
6 years ago
I'm working on a fix for this. Hope I can release new version in a few hours.
Report
sudhirkhanger
7 years ago
[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
7 years ago
original: #include <KDE/KWallet/Wallet>
try: #include <KWallet/Wallet>
Regards
Report
Veazer
6 years ago
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
Report
felmur
6 years ago
Report
sudhirkhanger
7 years ago
[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
felmur
7 years ago
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
7 years ago
#include <KWallet/Wallet>
Please, tell me if works, so I edit online package.
Regards.
Report
sudhirkhanger
7 years ago
[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
sudhirkhanger
7 years ago
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
felmur
7 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