{"id":28921683,"url":"https://github.com/guardianproject/iocipher","last_synced_at":"2025-09-14T05:08:31.985Z","repository":{"id":137101547,"uuid":"3731746","full_name":"guardianproject/IOCipher","owner":"guardianproject","description":"make non-root mountable encrypted disk shares","archived":false,"fork":false,"pushed_at":"2020-09-30T18:38:11.000Z","size":20692,"stargazers_count":141,"open_issues_count":6,"forks_count":45,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-09-13T07:46:02.732Z","etag":null,"topics":["disk","encryption","gradle","java","sqlcipher","virtual"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guardianproject.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":"FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"liberapay":"GuardianProject","patreon":"guardianproject","github":["eighthave"]}},"created_at":"2012-03-15T19:07:54.000Z","updated_at":"2025-07-29T19:40:06.000Z","dependencies_parsed_at":"2023-03-29T12:50:29.257Z","dependency_job_id":null,"html_url":"https://github.com/guardianproject/IOCipher","commit_stats":{"total_commits":268,"total_committers":11,"mean_commits":"24.363636363636363","dds":"0.17910447761194026","last_synced_commit":"859dff9b6d2b2794bd1b416dd08402fd487b6dc3"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/guardianproject/IOCipher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guardianproject%2FIOCipher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guardianproject%2FIOCipher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guardianproject%2FIOCipher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guardianproject%2FIOCipher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guardianproject","download_url":"https://codeload.github.com/guardianproject/IOCipher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guardianproject%2FIOCipher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275062966,"owners_count":25398888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["disk","encryption","gradle","java","sqlcipher","virtual"],"created_at":"2025-06-22T07:07:48.752Z","updated_at":"2025-09-14T05:08:31.976Z","avatar_url":"https://github.com/guardianproject.png","language":"Java","readme":"\nIOCipher: Encrypted Virtual Disk\n--------------------------------\n\nIOCipher is a virtual encrypted disk for apps without requiring the device to\nbe rooted. It uses a clone of the standard java.io API for working with\nfiles. Just password handling \u0026 opening the virtual disk are what stand\nbetween developers and fully encrypted file storage. It is based on libsqlfs\nand SQLCipher.\n\nIf you are using this in your app, we'd love to hear about it! Please send us\nan email at support@guardianproject.info\n\n\nAdding to your project\n----------------------\n\nSee https://guardianproject.info/code/iocipher\n\n\nBuilding\n--------\n\nThis app relies on OpenSSL libcrypto, sqlcipher, and libsqlfs, which\nare all \"native\" C code that needs to be built before working with the\nJava. First, make sure you have the build prerequisites:\n\n  apt-get install tcl libtool automake autoconf gawk libssl-dev\n\nPoint the build to where your Android SDK and NDK are installed,\neither by setting `sdk.dir` and `ndk.dir` in your _local.properties_ or\nsetting the environment variables:\n\n  export ANDROID_HOME=/opt/android-sdk\n  export ANDROID_NDK_HOME=/opt/android-ndk\n\nWith _gradle_, just run `gradle build` and it will run all the steps.\n\nUsing _ant_, build everything like this:\n\n  git clone https://github.com/guardianproject/IOCipher\n  git submodule update --init --recursive\n  ./setup-ant\n  make -C external/\n  $ANDROID_NDK_HOME/ndk-build\n  ant clean debug\n\nThe official releases are built using _ant_ using a script that fully resets\nthe git repo, then runs the whole build:\n\n  ./make-release-build\n\n\nBuilding Native Bits\n--------------------\n\nIf you are using Eclipse with this library, you can have the NDK parts built\nas part of the Eclipse build process.  You just need to set ANDROID_NDK in the\n\"String Substitution\" section of your Eclipse's workspace preferences.\n\nOtherwise, you can build the native bits from the Terminal using:\n\n  make -C external\n  ndk-build\n\n\nLicense\n-------\n\nWhen taken as a whole, this project is under the the LGPLv3 license\nsince it is the only license that is compatible with the licenses of\nall the components.  The source code for this comes from a few\ndifferent places, so there are a number of licenses for different\nchunks.\n\n* Apache 2.0 (Android Internals): Much of the code here is taken from\n  the Android internals, so it has an Apache 2.0 license.\n\n* OpenSSL License: It is linked to the OpenSSL that is provided with\n  Android, so it should be covered under Android's handling of the\n  advertisement clause.\n\n* LGPL 2.1 (libsqlfs)\n\n* BSD-style (sqlcipher)\n\nWe believe the LGPLv3 is compatible with all reasonable uses, including\nproprietary software, but let us know if it provides difficulties for you.\nFor more info on how that works with Java, see:\n\nhttps://www.gnu.org/licenses/lgpl-java.en.html\n\n\nIncluded shared library files\n-----------------------------\n\nIn `external/libs` are some binary .so files, these are all binaries pulled\nfrom other sources so that the C code can have something link against.\n\n`libcrypto.so` comes from Android emulators.  They are included here\nso that the C code can link against openssl's libcrypto, which Android\nincludes but does not expose in the NDK.  If you want to build this library\nfrom source, then do this:\n\n```\ngit clone https://github.com/guardianproject/openssl-android\ncd openssl-android\nndk-build -j4\n```\n\nThese shared libraries _must_ not be included in any real app. Android\nprovides `/system/lib/libcrypto.so` and you should get SQLCipher directly from\nthe source, listed above.\n\n\n\n\n[SQLCipher-for-Android]: https://www.zetetic.net/sqlcipher/open-source\n","funding_links":["https://liberapay.com/GuardianProject","https://patreon.com/guardianproject","https://github.com/sponsors/eighthave"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguardianproject%2Fiocipher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguardianproject%2Fiocipher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguardianproject%2Fiocipher/lists"}