neurodroid / cryptonite

EncFS and TrueCrypt on Android
GNU General Public License v2.0
203 stars 49 forks source link

auto-unmounting by inactivity #27

Open neurodroid opened 10 years ago

neurodroid commented 10 years ago

From rig....@gmail.com on May 26, 2012 18:19:30

Thank you for that app! Could you add auto-unmounting after timeout inactivity? And add option for timeout in minutes for example.

Original issue: http://code.google.com/p/cryptonite/issues/detail?id=27

neurodroid commented 10 years ago

From christoph.schmidthieber@gmail.com on May 26, 2012 10:29:43

Yes, good idea. The command-line version already supports auto-unmount using the --idle=MINUTES option. But we could add an option to the GUI as well if that's useful. @Fred: Maybe you're interested? :-)

Status: Accepted
Owner: christoph.schmidthieber@gmail.com
Cc: fred.jul...@gmail.com
Labels: -Type-Defect Type-Enhancement

neurodroid commented 10 years ago

From mavr...@googlemail.com on December 13, 2012 13:01:16

I do miss this option, too. A mounted EncFS volume is available on the defined mount point. For me, when doing a reboot (without unmounting the EncFs before), the files in the mount point are still available after rebooting. One can also kill the cryptonic-process, the files of the EncFs are still decrypted available. Device: htc desire, kernel 2.6.38.8-evervolv-turba-ics+

An auto-unmount would be fine on time-base or for exiting the cryptonic process (even for killing him). Hope this can be done :-)

neurodroid commented 10 years ago

From christoph.schmidthieber@gmail.com on December 15, 2012 04:02:45

@mavrut5: It's surprising (and worrying) that your decrypted files are still available after a reboot. After a reboot, on a root terminal, what's the output of

cat /proc/mounts | grep encfs

and

ps | grep encfs

neurodroid commented 10 years ago

From mavr...@googlemail.com on December 15, 2012 07:08:33

yes, I am worried about this, too.

The ROM provides a "normal" reboot (1) and an "Hot reboot" (2).

Doing the (1), the cell phone restarts completely. The EncFS is encrypted and NOT available without starting cryptonite. This is fine :-)

Doing the (2), the ROM restarts. Now the EncFS partition is still mounted. See the attachement for the desired output. Maybe this is ROM specific and hardly to fix - I do not know.

Hope this helps.

Best regards.

Attachment: Screenshot_2012-12-15-13-25-58.png