neurodroid / cryptonite

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

Supplementary tools (unmount, change password) #84

Closed BlueMax closed 9 years ago

BlueMax commented 9 years ago

Hi, can you provide the supplementary tools 'fusermount' and 'encfsctl' as well so we can gracefully unmount and change passwords of mounted folders?

neurodroid commented 9 years ago

encfsctl is generated during the build process, but it's too large to be packaged with the cryptonite apk - it would more than double its size. I've never tried to build fusermount for Android. Looking at the code, it makes many assumptions that will only hold for desktop Linux distributions but not for Android - I doubt it would be useful or even run without major modifications.

BlueMax commented 9 years ago

Maybe one can copy the metafile to desktop system to change the password there (not checked yet). But more important is unmounting. The binary already supports auto-unmounting if i get that right. Can you modify it maybe somehow to support manual unmounting as well?

neurodroid commented 9 years ago

You should be able to use umount for unmounting.

BlueMax commented 9 years ago

You're right. On a second test i can unmount it without problems. Not sure why it didn't work for me previously. I didn't even get an error message. Unmounting looked properly at first but the mounted content was still there. So yes, fusermount is useless then indeed. I thought it would be mandatory for unmounting. Sorry for any inconvenience. Can you provide the encfsctl binary externally on your homepage so we can optionally get it on demand?

neurodroid commented 9 years ago

Can you provide the encfsctl binary externally on your homepage so we can optionally get it on demand?

https://github.com/neurodroid/cryptonite/releases/tag/v0.7.12

BlueMax commented 9 years ago

Thank you very much. :)