All Projects → guardianproject → Iocipher

guardianproject / Iocipher

Licence: lgpl-3.0
make non-root mountable encrypted disk shares

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Iocipher

Phoenix For Vk
Yet another VK client for Android
Stars: ✭ 131 (+5.65%)
Mutual labels:  gradle, encryption
Androidlibrary
Android library to reveal or obfuscate strings and assets at runtime
Stars: ✭ 162 (+30.65%)
Mutual labels:  gradle, encryption
Enigma
Gradle Plugin - Obfuscator String Encryption (Android/Java)
Stars: ✭ 43 (-65.32%)
Mutual labels:  gradle, encryption
Kubernetes Kms
🔐Azure Key Vault KMS plugin for Kubernetes
Stars: ✭ 118 (-4.84%)
Mutual labels:  encryption
Preact Scroll Viewport
Preact Component that renders homogeneous children only when visible
Stars: ✭ 118 (-4.84%)
Mutual labels:  virtual
Gradle Vaadin Plugin
A Gradle plugin for building Vaadin applications
Stars: ✭ 122 (-1.61%)
Mutual labels:  gradle
Noise
.NET Standard 1.3 implementation of the Noise Protocol Framework (revision 33 of the spec)
Stars: ✭ 124 (+0%)
Mutual labels:  encryption
Android Readthefuckingsourcecode
😜 记录日常的开发技巧,开发中遇到的技术重点、难点,各个知识点的总结,优质面试题等等。持续更新...
Stars: ✭ 1,665 (+1242.74%)
Mutual labels:  gradle
Crossplatformdisktest
Windows, macOS and Android storage (HDD, SSD, RAM) speed testing/performance benchmarking app
Stars: ✭ 123 (-0.81%)
Mutual labels:  disk
Comrad
A socialist network: encrypted, insurveillable, unmontizeable, and self-governing. App is written in Python. (Calling all socialist programmers for help!)
Stars: ✭ 122 (-1.61%)
Mutual labels:  encryption
Downlords Faf Client
Official client for Forged Alliance Forever
Stars: ✭ 121 (-2.42%)
Mutual labels:  gradle
Playground
A new kind of virtual event platform 🐧
Stars: ✭ 120 (-3.23%)
Mutual labels:  virtual
Zeyple
Postfix filter/hook to automatically encrypt outgoing emails with PGP/GPG
Stars: ✭ 122 (-1.61%)
Mutual labels:  encryption
Clojurephant
Clojure and Clojurescript support for Gradle
Stars: ✭ 118 (-4.84%)
Mutual labels:  gradle
Chest
Bash glue to encrypt and hide files
Stars: ✭ 123 (-0.81%)
Mutual labels:  encryption
Cryptogotchas
A collection of common (interesting) cryptographic mistakes.
Stars: ✭ 118 (-4.84%)
Mutual labels:  encryption
Gradle Command Action
Execute Gradle Command Github Action
Stars: ✭ 123 (-0.81%)
Mutual labels:  gradle
Shrinker
Inline constant fields of android R class by asm and transform-api
Stars: ✭ 121 (-2.42%)
Mutual labels:  gradle
Gnag
A Gradle plugin that helps facilitate GitHub PR checking and automatic commenting of violations.
Stars: ✭ 120 (-3.23%)
Mutual labels:  gradle
Btree4j
Disk-based B+-tree written in Pure Java
Stars: ✭ 122 (-1.61%)
Mutual labels:  disk

IOCipher: Encrypted Virtual Disk

IOCipher is a virtual encrypted disk for apps without requiring the device to be rooted. It uses a clone of the standard java.io API for working with files. Just password handling & opening the virtual disk are what stand between developers and fully encrypted file storage. It is based on libsqlfs and SQLCipher.

If you are using this in your app, we'd love to hear about it! Please send us an email at [email protected]

Adding to your project

See https://guardianproject.info/code/iocipher

Building

This app relies on OpenSSL libcrypto, sqlcipher, and libsqlfs, which are all "native" C code that needs to be built before working with the Java. First, make sure you have the build prerequisites:

apt-get install tcl libtool automake autoconf gawk libssl-dev

Point the build to where your Android SDK and NDK are installed, either by setting sdk.dir and ndk.dir in your local.properties or setting the environment variables:

export ANDROID_HOME=/opt/android-sdk export ANDROID_NDK_HOME=/opt/android-ndk

With gradle, just run gradle build and it will run all the steps.

Using ant, build everything like this:

git clone https://github.com/guardianproject/IOCipher git submodule update --init --recursive ./setup-ant make -C external/ $ANDROID_NDK_HOME/ndk-build ant clean debug

The official releases are built using ant using a script that fully resets the git repo, then runs the whole build:

./make-release-build

Building Native Bits

If you are using Eclipse with this library, you can have the NDK parts built as part of the Eclipse build process. You just need to set ANDROID_NDK in the "String Substitution" section of your Eclipse's workspace preferences.

Otherwise, you can build the native bits from the Terminal using:

make -C external ndk-build

License

When taken as a whole, this project is under the the LGPLv3 license since it is the only license that is compatible with the licenses of all the components. The source code for this comes from a few different places, so there are a number of licenses for different chunks.

  • Apache 2.0 (Android Internals): Much of the code here is taken from the Android internals, so it has an Apache 2.0 license.

  • OpenSSL License: It is linked to the OpenSSL that is provided with Android, so it should be covered under Android's handling of the advertisement clause.

  • LGPL 2.1 (libsqlfs)

  • BSD-style (sqlcipher)

We believe the LGPLv3 is compatible with all reasonable uses, including proprietary software, but let us know if it provides difficulties for you. For more info on how that works with Java, see:

https://www.gnu.org/licenses/lgpl-java.en.html

Included shared library files

In external/libs are some binary .so files, these are all binaries pulled from other sources so that the C code can have something link against.

libcrypto.so comes from Android emulators. They are included here so that the C code can link against openssl's libcrypto, which Android includes but does not expose in the NDK. If you want to build this library from source, then do this:

git clone https://github.com/guardianproject/openssl-android
cd openssl-android
ndk-build -j4

These shared libraries must not be included in any real app. Android provides /system/lib/libcrypto.so and you should get SQLCipher directly from the source, listed above.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].