We have moved to a new Sailfish OS Forum. Please start new discussions there.

encfs port need help and testers on real phones (Jolla C & other)

asked 2016-08-25 19:50:27 +0300

ifilin gravatar image

updated 2016-08-26 10:20:16 +0300

chemist gravatar image

So, try to make port encfs for SailfishOS.

at this moment i have: RPMS for armv7hl (Jolla C) & i486 (emulator) build in MerSDK (1608 last) with some debug lines

take it here: https://github.com/ivfilin/encfs_sailfish/tree/master/RPMS

encfs was build from sources, but on my jolla C works only encfs-1.8.2, so last version 1.9.0rc2 sources encfs: https://github.com/vgough/encfs my issue: https://github.com/vgough/encfs/issues/197

if you want help me, have any ideas.... you are welcome :)

PS: encfs - create and mount crypto dirs(as mount point, use fuse) without root privileges!!!

edit retag flag offensive close delete


if you interesting about ecryptfs (need root for mount or fstab editing) so, go here (sources, rpms, etc)


but this project unsupported - need root privileges for using

ifilin ( 2016-08-26 10:52:00 +0300 )edit

There was a version of encfs at OpenRepos, I think it was provided by @Nieldk. It's gone now but maybe he can help you.

inta ( 2016-08-26 12:02:26 +0300 )edit

thank you for this information nice, but available version in repo: encfs-1.8-10.19.2.jolla.armv7hl.rpm 24-Sep-2015 21:53 182K

ifilin ( 2016-08-26 12:57:43 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-08-26 16:16:14 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2016-08-26 16:17:36 +0300

ifilin gravatar image

One of the possible way to resolve this problems, add command-line option, what we can use in Jolla C phone.

Well, i do it.

sources: https://github.com/ivfilin/encfs branches sos & sos_debug

2016-08-26 Information about encfs on SailfishOS DEBUG VERSION

Parent sources: https://github.com/vgough/encfs SailfishOS Fork: https://github.com/ivfilin/encfs

Branch: sos
Primary branch for SailfishOS (sos) compilling
add option --sos (default = false)

if (!encfsArgs->opts->sos)
    VLOG(1) << "NON_SOS_FLAG";
    encfs_oper.create = encfs_create;

add this option when working with encfs on Jolla C phone
and fuse will be use: mknod(), open(). for new node creating. OTHERWISE fuse  make ecxeption "Bus error"

Debug branch: sos_debug
for all functions in encfs/encfs.cpp added
VLOG(1) << __FUNCTION__ << " : " << FI //function input
VLOG(1) << __FUNCTION__ << " : " << FO //function output
VLOG(1) << __FUNCTION__ << " : " << FIFO //one-line function

RPMS (sos & sos debug) stored here: https://github.com/ivfilin/encfs_sailfish/tree/master/RPMS

And now, need help from persons, who perfectly knows: fuse, linux file systems, kernel modules & debug... Because encfs, works fine on desktops, emulators with default options.

edit flag offensive delete publish link more



RPMS large size, ~25 Mb after install. Because included library. I can prepare truncated packets, if it need.

ifilin ( 2016-08-26 16:46:02 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2016-08-25 19:50:27 +0300

Seen: 415 times

Last updated: Aug 26 '16