akwizgran
0f04ea5496
UPnP port mapper using the Weupnp library (untested).
2012-11-02 19:38:57 +00:00
akwizgran
ba07c00907
Removed unused Bluetooth code; use public API if available.
2012-11-02 17:58:48 +00:00
akwizgran
74b8a95a23
Corrected names of TCP plugins.
2012-11-02 15:43:24 +00:00
akwizgran
614f463b35
Added factory for LanTcpPlugin.
2012-11-02 15:40:22 +00:00
akwizgran
5bf72047b4
Enumerating network interfaces requires the INTERNET permission.
2012-11-02 15:39:20 +00:00
akwizgran
031bb09f83
Separated TCP plugin into LAN and WAN plugins and renamed package.
2012-11-02 15:08:35 +00:00
akwizgran
6515c54238
Moved currently unused i18n code to sandpit repo.
2012-11-02 15:07:57 +00:00
akwizgran
11ea898bab
Erase the tag key after use.
2012-11-02 12:25:13 +00:00
akwizgran
c0c6af7a86
Renamed an inner class.
2012-11-01 18:48:08 +00:00
akwizgran
38ed9d69bf
Wrap java.util.Timer in an interface so it can be mocked.
2012-10-31 14:26:59 +00:00
akwizgran
8ed68f36e4
Code cleanup: import static.
2012-10-31 00:36:48 +00:00
akwizgran
3fa433f7fe
We only need Bluetooth discoverabilty when accepting an invitation.
2012-10-31 00:18:48 +00:00
akwizgran
7562c2cee8
Unregister receivers using the provided context.
2012-10-31 00:14:23 +00:00
akwizgran
8a2b43eee6
Class names were out of date after merging changes from Afsnit repo.
2012-10-31 00:10:05 +00:00
akwizgran
2f7e2e16cf
Merged changes from the afsnit repo.
...
The project is now built as an Android project (via Eclipse or
ant). Tests have been moved to a separate project so they can exist
outside the Android build process. A basic Android app structure has
been created. A Bluetooth plugin for Android has been added, and the
Bluetooth plugin for J2SE has been modified to use the same techniques.
2012-10-30 23:04:52 +00:00
akwizgran
a66da73d37
Moved currently unused i18n code out of build path.
2012-10-30 20:37:31 +00:00
akwizgran
e6ac5494fc
Restructured project prior to merging changes from Afsnit repo.
2012-10-30 20:30:50 +00:00
akwizgran
0ffdaf89c0
More checks for duplicate keys in maps.
2012-10-24 23:48:55 +01:00
akwizgran
e78b94b815
Check for duplicate keys when updating maps.
2012-10-24 23:39:12 +01:00
akwizgran
1b8478df84
Derive and store secrets when a contact transport is added.
2012-10-24 23:34:46 +01:00
akwizgran
79a8d1c19d
Removed an unnecessary variable.
2012-10-24 20:34:48 +01:00
akwizgran
aef83df55f
The connection recogniser doesn't need to store newly added windows.
2012-10-24 20:32:55 +01:00
akwizgran
9b00a6f029
Remove dead secrets from the connection recogniser.
2012-10-24 20:13:00 +01:00
akwizgran
d940c637c2
Fixed key derivation issues, moved tag encoding into crypto component.
2012-10-24 20:05:18 +01:00
akwizgran
5628342c58
Cancel the timer thread when stopping the key manager.
2012-10-24 19:16:26 +01:00
akwizgran
c0143611b8
Fixed a SQL typo and a race condition.
...
The typo caused the select statement to be under-selective; the race
condition could have occurred if a contact transport was removed while
an outgoing connection was being created.
2012-10-24 19:15:03 +01:00
akwizgran
27e50b8495
Implemented KeyManager (untested).
...
A test is failing due to key derivation errors - must be fixed!
2012-10-24 18:16:17 +01:00
akwizgran
cc6e9d53ad
Allow duplex connections' dispose() methods to throw IOExceptions.
2012-10-19 21:52:53 +01:00
akwizgran
21f177d695
Clone secrets so each copy can be erased at the appropriate time.
2012-10-19 21:42:11 +01:00
akwizgran
a12d5ac340
Removed tag from connection context.
2012-10-19 21:19:52 +01:00
akwizgran
708e4f87dc
Fixed some bugs and cleaned up code in TransportConnectionRecogniser.
2012-10-19 21:05:21 +01:00
akwizgran
79c3ef572d
Convert connection windows to and from bitmaps.
2012-10-13 23:59:11 +01:00
akwizgran
7739bcdd06
Second part of key rotation implementation. Work in progress.
2012-10-08 18:15:25 +01:00
akwizgran
021b3c5a62
Code cleanup: "static final" is unnecessary in interfaces.
2012-09-27 10:49:46 +01:00
akwizgran
7f94707dab
Code cleanup: import static.
2012-09-27 10:44:07 +01:00
akwizgran
e534722d60
Removed invitation code from simplex plugins, cleaned up Gmail plugin.
2012-09-26 12:34:37 +01:00
akwizgran
36cd02128c
Unit tests and fixes for DatabaseComponent(Impl).
2012-09-26 11:38:26 +01:00
akwizgran
b2ee1b5332
Unit tests and a bug fix for key management methods in JdbcDatabase.
2012-09-25 17:09:59 +01:00
akwizgran
9ee2b42c70
Unit test and a bug fix for storing temporary secrets.
2012-09-24 18:44:27 +01:00
akwizgran
2ff439ffe6
Separated contact transports from secrets and cleaned up some tests.
2012-09-24 18:27:20 +01:00
akwizgran
96b3d88ece
Fixes and refactoring for tests.
2012-09-24 14:38:28 +01:00
akwizgran
e779210ced
First stage of key rotation refactoring. Some tests are failing.
2012-09-23 17:40:54 +01:00
akwizgran
eb360475aa
KeyRotatorImpl looks a *lot* like DatabaseCleanerImpl.
2012-09-07 16:58:03 +01:00
akwizgran
f8183a4ce3
Refactored DatabaseCleanerImpl to use Timer and TimerTask.
2012-09-07 16:36:48 +01:00
akwizgran
7a0e22d44c
Renamed clock API package and fixed a test.
2012-09-07 12:47:05 +01:00
akwizgran
2e2eba820d
Handle exceptions thrown by connections' dispose() methods.
2012-09-07 12:46:45 +01:00
Daryl
0fa945a7ed
Updated gmail plugin and unit test, removed unused class.
2012-09-07 16:40:39 +08:00
akwizgran
59dc065c55
Plugin factories can supply clocks for their plugins if needed.
2012-09-06 17:35:52 +01:00
akwizgran
960ead0247
Wrapped the system clock in an interface so it can be replaced in tests.
2012-09-06 17:21:03 +01:00
akwizgran
67eb9d6f93
Unit tests for ConnectionWriterImpl.
2012-09-06 16:38:24 +01:00