Soatok Dreamseeker
f24b8a3d2b
Use a constant-time compare
2021-06-12 14:36:28 -07:00
Dan Ballard
ef417848ad
Merge pull request 'Update Server State on ServerStateChangeEvent in addition to individual groups.' ( #364 ) from message_flags into master
...
Reviewed-on: cwtch.im/cwtch#364
2021-06-10 10:56:35 -07:00
Sarah Jamie Lewis
78ee588538
More test fixes
2021-06-09 14:00:34 -07:00
Sarah Jamie Lewis
b4b2b15e76
Fix IsServer check in Invite
2021-06-09 13:38:11 -07:00
Sarah Jamie Lewis
aa6f2499b9
reject group invites without a corresponding key bundle
2021-06-09 13:26:19 -07:00
Sarah Jamie Lewis
957558165d
Update Server State on ServerStateChangeEvent in addition to individual groups.
2021-06-09 13:26:19 -07:00
Dan Ballard
05f7dbcda8
Merge pull request 'BUGFIX: reference group contact when updating timeline' ( #363 ) from message_flags into master
...
Reviewed-on: cwtch.im/cwtch#363
2021-06-09 11:22:40 -07:00
Sarah Jamie Lewis
28fd9372de
BUGFIX: reference group contact when updating timeline
2021-06-09 11:03:10 -07:00
Dan Ballard
1b612071f2
Merge pull request 'Allow Updating of Message Flags' ( #362 ) from message_flags into master
...
Reviewed-on: cwtch.im/cwtch#362
2021-06-09 10:52:55 -07:00
Sarah Jamie Lewis
d846ac4f43
Merge branch 'master' into message_flags
2021-06-09 10:51:57 -07:00
Sarah Jamie Lewis
547aba4e20
Upgrade Tapir/Connectivity
2021-06-09 10:44:09 -07:00
Sarah Jamie Lewis
c2ab6af7b8
Allow Updating of Message Flags
2021-06-08 15:35:50 -07:00
erinn
f958719ecf
Merge pull request 'Allow Explicit Server Resyncing' ( #361 ) from peer_fixes into master
...
Reviewed-on: cwtch.im/cwtch#361
2021-06-02 12:27:12 -07:00
Sarah Jamie Lewis
d5024e2bd3
a few select staticcheck fixes
2021-06-02 12:09:15 -07:00
Sarah Jamie Lewis
d84735cec7
Allow Explicit Server Resyncing
2021-06-02 11:13:08 -07:00
Dan Ballard
77e5eda0b5
Merge pull request 'Refine Start Group Event + Auto Accept Self-created Groups' ( #360 ) from peer_fixes into master
...
Reviewed-on: cwtch.im/cwtch#360
2021-05-28 09:52:45 -07:00
Sarah Jamie Lewis
fbd1f98b65
Refine Start Group Event + Auto Accept Self-created Groups
2021-05-28 01:47:37 -07:00
Dan Ballard
7b9c9de9b6
Merge pull request 'Add IndexedError for Peer Messages' ( #359 ) from peer_fixes into master
...
Reviewed-on: cwtch.im/cwtch#359
2021-05-26 15:40:35 -07:00
Sarah Jamie Lewis
af0f17d22e
Merge branch 'master' into peer_fixes
2021-05-26 14:02:56 -07:00
Sarah Jamie Lewis
b847fc42b8
Add IndexedError for Peer Messages
2021-05-26 10:07:08 -07:00
erinn
954e818aa6
Merge pull request 'Save Group Name from Invite' ( #358 ) from groupwiring into master
...
Reviewed-on: cwtch.im/cwtch#358
2021-05-18 16:41:52 -07:00
Sarah Jamie Lewis
95f288bac5
Save Group Name from Invite
2021-05-18 16:05:20 -07:00
erinn
0957aefdff
Merge pull request 'Replace old GroupID with new Dervied GroupID' ( #357 ) from groupwiring into master
...
Reviewed-on: cwtch.im/cwtch#357
2021-05-18 12:37:17 -07:00
Sarah Jamie Lewis
f94338732f
Merge branch 'master' into groupwiring
2021-05-18 12:31:14 -07:00
Sarah Jamie Lewis
780357a6ac
Fix minor comments
2021-05-18 12:23:13 -07:00
Sarah Jamie Lewis
b5fcc28353
Upgrade Tapir
2021-05-18 12:12:33 -07:00
Sarah Jamie Lewis
967c04f9cf
Fix up documentation
2021-05-18 12:11:00 -07:00
Sarah Jamie Lewis
511a737c5d
Update iteration counter
2021-05-18 12:09:11 -07:00
Sarah Jamie Lewis
08bb2f907f
Replace old GroupID with new Dervied GroupID
...
As we move towards a group model that allows for different management
constitutions we need to deprecate our old group security model that relied
on "owners" and transitive signing/verification checks.
This new model derives GroupID from the GroupKey and the GroupServer
binding it both. This allows participants to know if a message was
intended for the same group they are apart of (as GroupID is included
in every encrypted/signed message to Groups) while allowing more dynamic
management protocols to be built on top of the (now agnostic) group protocols.
This PR also adds more validation logic to invites and provides the ValidateInvite
function to allow the UI to validate invites separately from processing them.
2021-05-14 11:26:04 -07:00
erinn
347a9b169d
Merge pull request 'Prevent loading a nil tapir service before tor has started' ( #356 ) from groupwiring into master
...
Reviewed-on: cwtch.im/cwtch#356
2021-05-10 17:10:10 -07:00
Sarah Jamie Lewis
6b0d9827fb
Prevent loading a nil tapir service before tor has started
2021-05-10 17:05:03 -07:00
erinn
a4064b1872
Merge pull request 'Wire up SendMessageToGroupError' ( #355 ) from groupwiring into master
...
Reviewed-on: cwtch.im/cwtch#355
2021-05-10 16:52:00 -07:00
Sarah Jamie Lewis
e7fc228cfa
Don't inline group server connections...
2021-05-10 16:37:20 -07:00
Sarah Jamie Lewis
00dc2e60e5
Wire up SendMessageToGroupError
...
(Also makes this flow much more efficient by including groupId in the round trip)
2021-05-08 12:04:06 -07:00
erinn
014252f4b5
Merge pull request 'Handle Server Disconnections, and Partial Syncing' ( #354 ) from servers into master
...
Reviewed-on: cwtch.im/cwtch#354
2021-05-07 16:29:05 -07:00
erinn
3020cbeb90
Merge branch 'master' into servers
2021-05-07 16:28:51 -07:00
Sarah Jamie Lewis
0f0b91fc98
Make contact retry more responsive in the optimisitic case
2021-05-07 16:16:22 -07:00
Sarah Jamie Lewis
9f20802a1d
Actually use the last known signature for fetching
2021-05-07 15:34:48 -07:00
Sarah Jamie Lewis
678c820db2
Handle Server Disconnections, and Partial Syncing
2021-05-07 15:27:44 -07:00
erinn
920b88c0bf
Merge pull request 'Actually locally save server attributes' ( #353 ) from servers into master
...
Reviewed-on: cwtch.im/cwtch#353
2021-05-06 18:16:07 -07:00
Sarah Jamie Lewis
924be178af
Actually locally save server attributes
2021-05-06 18:14:54 -07:00
erinn
81de1983fd
Merge pull request 'Store Server Key Bundle + a few stricter checks' ( #352 ) from servers into master
...
Reviewed-on: cwtch.im/cwtch#352
2021-05-06 17:32:56 -07:00
Sarah Jamie Lewis
0075d1cd05
Store Server Key Bundle + a few stricter checks
2021-05-06 17:15:33 -07:00
erinn
c199a4fc98
Merge pull request 'Move Server Token Key into Server Config with the Rest' ( #351 ) from servers into master
...
Reviewed-on: cwtch.im/cwtch#351
2021-05-05 13:03:08 -07:00
Sarah Jamie Lewis
c25e682fa4
Server Close Comment
2021-05-05 12:50:19 -07:00
Sarah Jamie Lewis
c234b11cc2
Format
2021-05-05 12:49:24 -07:00
Sarah Jamie Lewis
23230fad68
Move Server Token Key into Server Config with the Rest
...
Also adds a graceful close
2021-05-05 12:47:20 -07:00
Dan Ballard
deea608da6
Merge pull request 'Upgrade Dependencies + Clean up Groups' ( #350 ) from upgrade into master
...
Reviewed-on: cwtch.im/cwtch#350
2021-05-04 13:24:20 -07:00
Sarah Jamie Lewis
fce22d48a2
Fix Mutex
2021-05-04 12:23:25 -07:00
Sarah Jamie Lewis
eec933c197
Fix Invite Formatting
2021-05-04 12:00:06 -07:00