Commit Graph

712 Commits

Author SHA1 Message Date
ameba23
2d5e0ee840 Add an additional message type for revoking remote wipe status 2021-08-30 10:46:40 +02:00
ameba23
c64815ca16 Merge branch 'social-backup-poc' into remote-wipe-poc
* social-backup-poc:
  Dont accept shards from mismatched sets - all muss match the first shard received
  Change wording on shard notification messages
  Change message on success fragments
2021-06-22 16:27:08 +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
2177036044 Display expiration date on outgoing remote wipe message notification 2021-06-03 09:37:15 +02:00
ameba23
ab136d3167 Move RemoteWipeConstants to briar-api 2021-06-03 09:36:26 +02:00
ameba23
9c0a58e3ac Merge branch social-backup-poc 2021-05-31 13:43:43 +02:00
ameba23
d42c25ebf7 Move remote wipe MessageType enum to briar-api 2021-05-25 12:55:26 +02:00
ameba23
cae655b020 JavaDoc comments 2021-05-18 11:50:50 +02:00
ameba23
29ef603122 Add RemoteWipeActivatedEvent to activate wipe 2021-05-18 11:02:02 +02:00
ameba23
78a91d43b2 Update RemoteWipeMessageHeader 2021-05-17 17:16:57 +02:00
ameba23
71c502df52 Create RemoteWipeReceivedEvent 2021-05-11 11:07:15 +02:00
ameba23
c8c28eb6a0 Add method to get the local list of wipers 2021-05-10 10:31:04 +02:00
ameba23
f998482e93 Add a panic observer 2021-05-10 10:07:02 +02:00
ameba23
e97114e322 Add method to know if you are a wiper for a given contact 2021-05-07 11:01:24 +02:00
ameba23
a93cbf852b RemoteWipeManager builds messages using the message encoder 2021-05-06 17:48:56 +02:00
ameba23
fe79a18061 Create Message encoder, parser and validator for remote wipe 2021-05-06 17:48:10 +02:00
ameba23
f089c0da3e Add a RemoteWipeMessageHeader 2021-05-06 11:53:03 +02:00
ameba23
0224733b10 RemoteWipeManager WIP 2021-05-05 14:35:30 +02:00
ameba23
e5eb82a5a8 Rm unused classes 2021-05-04 15:09:22 +02:00
ameba23
a5f0516135 Tidy RestoreAccount 2021-04-23 13:22:10 +02:00
ameba23
07141b688a Add a method to add recovered contacts to db 2021-04-22 17:42:33 +02:00
ameba23
3ac7d71f8a Change to fail state if no backup found 2021-04-22 11:04:24 +02:00
ameba23
2e03967519 Fix dependency problems after refactor 2021-04-22 09:01:44 +02:00
ameba23
34f15b6bdc ContactData and SocialBackup now live in briar-api 2021-04-21 16:35:27 +02:00
ameba23
afc0bc3f3c Refactor and create a RestoreAccount class which does the combining 2021-04-21 16:34:28 +02:00
ameba23
00de32aa87 add encoder to ReturnShardPayload 2021-04-16 21:15:29 +02:00
ameba23
b3adfe19a4 Allow ReturnShardPayload instances to be compared for equality 2021-04-16 12:01:39 +02:00
ameba23
79369f4e7a Failure reasons 2021-04-15 21:24:22 +02:00
ameba23
cd1ac43b7d get the actual ip address on local wifi and add it to qr code 2021-04-13 11:56:52 +02:00
ameba23
df37a39cb4 Qr code payload contains socket address and public key 2021-04-13 11:13:28 +02:00
ameba23
b55ae1ce18 Changes to implementation for SecertOwnerTask 2021-04-12 15:03:50 +02:00
ameba23
30b2905c2e make SecretOwnerTask states public 2021-04-12 12:21:35 +02:00
ameba23
207a8bc7cb make CustodianTask states public 2021-04-12 10:51:34 +02:00
akwizgran
5b7bc54e16 Add interfaces for social backup recovery tasks. 2021-04-09 14:46:45 +01:00
ameba23
e804a8d573 method to get a ReturnShardPayload as bytes to avoid needing the messageEncoder 2021-04-06 16:27:51 +02:00
ameba23
4f42ce9a01 Public interface of SocialBackupExchangeManager and Message encoder/parser 2021-03-31 16:00:57 +02:00
ameba23
933397f58b move MessageParser and MessageEncoder to make public 2021-03-31 15:59:24 +02:00
ameba23
a11a81f3d4 backup payload and returned shard payload 2021-03-30 12:05:57 +02:00
ameba23
caee34f738 Rename constants to make public 2021-03-30 12:01:10 +02:00
ameba23
9d23c876ae merge with 1872-key-agreement 2021-03-25 14:55:15 +01:00
ameba23
365fa58928 add amCustodian method which determines whether you are a custodian for a given contact 2021-03-22 17:02:39 +01:00
ameba23
d47c18b392 ShardReceivedEvent in briar api 2021-03-22 09:22:32 +01:00
ameba23
8ed58eaada broadcast a ShardReceivedEvent on getting a shard 2021-03-22 09:22:04 +01:00
Sebastian Kürten
db7825d7f6 Try making message tracker assertions 2021-03-18 10:13:22 +01:00
ameba23
0faccfe5a3 SocialBackupManager interface has a getMessageHeaders method 2021-03-16 17:27:00 +01:00
akwizgran
43740777d4 Raise MAX_CONTENT_TYPE_BYTES to 80, lower MAX_PRIVATE_MESSAGE_TEXT_LENGTH.
In case we ever want to send "application/vnd.openxmlformats-officedocument.wordprocessingml.document" attachments.
2021-03-12 09:45:19 +00:00
Sebastian Kürten
a9edf43df2 Add ShardMessageHeader 2021-03-11 09:52:39 +01:00
ameba23
d917e9d642 move DarkCrystal interface to briar-api - import it 2021-03-02 12:50:43 +01:00
ameba23
c7f6270b2a move DarkCrystal interface to briar-api 2021-03-02 12:48:49 +01:00
ameba23
2ed44aa2a8 rm number of shards and threshold from shard messages 2021-02-24 15:44:24 +01:00