What's new

encfs (arm version, Entware) is ready for testing

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

I created an encfs directory and copied some files to/from it using NFS. Compared to using NFS without encryption I get around 90-95% of both read and write performance with a USB 3 stick.

Haven't tried SMB, but see no reason why it shouldn't work there as well.

What's a bit strange, is that I can't see any files when I'm logged in through ssh and do an ls. My Testenc directory shows up as being empty and the .testenc directory only contains a .encfs6.xml dotfile. Is this normal?
 
I don't think this is working at all. After rebooting I wanted to see if it was working, and tried mounting it by using: encfs -v /tmp/mnt/usbstick/.testenc /tmp/mnt/usbstick/Testenc


Code:
2017-02-16 13:42:11,407 VER [main.cpp:548] Root directory: /tmp/mnt/usbstick/.testenc/
2017-02-16 13:42:11,407 VER [main.cpp:549] Fuse arguments: (daemon) (threaded) (keyCheck) encfs /tmp/mnt/usbstick/Testenc -o use_ino -o default_permissions
2017-02-16 13:42:11,410 VER [FileUtils.cpp:294] found new serialization format
2017-02-16 13:42:11,410 VER [FileUtils.cpp:308] subVersion = 20100713
2017-02-16 13:42:11,410 VER [Interface.cpp:110] checking if ssl/aes(3:0:2) implements ssl/aes(3:0)
2017-02-16 13:42:11,411 VER [SSL_Cipher.cpp:328] allocated cipher ssl/aes, keySize 16, ivlength 16
2017-02-16 13:42:11,411 VER [FileUtils.cpp:1575] useStdin: 0
EncFS Password: [i]<entered correctly>[/i]
2017-02-16 13:42:13,986 VER [Interface.cpp:110] checking if ssl/aes(3:0:2) implements ssl/aes(3:0)
2017-02-16 13:42:13,986 VER [SSL_Cipher.cpp:328] allocated cipher ssl/aes, keySize 16, ivlength 16
2017-02-16 13:42:14,479 VER [FileUtils.cpp:1583] cipher key size = 36
2017-02-16 13:42:14,480 VER [Interface.cpp:110] checking if nameio/block(4:0:2) implements nameio/block(4:0)
hemreviret@Jupiter:/tmp/mnt/HyperX_32GB# fuse failed.  Common problems:
 - fuse kernel module not installed (modprobe fuse)
 - invalid options -- see usage message

modprobe fuse returns:
Code:
modprobe: module fuse not found in modules.dep

But in dmesg I can see it's loaded:
Code:
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
fuse init (API version 7.15)
msgmni has been set to 499
 
Progress update!

My RT-AC87U doesn't seem to have enough free memory for encfs, and after rebooting I forgot to enable the swapfile.

Now it mounts and works properly, but not with NFS. All the other directories within the NFS share are accessable.

I tried chown'ing the directory to have the same as the others("nas" as user/group), 777'ing it and also mounting it with the --public encfs option. No change - trying to access it through NFS says I lack permissions.

What's weird is that I can access the encrypted .testenc directory and read/write content inside it.

I don't know where to go from here, really. Any help would be appreciated. :(
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top