iocipheriocipherexampleiociphertestsiocipherthreadtestlibsqlfs
statically link STLport into lib, sqlcipher no longer provides it
update for latest sqlcipher library
add method to finalize sqlfs on extra threads
When a new thread tries to access the volume, it will use the cached passwordand path and automatically allocate a sqlfs_t. When that thread ends, it'llautomatically call sqlfs_t_finalize() to cleanup. But often times threads are...
delete every container file even if a prior ones failed to delete
if the first file failed to delete, then it would skip trying on the laterones since `result` would be false. a leading false in an `&&` statementmeans the second one does not get evaluated.
add VirtualFileSystem.deleteContainer() method to ease cleanup
Most people are probably not aware that SQLite will create the -wal and-shm files in addition to the sqlfs database file itself. This provides amethod to clean up an existing container without knowing which files need...
createNewContainer methods for creating a new IOCipher file system
This changes the VirtualFileSystem paradigm to make mount() only operate onexisting files, then introduces createNewContainer() as a dedicated methodfor createing new VFS container files....
move setContainerPath() to JNI and handle all pre-mount checks there
Instead of having the code for pre-checking the container file in both Javaand JNI/C++, this merges it all into the JNI side. This is also a steptowards changing the core logic of mounting so that it will fail if the...
purge unencrypted mount options
The unencrypted mount options were originally included as debug options,but since things are working well now, people can just as easily debugusing a static password, then mounting the container files using fuse_sqlfsor sqlfscat/sqlfsls.
sort out the exceptions thrown when mounting or unmounting
alternate form of mount() that includes path to container file
In some situations, it'll make more sense to do a single call to mount()with all relevant information rather than setContainer() then mount().
View revisions
Also available in: Atom