[guardian-dev] working towards a CacheWord v0.1 release

Hans-Christoph Steiner hans at guardianproject.info
Fri Sep 5 19:25:13 EDT 2014


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 handle the Notification, cacheword no longer does

* CacheWordActivityHandler was removed, it was a pointless wrapper.
  Use CacheWordHandler instead call it's connectToService() and
  disconnectFromService() directly, most likely from onResume()
  and onPause() respectively

* cacheword no longer maintains the lock timeout value in the
  preferences, your app should handle that and provide a timeout
  to the CacheWordHandler constructor, or via setTimeout()

* getBlankServiceIntent() moved from CacheWordService to
  CacheWordHandler, to provide a unified API all on CacheWordHandler

* dynamic PBKDF iteration count based on /proc/cpuinfo

* now ships as a single jar file, but still works as an Android
  Library Project

* only depends on android-support-v4.jar

* purged dependencies to simplify deployment (spongycastle, guava,
  commons-codec, IOCipher, SQLCipher)

* manuallyLock() renamed to lock() to match isLocked()

* 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,
  then SQLCipherOpenHelper will also be no longer needed

More info here:
https://dev.guardianproject.info/versions/123

.hc

-- 
PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20140905/9814f96a/attachment.sig>


More information about the Guardian-dev mailing list