make-release-build: purge faketime, its troublesome and not useful
use ASCII GPG signatures since maven repos want .asc not .sig
ignore release build products
force use the Android SDK still setup for ant builds
fixing typo in doc, there is no CacheWordHandler.disconnect(), only CacheWordHandler.disconnectFromService()closes #17
do not include timestamps in javadoc, for reproducibility
AlarmManager.cancel on null intent will throw when targeting N
fix gradle compile line in README
document how to use cacheword JAR with gradle
create `ant javadoc` and `ant source` to create all files for jcenter
set target SDK for all ant build files
For whatever reason, some people's setups were complaining:
"Error: The project either has no target set or the target is invalid."
bump Target SDK Version to android-22/5.1
first stab at a build.gradle to allow gradle-based projects to use this
closes #5002 https://dev.guardianproject.info/issues/5002
simplify release build naming in custom_rules.xml, following IOCipher
Remove CacheWordActivityHandler information
Remove all information related to CacheWordActivityHandler fromREADME.md to prevent new user wasting time looking for it. It wasremoved since over a month ago, based onhttps://dev.guardianproject.info/news/193.
get detailed zip comparison from `zipinfo -lv`
include hexdump in reproducible comparison
compare jars using BSD's hexdump since it works on GNU and OSX
make gpg signing optional for build success
remove jar signature from release, it messes up deterministic builds
No one really checks jar signatures anyway, there is a better OpenPGP .sig,and the jar signature makes it harder to handle the determinstic buildprocess.
compare-to-official-release: script to compare release jars
This allows anyone to test the reproducibility of the build.
put all relevant settings into a single properties file
./make-release-build uses ant.properties to set up the signing key
add make-release-build to automate deterministic build process
include Android SDK version and build host OS in jar metadata
merge all supporting texts into the README
nail down `ant release` process
This fixes up the process for creating an official cacheword.jar forrelease. It mostly removes the code for making a .zip which was inheritedfrom IOCipher.
replace duplicate code with call to getPasswordLockPendingIntent()
move getBlankServiceIntent() to CacheWordHandler to unify interface
This means that basically everything that the developer will ever need todo can happen using CacheWordHandler.
purge CacheWordSettings and directly set timeout in CacheWordHandler
This removes the now pointless CacheWordSettings and provides options fordirectly setting the timeout in seconds. This changes the meaning of thenon-positive values:
0 = timeout in seconds...
rename INTENT_PASS_EXPIRED to INTENT_LOCK_CACHEWORD
This Intent causes CacheWord to lock, so this name makes more sense.
rename CacheWordHandler.lock() to match CacheWordHandler.isLocked()
Clean up some unneeded redirection while we are at it. If it is everneeded in the future, it can be easily added back in.
improve javadoc comments on CacheWordHandler
CacheWordHandler is the main interface, so it should be well documented.
purge built-in Notification, the app must now provide it
Previously, there was an elaborate, custom framework for customizing theNotification that was hard-coded into CacheWord. Now, the app must supplya Notification, and that triggers CacheWordService to run as a foreground...
move getApplicationContext() into getBlankServiceIntent()
Since CacheWordService.getBlankServiceIntent() requires a long-livedContext, move the call to getApplicationContext() into the method itself toguarantee that it gets the Application's Context.
purge CacheWordActivityHandler, its a pointless wrapper of CacheWordHandler
Instead, apps should just instantiate CacheWordHandler and callconnectToService() and disconnectFromService() where appropriate. That ismost likely going to be in an Activity's onResume() and onPause()...
move notification icon to sample project
This puts the lib one step closer to only being a jar!
refs #3680 https://dev.guardianproject.info/issues/3680
simplify SerializedSecretsV1 interface to just what is needed and used
The only operations that SerializedSecretsV1 needs to provide is setting upand instance in the constructor, then getting the info encoded in a bytearray.
refs #3742 https://dev.guardianproject.info/issues/3742
remove unnecessary parse() code that throws a NPE
closes #3742 https://dev.guardianproject.info/issues/3742
provide example for mounting IOCipher
closes #3692 https://dev.guardianproject.info/issues/3692
Eclipse insists on exporting these Android ADT things
make `ant debug` and `ant release` generate a usable jar file
fix bug with default value for timeout
closes #11 https://github.com/guardianproject/cacheword/pull/11fixes #3698 https://dev.guardianproject.info/issues/3698
sort out android-support-v4.jar madness in Eclipse
set sample minSdkVersion="11" to avoid using android-support-v4.jar
ignore all products of `android update` including proguard-project.txt
move test classes into same package as the classes they test
This generally makes it easier to test the classes since the test classeswill have access to all methods/variables that are not declared private.
move defaults out of XML and directly into the relevant classes
These constants are barely used, and are the only thing left that preventcacheword from being distributed only as a jar.
move SQLCipher helpers to separate library project
This means that the core of Cacheword can be shipped as a simple jar thatonly depends on the Android Support v4 jar. Also, for many users, theywill never need the SQLCipherV3MigrationHelper in their project at all...
fix all javadoc warnings and errors
set up cachewordlib's manifest for merging, introduced in ADT v20
As of ADT v10 and gradle v0.10, it is possible to put stuff into a libraryproject's manifest, then have it included into the main project's manifest.The main project has to add this to its project.properties to enable it:...
clean up all XML (formatted and removed unused)
bump targetSdkVersion to latest (20)
added script for running jenkins builds
set version to 0.1
fetch-test-report ant target for getting JUnit report to Jenkins
fix all warnings
standard script for setting up ant builds
add ant build targets: jar and javadoc
official ways to build the release jar and javadoc files.
minSdkVersion="9" without spongycastle
refs #3665 https://dev.guardianproject.info/issues/3665
replace heavy KDF iteration count function with one based on /proc/cpuinfo
The previous KDF iteration count measuring method took a long time to runand depended on including spongycastle. In the interest of keeping thelibrary as minimal as possible, it is good to remove dependencies. In the...
point to Android SDK for javadoc for android-support-v4.jar
If you have your Android SDK installed at /opt/android-sdk, then this willmake Eclipse automatically use the SDK's docs for the javadoc for methodsfrom the Support library.
include static encodeHex() method to purge commons-codec.jar
cacheword needs to have as few deps as possible, so purge this jar. Thanksto sqlcipher:
https://github.com/sqlcipher/android-database-sqlcipher/commit/817cff171c99bf6dfc654df3658dbb8af0d59e25...
Eclipse: the test/sample projects expect the lib project at "cachewordlib"
Eclipse: set libs/ as default jar location
refs #3663 https://dev.guardianproject.info/issues/3663
update to SQLCipher v3.1.0
new IOCipher API eliminates need for IOCipherMountHelper
format code using Eclipse code formatter with Android standard config
This makes for quite plain Java style with longer code lines, more or less.
run Eclipse imports organizer
changed encodeRawKeyToStr in SQLCipherOpenHelper to use new String instead of toString
Merge pull request #9 from vanevery/deinitialize
Deinitialize
Merge branch 'master' of https://github.com/guardianproject/cacheword into deinitialize
Added deinitialize method
pass char[] to SQLCipher instead of String. fixes #2253
tests: add SQLCipherOpenHelperTest
It also handily tests our callbacks!
readme: document new detach/reattach functions
readme: add table of contents for readability
README: explain how to use background services with CW
Fix misleading run-time statements. Calibration doesn't take 30 seconds.
DEBUG: debug statements for Courier
Merge pull request #8 from vanevery/enable_subscriber_timeout
Added attach and detach methods to CacheWordHandler
Added attach and detach methods in cases where connect and disconnect aren't appropriate
Added boolean in constructor for whether or not to call attachSubscriber on CacheWordService. Not calling this doesn't icrease the subscriber count in the service and allows timeouts to occur even though a there is an active connection.
write default settings on class instantiation
fixes the bug that would occur if settings are read manuallybefore any setters or getters were called.
change timeout granularity to seconds
the default is still 5 minutes
fixes #3093
Bind reqested when bindService returns true
Signed-off-by: Abel Luck <abel@guardianproject.info>
document dependency on sqlcipher 3.0.2
update minimum api level in docs
document calibration configurability
test SerializedSecrets v0 to v1 migration
suppress several harmless lint warnings
advise use of a thread in the documentation
refs #2252
update tests after KDF calibrator installation
install KDF calibrator
we calibrate the KDF (1) on every encryptAndSave() and(2) at fetch time if the iteration count is too low.
add PBKDF2 calibration settings
use configurable KDF itercount in Serialized Secrets
at this stage however the value is still fixed at 100
implement versioned loading and migration for SS
move SerializedSecretsX dependency to app layer
versioning of serialized secrets doesn't belong in the crypto layer
hook up the KDF iteration calibrator
update to SQLCipher for Android 3.0.2
fixes #3123refs #2884
migrate TODOs to the issue tracker
add adaptive PBKDF2 iteration calibration function
Currently not hooked up.
Thanks to briar project for the algorithm: briar.sourceforge.net
1 2 3 Next » (1-100/238) Per page: 25, 50, 100, 250
Also available in: Atom