Signed-off-by: Hardcore Sushi <firstname.lastname@example.org>
|3 months ago|
|app||3 months ago|
|fastlane/metadata/android/en-US||3 months ago|
|gradle/wrapper||6 months ago|
|.gitignore||11 months ago|
|LICENSE.txt||11 months ago|
|README.md||3 months ago|
|build.gradle||3 months ago|
|gradle.properties||11 months ago|
|gradlew||10 months ago|
|gradlew.bat||10 months ago|
|settings.gradle||11 months ago|
DroidFS is an alternative way to use encrypted overlay filesystems on Android that uses its own internal file explorer instead of mounting virtual volumes. It currently only works with gocryptfs but support for CryFS could be added in the future.
DroidFS is provided "as is", without any warranty of any kind. It shouldn't be considered as an absolute safe way to store files. DroidFS cannot protect you from screen recording apps, keyloggers, apk backdooring, compromised root accesses, memory dumps etc. Do not use this app with volumes containing sensitive data unless you know exactly what you are doing.
DroidFS allows you to enable/disable unsafe features to fit your needs between security and comfort. It is strongly recommended to read the documentation of a feature before enabling it.
Allow screenshots:Disable the secure flag of DroidFS activities. This will allow you to take screenshots from the app, but will also allow other apps to record the screen while using DroidFS. Note: apps with root access don't care about this flag: they can take screenshots or record the screen of any app without any permissions.
Allow opening files with other applications *:Decrypt and open file using external apps. These apps could save and send the files thus opened.
Allow exporting files:Decrypt and write file to disk (external storage). Any app with storage permissions could access exported files.
Allow sharing files via the android share menu *:Decrypt and share file with other apps. These apps could save and send the files thus shared.
Keep volume open when the app goes in background:Don't close the volume when you leave the app but keep running it in the background. Anyone going back to the activity could have access to the volume.
Allow saving password hash using fingerprint:Generate an AES-256 GCM key in the Android Keystore (protected by fingerprint authentication), then use it to encrypt the volume password hash and store it to the DroidFS internal storage. This require Android v6.0+. If your device is not encrypted, extracting the encryption key with physical access may be possible.
You can download the latest version in the Releases section. All APKs from v1.3.0 are signed with my PGP key available on keyservers:
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 007F84120107191E
Hardcore Sushi <email@example.com>
To verify APKs:
gpg --verify <ASC file> <APK file>
DroidFS need some permissions to work properly. Here is why:
Read & write access to shared storage:Required for creating, opening and modifying volumes and for importing/exporting files to/from volumes.
Biometric/Fingerprint hardware:Required to encrypt/decrypt password hashes using a fingerprint protected key.
Camera:Needed to take photos directly from DroidFS to import them securely. You can deny this permission if you don't want to use it.
$ git clone https://github.com/hardcore-sushi/DroidFS.git
Gocryptfs need OpenSSL to work:
$ cd DroidFS/app/libgocryptfs $ wget https://www.openssl.org/source/openssl-1.1.1j.tar.gz
Verify OpenSSL signature:
$ wget https://www.openssl.org/source/openssl-1.1.1j.tar.gz.asc $ gpg --verify openssl-1.1.1j.tar.gz.asc openssl-1.1.1j.tar.gz
Continue ONLY if the signature is VALID.
$ tar -xvzf openssl-1.1.1j.tar.gz
First, we need to build libgocryptfs.
For this, we will need to install some dependencies:
$ sudo apt-get install libcrypto++-dev libssl-dev pkg-config
And also Go dependencies:
$ go get golang.org/x/sys/unix golang.org/x/sys/cpu golang.org/x/crypto/hkdf
Then, retrieve your Android NDK installation path, usually someting like "/home/<user>/AndroidSDK/ndk/<NDK version>". We can now start the build process:
$ cd DroidFS/app/libgocryptfs $ env ANDROID_NDK_HOME="<your ndk path>" OPENSSL_PATH="./openssl-1.1.1j" ./build.sh
Then, open the DroidFS project with Android Studio.
If a device (virtual or physical) is connected, just click on "Run".
If you want to generate a signed APK, you can follow this post.
Third party code
Thanks to these open source projects that DroidFS uses:
- gocryptfs to encrypt your data