Gocryptfs: android/mobile version?

Created on 27 May 2018  路  8Comments  路  Source: rfjakob/gocryptfs

any idea on using gocryptfs/cppcryptfs data on android/mobile?

encfs enjoyed longer history so there are several FOSS or even commercial one for that.

ps: just ask, i am a layman.

thanks

help wanted wontfix

Most helpful comment

There's nothing preventing the gocryptfs command line tool running on android as is. There is, for example, a build of it listed here, but to get permission to mount a FUSE filesystem you would need a 'rooted' device.

It would also be possible to do the encryption/decryption in an App, bypassing the FUSE layer altogether, and offering an interface access to access the contents of gocryptfs encrypted stores as a number of Apps do for encfs, but that would surely be better as a separate project. You might do better asking at encdroid.

All 8 comments

No, sorry, Android development is not my cup of tea. I'll keep the ticket open so maybe somebody who wants to develop something sees that there is user interest.

There's nothing preventing the gocryptfs command line tool running on android as is. There is, for example, a build of it listed here, but to get permission to mount a FUSE filesystem you would need a 'rooted' device.

It would also be possible to do the encryption/decryption in an App, bypassing the FUSE layer altogether, and offering an interface access to access the contents of gocryptfs encrypted stores as a number of Apps do for encfs, but that would surely be better as a separate project. You might do better asking at encdroid.

I'll close this for now, looks like there are not too many volunteers...

Try this: gocryptfs_static_aarch64_v1.7.1 (with OpenSSL (libcrypto))

@rfjakob thanks for maintaining this wonderful project.

I have that static build working, and have an android build of fusermount from here but I get an fusermount error when i try and mount a folder. This is on a non-rooted Android device. Does it have to be rooted? Is there a command I can pass to gocryptfs that will just decrypt all the files as opposed to try and mount a directory?

I was using Termux to do all this as its the only way to run binaries on a non rooted phone as far as I can tell.

Does it have to be rooted?

It's not possible to use FUSE on Android without root.

Try this: gocryptfs_static_aarch64_v1.7.1 (with OpenSSL (libcrypto))

@rfjakob thanks for maintaining this wonderful project.

Try this: gocryptfs_static_aarch64_v1.7.1 (with OpenSSL (libcrypto))

@rfjakob thanks for maintaining this wonderful project.

Agreed, thanks for working on this project!

Hi @mirfatif you wouldn't happen to have an armhf build for the newer gocrypt? Getting a bug in the 1.4 build that has been solved in later builds.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bexelbie picture bexelbie  路  10Comments

brain-freeze picture brain-freeze  路  18Comments

pos42 picture pos42  路  14Comments

cu picture cu  路  6Comments

lechner picture lechner  路  18Comments