akwizgran
0325bba86c
Fixed some resource leak warnings in unit tests.
...
Four more warnings were left unfixed because quick fixes would've broken
the tests.
2013-11-22 12:56:42 +00:00
akwizgran
4a19f821bb
Suppress deprecation warning.
2013-11-22 12:52:11 +00:00
akwizgran
26eebee8d9
Reverted some changes that were made for Java 1.5 compatibility.
...
Removed Commons IO, which we were only using as a replacement for
File.getFreeSpace() on desktop plaftorms.
Note: The Huawei U8210 (Android 2.1) doesn't have all the Java 1.6
standard library methods, and crashes if they're called. Specifically,
String.isEmpty() and NetworkInterface.supportsMulticast() are missing,
so the changes removing those methods were not reverted.
2013-11-22 12:49:20 +00:00
akwizgran
3b5769cf8a
Use Java 1.6 instead of 1.5. We no longer aim to support OS X 10.4.
2013-11-22 12:00:00 +00:00
akwizgran
a2aa13051a
Fixed a crash caused by trying to modify an immutable list.
2013-11-19 23:23:07 +00:00
akwizgran
cd147d7861
Pass the group's salt through to the DB when subscribing.
2013-11-19 23:13:54 +00:00
akwizgran
e73dc148c3
Avoid using a deprecated API if possible.
2013-11-19 23:13:35 +00:00
akwizgran
a56516f8a6
Changed target SDK version to 19.
2013-11-19 22:57:14 +00:00
akwizgran
1a351535be
The response to a BMP Offer is now an Ack and/or a Request.
...
The Request packet now contains a list of message IDs, rather than a
bitmap referring to the list of messages IDs in the Offer. This allows
the Request to be understood out of context, e.g. if the Offer and
Request are sent over separate connections or a connection is replayed.
2013-11-19 22:13:26 +00:00
akwizgran
2e472c1d16
Added the ability to skip serialised objects.
2013-11-19 21:28:53 +00:00
akwizgran
6764ade475
Delimited structs - this will allow us to skip unrecognised structs.
2013-11-19 18:05:44 +00:00
akwizgran
ab5389ce1f
Bumped expiry date of build to 30 November 2013.
2013-11-19 16:36:54 +00:00
akwizgran
e0d313a28c
Simplified serialisation format: removed compact encodings.
2013-10-11 15:16:16 +01:00
akwizgran
38c1b4eb97
Changed 'groups' to 'forums' in the Android UI.
2013-09-27 18:25:39 +01:00
akwizgran
7b01e42da8
Removed the ability to star messages (unused in UI).
2013-09-27 18:15:43 +01:00
akwizgran
0a153acd02
Removed peer moderation (may be restored after beta testing).
2013-09-27 18:04:27 +01:00
akwizgran
b94954544d
Removed restricted groups (may be restored after beta testing).
2013-09-27 15:11:04 +01:00
akwizgran
1e5e067df7
Removed ratings from the Android UI.
2013-09-21 19:28:53 +01:00
akwizgran
bf13d3155c
Raised the target SDK version to 18.
2013-09-21 19:10:34 +01:00
akwizgran
beb9750ca1
Removed blogs from the Android UI.
2013-09-21 19:10:11 +01:00
akwizgran
e06b883d20
Replaced "Connecting" with "Searching" in invitation UI.
2013-08-01 10:39:47 +01:00
akwizgran
c868764244
Separate FileUtils implementations for Android and desktop builds.
...
The method used by Commons IO to get the available disk space fails on
Android devices that lack a df binary - use the Android API instead.
2013-07-27 20:50:05 +01:00
akwizgran
0941697922
Bumped the expiry date of the alpha build to 31 July 2013.
2013-07-26 19:57:46 +01:00
akwizgran
95788cc1c6
Simplified the KDF implementation, since one iteration is enough.
...
We don't need to call HMAC-SHA-384 more than once to get 256 bits of key
material. The code will throw a RuntimeException if CIPHER_KEY_BYTES is
changed in future so that one iteration's no longer enough.
2013-07-12 19:05:27 +01:00
akwizgran
a8d86a1b05
Don't use a byte[1] where a byte will do.
2013-07-12 18:59:52 +01:00
akwizgran
a731b68e9f
Switched from CMAC to HMAC-SHA-384 in key derivation function.
2013-07-12 18:56:12 +01:00
akwizgran
2ee3869327
Switched to AESLightEngine to minimise cache timing side-channel leaks.
2013-07-12 18:54:50 +01:00
akwizgran
a2fffedc64
Erase temporary copies of keys.
2013-07-12 18:53:15 +01:00
akwizgran
e9859e9f38
The counter mode KDF was not correctly following NIST SP 800-108.
...
Fixes bug #25 . CMAC is used as the PRF. Note that we're currently using
a version of Spongy Castle with a CMAC implementation that's vulnerable
to a side-channel attack - this has been reported and fixed upstream but
we haven't yet upgraded to the fixed version.
2013-07-11 15:13:48 +01:00
akwizgran
d02266d827
Moved Android-specific plugin code into briar-android project.
...
This removes the other projects' dependency on the Android API.
2013-06-27 16:26:52 +01:00
akwizgran
473cec8735
Moved desktop-specific code into a separate project (other task #34 ).
2013-06-27 16:05:31 +01:00
akwizgran
26d25cdbba
Removed unused Silvertunnel patch.
2013-06-27 15:12:24 +01:00
akwizgran
7b3dd28e18
Updated the expiry date of the alpha build to 15 July 2013.
2013-06-27 15:06:20 +01:00
akwizgran
f2b25a5bf1
Wrong text was being shown in CreateGroupActivity. Fixes bug #22 .
2013-06-27 11:36:44 +01:00
akwizgran
1e6f6b2fa5
Give the Java 1.5 compiler more type information.
2013-06-19 16:54:15 +01:00
akwizgran
ed521fc028
Don't assume contacts will be returned in any particular order.
2013-06-19 16:53:38 +01:00
akwizgran
3e6d3e0b1f
Downgraded H2 to version 1.3.170 (last version that supports Java 1.5).
2013-06-19 16:10:26 +01:00
akwizgran
b2e7f9f3b6
Removed an unused method and an unused source jar.
2013-06-19 14:08:43 +01:00
akwizgran
3e0c16b59a
Removed all uses of JCE so we can use full-strength crypto on all JVMs.
2013-06-17 16:29:46 +01:00
akwizgran
8a039f0747
Updated the expiry date of the alpha build to 1 July 2013.
2013-06-17 12:41:17 +01:00
akwizgran
1808ceaf58
Replaced further JCE calls with direct instantiation of SC objects.
2013-06-14 12:22:32 +01:00
akwizgran
a979cab43a
Don't pass a null provider to the Cipher constructor.
2013-06-14 11:24:14 +01:00
akwizgran
155a231292
Replaced JCE provider calls with direct instantiation of Spongy Castle classes.
2013-06-14 10:57:48 +01:00
akwizgran
3054605a79
Set javac's target version to Java 1.5 in the ant buildfiles.
2013-06-13 18:38:54 +01:00
akwizgran
a4d3daaa3e
Removed a Java 1.6 API call.
2013-06-13 17:55:12 +01:00
akwizgran
e1ec17f4b6
Made the invitation protocol symmetrical.
...
Both devices try to make outgoing connections and accept incoming
connections simultaneously. This should lead to faster connection
establishment when there are asymmetrical connectivity problems, such as
devices that are unable to receive LAN multicast packets or make
themselves discoverable via Bluetooth.
2013-06-13 13:10:22 +01:00
akwizgran
bebaf4f84b
Reworked the Bluetooth invitation process to be symmetrical (untested).
2013-06-13 12:40:44 +01:00
akwizgran
a17349e015
Replaced redundant SocketReceiver classes with a generic class.
2013-06-13 12:40:19 +01:00
akwizgran
3833eac4e2
Made two private classes static.
2013-06-13 11:50:01 +01:00
akwizgran
4431e502f7
Symmetric invitation protocol for the Droidtooth plugin.
2013-06-06 15:17:35 +01:00