Closed GoogleCodeExporter closed 8 years ago
Sorry. Didn't mean to post as a defect. Can't seem to find anywhere to edit
that..
Original comment by garrett....@gmail.com
on 20 Mar 2012 at 11:56
Good points. Thanks for the suggestions.
As you pointed out, the encfs executable is located in
/data/data/csh.cryptonite/encfs. You'll need a root terminal to use it though
because the fuse device file (/dev/fuse) is readable and writable root-only.
You could write a script to call encfs from Tasker and pass your password from
stdin using the --stdinpass flag. Something along the lines of:
echo "password" | /data/data/csh.cryptonite/encfs --stdinpass
/sdcard/path/to/encfs /sdcard/path/to/mountpoint
Obviously this would expose your password to anyone who has access to your
phone.
On the long run, I agree that a Tasker plugin would be a good solution and it's
on my todo-list. As you mentioned, storing passwords is a very difficult issue
though. Even dedicated password storage apps fail to provide decent security
(http://www.elcomsoft.com/download/BH-EU-2012-WP.pdf).
Original comment by christoph.schmidthieber@gmail.com
on 21 Mar 2012 at 11:04
[deleted comment]
@christoph,
i tried the echo command that you suggested, that works fine with a few modifications for permissions.
but i am having an issue that when i execute this script manually using
terminal etc, i am able to view the mounted decrypted files in file explorer.
but when i try to execute this command from a script using tasker/rom toolbox
(at boot time), i am not able to see the decrypted file in file explorer apps
,but strangely when i list the folder contents using adb shell, i am able to
see the files there! Also cryptonite shows that the folder is mounted. the
mount command also shows the mounted directory,with no difference in the
outpout of the mount command when the mount is automatic or manual.(i have also
tried to rescan the sdcard suspecting the MTP bug using rescan SD app from the
play store.. but no change in behaviour.)
So in effect, the auto mounting is not working in the sense that i am not able
to view the files using any of the android file explorer apps.
any pointers?
Original comment by ashishs...@gmail.com
on 5 Oct 2013 at 8:43
Is there any way to securely store the encfs password within cryptonite or
Android, so that an automatic mount on boot is possible?
Original comment by greensun...@gmail.com
on 30 Oct 2013 at 2:08
This issue has moved to https://github.com/neurodroid/cryptonite/issues/14
Original comment by christoph.schmidthieber@gmail.com
on 28 Aug 2014 at 3:56
Original issue reported on code.google.com by
garrett....@gmail.com
on 20 Mar 2012 at 11:53