ameba23
275c7d261f
Fix bug when finding handshake mode keys
2021-09-28 14:45:01 +02:00
ameba23
667f8db4f0
Log keys in hex when failing to recognise tags
2021-09-28 12:47:44 +02:00
ameba23
8398ecdeae
Merge branch 'social-backup-poc' into social-backup-handshake-after-recover
...
* social-backup-poc:
Rm test which was not present in this branch before cherry pick
Resolve conflict on cherry pick commit to use ByteBuddyClassImposteriser
Tell animal sniffer gradle plugin to ignore java.util.Objects
Improve lost password and setup password dialog for social backup
When creating social backup, only allow selecting contacts when there are at least 2 contacts in contact list
Disable help recover account option by default
2021-09-28 08:15:28 +02:00
ameba23
44bc35b949
Rm test which was not present in this branch before cherry pick
2021-09-06 08:50:35 +02:00
akwizgran
75f8d72e54
Resolve conflict on cherry pick commit to use ByteBuddyClassImposteriser
2021-09-03 13:58:52 +02:00
ameba23
67dbc3d9a0
Tell animal sniffer gradle plugin to ignore java.util.Objects
2021-08-27 14:49:25 +02:00
ameba23
3835dcf3a7
Improve lost password and setup password dialog for social backup
2021-08-27 12:42:36 +02:00
ameba23
be8e5c4bf2
When creating social backup, only allow selecting contacts when there are at least 2 contacts in contact list
2021-08-27 12:30:10 +02:00
ameba23
c49c1f78d2
Disable help recover account option by default
2021-08-27 12:08:36 +02:00
ameba23
8437aa1b10
If current keys are not in handshake mode, look for handshake mode keys
2021-08-27 10:04:50 +02:00
ameba23
9cf00efa9c
Comment out additional logging when restoring account
2021-08-27 10:00:27 +02:00
ameba23
2a45fd3c91
Use new method to get stream context in handshake mode on incoming duplex sync connection
2021-08-27 09:58:08 +02:00
ameba23
f1f16f8474
Additional logging for outgoing duplex sync connection
2021-08-27 09:56:05 +02:00
ameba23
873675d68f
Additional logging when reading tag
2021-08-27 09:55:28 +02:00
ameba23
1ffa8ee024
Add a method to get stream context in handshake mode
2021-08-27 09:54:50 +02:00
ameba23
a425a33209
Add a method to get stream context in handshake mode
2021-08-27 09:54:24 +02:00
ameba23
5adbf18851
Add and retrieve Onion private key to/from Tor transport propeties
2021-08-27 09:52:04 +02:00
ameba23
5e530c25b6
Rm unused import
2021-07-20 12:15:21 +02:00
ameba23
27b402f57c
Log warning on failure to set handshake public key
2021-07-20 11:41:17 +02:00
ameba23
6fc6ae727f
Handle security exception when setting handshake public key
2021-07-20 11:40:53 +02:00
ameba23
b7d71a21b0
When setting remote handshake key, derive tags
2021-07-20 11:40:14 +02:00
ameba23
1eb6be2407
Only add Tor transport properties to our social backup
2021-06-29 16:40:05 +02:00
ameba23
53c4ba184d
Improve logging for DuplexSyncConnection
2021-06-29 16:09:08 +02:00
ameba23
4b9c3a1a96
Call KeyManager#AddContact when restoring contacts
2021-06-29 11:43:14 +02:00
ameba23
eb66a13ded
Implement message validator for handshake key exchange
2021-06-29 09:48:19 +02:00
ameba23
b860e73bdc
Return an empty list when getting headers
2021-06-28 17:34:38 +02:00
ameba23
851bbb293e
Rm logging
2021-06-28 17:20:17 +02:00
ameba23
36aaea40bd
Register the client and hooks
2021-06-28 17:18:12 +02:00
ameba23
7563172121
Logging
2021-06-28 17:04:53 +02:00
ameba23
fad9257066
Set a contacts handshake public key on receiving one
2021-06-28 13:46:52 +02:00
ameba23
873b088a42
Add a method to set a contacts handshake public key in the database
2021-06-28 13:46:19 +02:00
ameba23
c7bca253fe
Inject HandshakeKeyExchangeModule as an eager singleton
2021-06-28 09:58:39 +02:00
ameba23
47f136904c
Create HandshakeKeyExchange client and module
2021-06-28 09:55:41 +02:00
ameba23
0a0b79ad9b
Check for null when adding local properties to fix integration test
2021-06-25 21:07:44 +02:00
ameba23
e9f4f084dd
Fix incorrect key for shared prefs
2021-06-25 13:36:03 +02:00
ameba23
3484892628
Use hex encoding for storing shards in shared preferences
2021-06-25 13:20:20 +02:00
ameba23
f67d2f0157
Include local tor properties in backup and check for remote handshake public keys
2021-06-25 13:03:45 +02:00
ameba23
ef05ecc342
Clear partially recovered shards from shared preferences when recovered
2021-06-25 09:03:58 +02:00
ameba23
3d807d9950
Save recovered shards in sharedPreferences
2021-06-25 08:44:37 +02:00
ameba23
4cf9ca9c3e
Handle transport properties correctly in backup and recovery
2021-06-24 09:34:39 +02:00
ameba23
95d540644b
Dont accept shards from mismatched sets - all muss match the first shard received
2021-06-22 16:26:48 +02:00
ameba23
3b4988c109
Change wording on shard notification messages
2021-06-22 09:49:33 +02:00
ameba23
9b7b583e8a
Change message on success fragments
2021-06-21 16:28:10 +02:00
ameba23
21f3634050
Catch NoSuchGroupException when deleting contacts
2021-06-21 12:56:39 +02:00
ameba23
33549bcbe1
Implement deleteMessages in SocialBackupManagerImpl
2021-06-21 12:25:14 +02:00
ameba23
d975d1dbdd
Implement deleteAllMessages in SocialBackupManagerImpl
2021-06-21 12:20:09 +02:00
ameba23
af64bb056d
Add delete all messages to integration test
2021-06-21 12:19:32 +02:00
ameba23
ca54566ce0
SecretOwnerTask also passes a provider of AuthenticatedCipher
2021-06-16 08:34:40 +02:00
ameba23
85683a57f1
Use a provider to instantiate AuthenticatedCipher on each use, to prevent concurrency problems
2021-06-15 21:10:33 +02:00
ameba23
f524af893d
Fix bug with qrCodeRead flag
2021-06-15 16:29:39 +02:00