akwizgran
0dbfd7073f
Comments to indicate which locks guard which variables.
2015-01-29 11:12:41 +00:00
akwizgran
47bd84122e
Code formatting and small cleanups.
2015-01-28 21:18:31 +00:00
Abraham Kiggundu
fcb983a651
Bug#49
...
https://sourceforge.net/p/briar/bugs/49/
Fixed by ensuring that the generated contact and group intents are uniquely identified
2015-01-08 11:58:44 +03:00
Abraham Kiggundu
851151041e
Pull-Merge of latest changes from main repo
2015-01-08 11:54:47 +03:00
Abraham Kiggundu
686d5fd206
bug#49 Fixed by ensuring that intents for different contacts/groups can be distinguished from each other when resolving PendingIntent refs
2015-01-08 00:37:10 +03:00
Abraham Kiggundu
8d25840a1d
Fixed bug calling notifyAll instead of signalAll
2015-01-07 00:47:27 +03:00
Abraham Kiggundu
be2a92d6c2
Revert lock variable rename for clarity
2015-01-07 00:37:28 +03:00
Abraham Kiggundu
2933f1a874
Reverted inadvertent downgrade of gradle version
2015-01-07 00:23:32 +03:00
akwizgran
4e57029d98
Use constant-time GCM multiplier.
2015-01-06 19:30:11 +00:00
Abraham Kiggundu
2b9c469063
Merge branch 'improve-thread-encapsulation' into upstream
2015-01-06 07:15:11 +03:00
akwizgran
ed79719bab
Unit tests for StreamEncrypterImpl.
2015-01-05 18:55:17 +00:00
akwizgran
1f69f0d2f6
Variable-length frames (untested).
2015-01-05 17:35:45 +00:00
akwizgran
d3bf2d59a1
Use the same maximum frame length for all transports.
2015-01-05 16:24:44 +00:00
Abraham Kiggundu
8b79d84029
Fix to travis android build tools version
2015-01-04 23:40:19 +03:00
akwizgran
358166bc12
Don't try to erase secrets from memory.
...
1. The things we're really trying to protect - contact identities,
message contents, etc - can't be erased from memory because they're
encapsulated inside objects we don't control.
2. Long-term secrets can't be protected by erasing them from memory
because they're stored in the database and the database key has to be
held in memory whenever the app's running.
3. If the runtime uses a compacting garbage collector then we have no
way to ensure an object is erased from memory.
4. Trying to erase secrets from memory makes the code more complex.
Conclusion: Let's not try to protect secrets from an attacker who can
read arbitrary memory locations.
2014-12-29 21:08:27 +00:00
akwizgran
f316d64afa
Moved stream crypto to crypto component.
2014-12-29 19:55:05 +00:00
Abraham Kiggundu
9a2e93ebb9
cleanup
2014-12-26 17:35:37 +03:00
Abraham Kiggundu
b074978472
Improved encapsulation of thread synchronisation as follows
...
- replaced use of Object instance mutex with a private final Lock object
- replaced Object signaling with specific condition signalling
2014-12-26 16:40:46 +03:00
Abraham Kiggundu
276dcb1038
undo unnecessary changes to .project file and ignore eclipse metadata
2014-12-22 21:11:16 +03:00
akwizgran
02a485ace0
Improved description of Bluetooth setting. Bug #73 .
2014-12-17 08:34:44 +00:00
akwizgran
388b36b6be
Check periodically for retransmittable packets. Bug #46 .
2014-12-14 20:26:41 +00:00
akwizgran
29a6596ee3
Use the transport's idle timeout, not a hardcoded value.
2014-12-14 15:18:39 +00:00
akwizgran
d4fa656dbb
Application layer keepalives to detect dead TCP connections.
...
DuplexOutgoingSession flushes its output stream if it's idle for a
transport-defined interval, causing an empty frame to be sent. The TCP
and Tor plugins use a socket timeout equal to twice the idle interval to
detect dead connections.
See bugs #27 , #46 and #60 .
2014-12-13 12:00:40 +00:00
Abraham Kiggundu
0f8baf7726
Fix Travis Build
2014-12-08 11:10:57 +00:00
Abraham Kiggundu
b9436aaaa9
Fixed Travis build
2014-12-08 10:50:00 +00:00
Abraham Kiggundu
0bd0702059
Fixed Travis build status markdown
2014-12-08 10:29:39 +00:00
Abraham Kiggundu
9d0f871bcd
Fix travis build
2014-12-08 10:23:13 +00:00
Abraham Kiggundu
5c754f5c56
Fixed Travis Build
2014-12-08 10:20:25 +00:00
Abraham Kiggundu
a076940f73
Fixed Travis build
2014-12-08 10:16:10 +00:00
Abraham Kiggundu
b8ad75426e
Added CI info to Readme
2014-12-08 09:51:37 +00:00
Abraham Kiggundu
f591a22af8
Added travis CI build
2014-12-08 09:41:26 +00:00
Abraham Kiggundu
7af25fc74d
Revert "Abe#1 fixed link to generated folder"
...
This reverts commit bb3ec5a2d6 .
2014-12-06 21:27:20 +00:00
Abraham Kiggundu
bb3ec5a2d6
Abe#1 fixed link to generated folder
2014-12-06 20:55:57 +00:00
akwizgran
3a70aa7653
Removed unused code from AndroidLocationUtils.
...
It's in the git history if we ever decide to use it.
2014-12-05 19:23:47 +00:00
akwizgran
64d644d8b8
Clean up output streams in unit test.
...
This fixes some lint warnings and may also fix dev task #102 .
2014-12-05 19:22:35 +00:00
akwizgran
6cc864db2c
Bumped expiry date to 1 January 2015.
2014-12-05 13:32:59 +00:00
akwizgran
c1d24d050a
Skip platform-specific tests when testing on another platform.
2014-12-05 13:32:59 +00:00
akwizgran
f0f5daf607
Updated Bouncy Castle source code.
2014-12-05 13:32:59 +00:00
akwizgran
d94637b5cf
Removed polling from ModemPlugin.
2014-12-05 12:46:11 +00:00
Abraham Kiggundu
5b7938ac4d
fixed missing linked folder resource
2014-12-05 12:23:51 +00:00
akwizgran
0d12e39107
Bumped expiry date to 1 January 2015.
2014-12-05 10:28:51 +00:00
akwizgran
33d36b6ec4
Skip platform-specific tests when testing on another platform.
2014-12-05 10:28:34 +00:00
akwizgran
0b9671a0fa
Updated Bouncy Castle source code.
2014-12-04 12:06:41 +00:00
akwizgran
04d1ef721d
Removed leftovers of ancient Windows installer experiments.
2014-11-25 18:05:07 +00:00
akwizgran
6b4a72aea7
Added Gradle build files because Ant's too efficient for some people.
2014-11-25 14:54:34 +00:00
akwizgran
cc8f960902
Renamed values-v11 to values-v14 as it depends on API level 14.
2014-11-25 07:44:54 +00:00
akwizgran
bb4bd1d553
Removed unused strings.
2014-11-25 07:44:24 +00:00
akwizgran
68750083ea
Updated vuln.pub manifest.
2014-11-24 22:20:14 +00:00
akwizgran
9eee6c1adc
Updated Tor patch and recompiled Tor with patch applied.
2014-11-24 22:13:16 +00:00
akwizgran
992013e42a
Added partial vuln.pub manifest to test vulnerability notifications.
2014-11-24 21:14:32 +00:00