Problem with encfs

Hello,

I’m testing encfs with kencfs utility but it gives me error in the mount point. I’ve also tried KDE4 servicemenu for EncFS and the same error: Can’t mount the destination directory

Thank you.

Can you try running kencfs from the command line so you can see any additional output?

If you are interested in another client, I like Cryptkeeper. If you can’t find a Suse specific RPM the Fedora one has always worked fine for me.
I’m currently using cryptkeeper-0.9.5-1.fc13.x86_64.rpm one Suse 13.1 - there are no Suse packages available is software.opensuse.org, though I see there are some for Suse 12.x now listed in RPM pbone.

Installing the Fedora RPM will complain about missing FUSE, as the name is different in Suse. If you have FUSE installed you should be able to safely force the install and it should work fine. It’s dependencies are pretty minimal.

Cryptkeeper is a very simple client - not much to it, but that is one of the reasons I like it.

I have a bit more info on encfs, cryptkeeper and dropbox in this article. You might try just manually mounting your encfs mount point in the command line to ensure encfs and fuse are working correctly.

http://www.timelordz.com/blog/2011/03/dropbox-and-encfs-encrypting-local-files/

On Sat, 15 Mar 2014 14:16:01 +0000, jony127 wrote:

> but it gives me error in the mount point

What is the specific error message you get?

Don’t leave us guessing - we can’t fix “an error,” but we might be able
to guide you if we know what it is. :wink:

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

the problem was that I was trying to mount a folder with files and it gave the error.

If all the partition was encrypted, is it necessary to use encfs to upload files to the cloud?

Encfs gives two options to encrypt aes and blowfish, which is better?

On Sat, 15 Mar 2014 18:36:01 +0000, jony127 wrote:

> the problem was that I was trying to mount a folder with files and it
> gave the error.

Does the destination directory exist? What filesystem is the destination
directory in?

> If all the partition was encrypted, is it necessary to use encfs to
> upload files to the cloud?

Depends on how you’re synchronizing it, but probably, yes - because the
sync to “the cloud” (whatever your cloud provider is) would work on the
mounted directories, not on the underlying encrypted data (because it’s
partition-level encryption).

If you use encfs and sync the encrypted directory, that will store the
data in “the cloud” encrypted. (I use that option myself for a couple
directories).

> Encfs gives two options to encrypt aes and blowfish, which is better?

It’s about sixes, as I recall. I just went with the defaults myself, as
I recall.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

I do not know what set up options encfs offers for aes and blowfish, if the options are similar then mostly likey AES (Rijindael), which won the competition to be named AES, is better than blowfish. Bruce Schneier, the developer of blowfish, entered his newer development Twofish (based on blowfish) in the competition. As an aside, all the competitors were asked to give their opinion on how the competing ciphers should be ranked. After ranking their entry first they all ranked Rijindeal as second best.

If you search, you will find pros and cons about using either AES or Blowfish. With a strong passphrase, either one will do a decent job of protecting your data from unwanted viewing, but it is all a matter of how valuable the data is to someone else.
Its much easier and cheaper to guess your passphrase, steal your usb-key, or to threaten either you or your family;
than to break a strong passphrase by bruteforce.

Just one more question. if I turn off the pc before without dismounting the folder, what happens?

Thank you.

On Sun, 16 Mar 2014 12:06:01 +0000, jony127 wrote:

> Just one more question. if I turn off the pc before without dismounting
> the folder, what happens?
>
> Thank you.

The folder is dismounted when you reboot. It’s not a “filesystem” like
ext4 or btrfs is - it just provides an interface to the encrypted files
on the already-mounted filesystem.

FUSE filesystems (which this is one of) don’t have fsck or equivalent
features, because they use the underlying filesystem for file storage.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

I’m trying to install kencfs too, but, I have this error running the first command to install; qmake-qt4:

pla@suseST-pla:/dati/agg/KDEapps/kencfs-1.3.0> qmake-qt4
If 'qmake-qt4' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf qmake-qt4
pla@suseST-pla:/dati/agg/KDEapps/kencfs-1.3.0> cnf qmake
                     
Program 'qmake' is present in package 'libqt4-devel', which is installed on your system.

Absolute path to 'qmake' is '/usr/bin/qmake'. Please check your $PATH variable to see whether it contains the mentioned path.

pla@suseST-pla:/dati/agg/KDEapps/kencfs-1.3.0> /usr/bin/qmake-qt4
bash: /usr/bin/qmake-qt4: No such file or directory
pla@suseST-pla:/dati/agg/KDEapps/kencfs-1.3.0> cnf qmake-qt4
qmake-qt4: command not found                          
pla@suseST-pla:/dati/agg/KDEapps/kencfs-1.3.0> /usr/bin/qmake/qmake-qt4
bash: /usr/bin/qmake/qmake-qt4: Not a directory
pla@suseST-pla:/dati/agg/KDEapps/kencfs-1.3.0> 


how can I run qmake-qt4??
and where can I found KDE4 servicemenu for EncFS??
manythanx, :slight_smile: ciao :slight_smile: pier

On 03/17/2014 01:06 PM, pier andreit pecked at the keyboard and wrote:
> KDE4 servicemenu for EncFS

Google?

KDE4 servicemenu for EncFS opensuse

Returns a few hits.

Ken

I found this on opensuse:

  •  [home:munix9:KDE](https://build.opensuse.org/package/show?project=home%3Amunix9%3AKDE&package=kde4-encfs)              [1 Click Install](http://software.opensuse.org/ymp/home:munix9:KDE/openSUSE_13.1/kde4-encfs.ymp?base=openSUSE%3A13.1&query=kde4-encfs)
    

[LIST]

[/LIST]
do I need also kencfs ???

On 03/18/2014 01:46 PM, pier andreit pecked at the keyboard and wrote:
> kensch;2631002 Wrote:
>> On 03/17/2014 01:06 PM, pier andreit pecked at the keyboard and wrote:
>>> KDE4 servicemenu for EncFS
>> Google?
>>
>> KDE4 servicemenu for EncFS opensuse
>>
>> Returns a few hits.
>>
>> Ken
> I found this on opensuse:
>
>
> - ‘home:munix9:KDE’ (http://tinyurl.com/necqedm) ‘1
> Click Install’ (http://tinyurl.com/oer8q9g)
>
> - 0.5.2
> - ‘noarch’ (http://tinyurl.com/pc8n6ku)
> - ‘Source’ (http://tinyurl.com/nz8433y)
>
>
> do I need also kencfs ???
>
>
That I can’t help with, I was only supplying a means to find things
easier by using Google.

Ken

If the mount folder, for example, stick a document 8mb, it automatically copies encrypted in the folder but my question is, does that file 8 mb I copied the mount folder is held in both folders? that is, if I copy that file to the mount folder and then it automatically copy to the appropriate encrypted folder, copy the folder mount is removed or remains in both?

On Sun, 23 Mar 2014 15:56:01 +0000, jony127 wrote:

> If the mount folder, for example, stick a document 8mb, it automatically
> copies encrypted in the folder but my question is, does that file 8 mb I
> copied the mount folder is held in both folders? that is, if I copy
> that file to the mount folder and then it automatically copy to the
> appropriate encrypted folder, copy the folder mount is removed or
> remains in both?

There’s just one copy of the data stored on disk - the encrypted
version. As I mentioned before, encfs is not like a “regular” filesystem

  • it’s a way of “interpreting” data in the filesystem - in this case,
    providing a decryption front-end to the data.

You might want to read up on fuse filesystems to understand more how they
work.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C