working towards a CacheWord v0.1 release
So I've just wrapped up a big push to nail down the CacheWord API and simply
the library as much as possible. I'll eventually make a proper release with a
jar file, but for now it is just in git:
https://github.com/guardianproject/cacheword
Here are the notable changes, feedback welcome:
- the app must create and handle the
Notification
, cacheword no longer does
CacheWordActivityHandler
was removed, it was a pointless wrapper.
UseCacheWordHandler
instead call it'sconnectToService()
and
disconnectFromService()
directly, most likely fromonResume()
andonPause()
respectively
- cacheword no longer maintains the lock timeout value in the
preferences, your app should handle that and provide a timeout
to theCacheWordHandler
constructor, or viasetTimeout()
getBlankServiceIntent()
moved fromCacheWordService
to
CacheWordHandler
, to provide a unified API all onCacheWordHandler
- dynamic PBKDF iteration count based on
/proc/cpuinfo
- now ships as a single jar file, but still works as an Android
Library Project
- now only depends on android-support-v4.jar
- purged dependencies to simplify deployment (spongycastle, guava,
commons-codec, IOCipher, SQLCipher)
manuallyLock()
renamed tolock()
to matchisLocked()
- As of IOCipher v0.2,
IOCipherMountHelper
is much simpler. Just
copy it into your project, or just rip out the little bit of
code and put it where you need it.
- The plan is to add raw key handling to SQLCipher-for-Android,
thenSQLCipherOpenHelper
will also be no longer needed
More info here:
https://dev.guardianproject.info/versions/123
Comments