Sarah Jamie Lewis
08bb2f907f
Replace old GroupID with new Dervied GroupID
...
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
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
Sarah Jamie Lewis
00dc2e60e5
Wire up SendMessageToGroupError
...
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
(Also makes this flow much more efficient by including groupId in the round trip)
2021-05-08 12:04:06 -07:00
Sarah Jamie Lewis
0075d1cd05
Store Server Key Bundle + a few stricter checks
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
2021-05-06 17:15:33 -07:00
Sarah Jamie Lewis
eec933c197
Fix Invite Formatting
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
2021-05-04 12:00:06 -07:00
Sarah Jamie Lewis
bea58b5ba4
Groups Cleanup
2021-05-04 12:00:06 -07:00
erinn
c340167b35
add indexed acknowledgements
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
2021-05-03 11:35:35 -07:00
Sarah Jamie Lewis
b4f9decdf2
Upgrade Tapir, Log, Connectivity
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is failing
Details
2021-04-08 18:23:26 -07:00
Dan Ballard
d06b2e1241
store acks; group ack messages
2020-12-18 17:07:30 -08:00
Sarah Jamie Lewis
a1b2d8530f
Integrate Group Name into Invite
2020-12-16 21:41:24 -08:00
Sarah Jamie Lewis
b3ba23992e
Clean up some older TODOs
2020-11-05 14:44:27 -08:00
erinn
bd3c032ea6
bugfix
2020-10-22 16:03:46 -07:00
erinn
4d6112f28c
bugfix
2020-10-22 16:03:46 -07:00
erinn
913f43f699
unackd messages to timeline instead of separate map
2020-10-22 16:03:46 -07:00
erinn
7b98e214e6
UnackdMessages to public
2020-10-22 16:03:46 -07:00
Sarah Jamie Lewis
b8d308763c
Sign and Check ToFU Server Bundle
2020-10-01 14:06:30 -07:00
Sarah Jamie Lewis
3f522d4d23
Remove any dependence on protobufs of libricochet
2020-09-28 15:09:25 -07:00
Sarah Jamie Lewis
e5d21b25a3
Assume Invites are v2 Groups
2020-09-28 14:13:30 -07:00
Sarah Jamie Lewis
6739df68c3
Group V2 Logic
2020-09-28 11:18:18 -07:00
Sarah Jamie Lewis
8ed7dd471a
Small Fixes
2020-09-21 14:41:40 -07:00
Sarah Jamie Lewis
f74e8647ef
Fixup APIs, Error handling and formatting
2020-09-21 14:41:40 -07:00
Sarah Jamie Lewis
0550a71244
Tapir Server Refactor
2020-09-21 14:41:40 -07:00
Sarah Jamie Lewis
422b0d5deb
Allow Peers to Store History
2020-07-08 15:25:19 -07:00
Dan Ballard
e91e892eef
Adding new authorization level to peers; porting Blocked status to authorization; removing trusted; securing engine/peerapp message processing around authoriztion
2020-06-16 11:34:15 -07:00
Dan Ballard
dc3df531dd
peer getVal/retVal messages and functions and handling
2020-03-27 11:51:52 -07:00
Dan Ballard
12089d9fa4
migrate to stand alone log and connectivity packages
2020-02-10 18:36:28 -05:00
Dan Ballard
4ecc7c0f2b
Change password on a peer and it's storage
2019-12-12 13:36:04 -08:00
Sarah Jamie Lewis
8f85f49404
Initial pass at race condition fixes
2019-11-08 13:25:13 -08:00
Dan Ballard
b42baef6c5
add get/set attribute for profile/contact/group to cwtch_peer that does the action and emits an event; rename profile.GetGroupByGroupID to GetGroup for consitency
2019-10-31 14:39:31 -07:00
Dan Ballard
77d26d3877
profile and peer messaging refactor. Profiles once again store timelines for peers, should be used as canonical timeline by frontend UI
2019-10-21 13:56:07 -07:00
Dan Ballard
df420034ea
make contact retry plugin acn connection state aware; make contact retry plugin do groups; remove connectionManager bad retry logic; allow querringing of ACN status
2019-09-27 15:29:19 -07:00
Dan Ballard
15582c7e79
Rework group invite workflow: delete cwtchPacket references as no longer needed. Remove more events from being default handled by Peer (but allow them for some usecases still (testing, simple apps).
2019-09-20 11:06:05 -07:00
Sarah Jamie Lewis
3c67c47bb0
Add support for unblocking peers
2019-08-07 12:07:57 -07:00
Dan Ballard
695a622963
adding delete contact and group support
2019-08-07 11:35:08 -07:00
Dan Ballard
0465973a78
add app level functionality to reload from service
2019-07-19 20:08:00 -07:00
Dan Ballard
0c4bbe9ad1
Refactor: engine and peer decoupled, engine and eventbus now per peer
...
and stored top level in app. Storage has read only mode. Peer and group
state now event based and stored in profiles.
2019-05-22 12:54:47 -07:00
Sarah Jamie Lewis
83faab35a3
Keeping track of anack'd group messages
2019-02-20 12:03:26 -08:00
erinn
1f5a8685c4
store name of new contacts correctly
2019-02-11 13:40:20 -08:00
Sarah Jamie Lewis
84a10a9f5e
Fixing unitialized map
2019-02-05 10:58:14 -08:00
Dan Ballard
4d11547393
grou[ invite also gets random local id
2019-02-04 11:53:42 -08:00
Sarah Jamie Lewis
2b47c50d0d
Fixing up first time storage and ensuring we no longer dupe messages in timeline
2019-02-02 19:24:42 -08:00
erinn
ac077521be
save new groups and group timelines
2019-02-02 17:18:33 -08:00
Dan Ballard
a0dab022ad
stream storage for timelines, wired into profile store
2019-01-30 14:29:27 -08:00
Dan Ballard
84e31f02fe
new profile storeage on eventbus
2019-01-21 12:11:40 -08:00
erinn
f28cf6b781
removing old timeline notification code and dropping support for updating existing groups
2019-01-19 15:16:38 -08:00
Sarah Jamie Lewis
7b63fe79de
Removing older group verification checks that are superceded by v3 onions
2019-01-19 13:41:49 -08:00
Sarah Jamie Lewis
c3d797b2e1
Protocol Engine Refactor
2019-01-07 13:24:08 -08:00
Sarah Jamie Lewis
01a28ef3b0
Message Sorting
2018-12-05 15:11:09 -08:00
Dan Ballard
3367f1a083
updating to new libricochet-go log api
2018-12-03 18:52:11 -08:00
Sarah Jamie Lewis
1e2ecb8e88
Adding maxlength check
2018-11-28 11:55:27 -08:00
Sarah Jamie Lewis
dc489398ea
Checking if a group is setup on a v3 onion server
2018-11-21 14:29:38 -08:00
Sarah Jamie Lewis
8083e6fa5c
Adding Method to Save Messages in p2p Transcript
2018-11-21 13:31:22 -08:00
Sarah Jamie Lewis
ae84893d78
Adding Attributes to Groups
2018-11-02 16:45:12 -07:00
Sarah Jamie Lewis
1531885bcd
Adding Custom Attributes to Contacts, Removing ClientIdentity Processing
2018-10-31 17:19:40 -07:00
Sarah Jamie Lewis
1e04b1161e
Adding V3 Onions to Cwtch!
2018-10-05 13:38:23 -07:00
Dan Ballard
a5ad2a6644
removing panics and reorder invite-to-group args
2018-09-26 19:00:40 -07:00
Dan Ballard
0351de1ff1
Merge branch 'initial_message' of cwtch.im/cwtch into master
2018-09-21 18:29:14 +00:00
Sarah Jamie Lewis
d37447f320
Fixing #118 - Adding an initial message to group setup
2018-09-21 11:07:23 -07:00
Sarah Jamie Lewis
2197134758
Implementing #117 - Profile Custom Attribute Map
2018-09-21 10:45:25 -07:00
Sarah Jamie Lewis
2981cb4dac
Formatting & Adding to Quality
2018-06-29 12:20:07 -07:00
Sarah Jamie Lewis
22aebae0e5
Actually implementing correct signature construction
2018-06-23 09:23:39 -07:00
Dan Ballard
cf80207f77
rename go-ricochet to libricochet-go
2018-06-23 09:15:36 -07:00
Sarah Jamie Lewis
89ffc737bc
Encapsualting Profile behind Peer interface
2018-06-19 22:51:21 -07:00
Dan Ballard
d3765fd9bb
server now has a config file; delete profile.Save (unsued); update cwtch_peer.Save to use indented Marshal
2018-06-18 16:07:34 -07:00
Dan Ballard
dae807da07
comments and variable renames to fully pass golint
2018-06-15 09:24:23 -07:00
Sarah Jamie Lewis
b8ce0da2dd
Better thread safety pattern and some tests
2018-06-03 12:45:43 -07:00
Sarah Jamie Lewis
ded21271f6
Making profile thread safe, making blocking do something
2018-05-31 13:20:55 -07:00
Sarah Jamie Lewis
77e62b1b66
Renaming to cwtch.im
2018-05-28 11:05:06 -07:00
Sarah Jamie Lewis
6de91969ae
Adding padding and length stuff
2018-05-28 10:44:47 -07:00
Dan Ballard
e0541dec15
adding tests.sh script; fixing connections tests broken by removing private_key with pk generation
2018-05-25 15:37:44 -07:00
Sarah Jamie Lewis
a4532910d0
Fixing up integration test for commit
2018-05-20 12:58:16 -07:00
Sarah Jamie Lewis
5c2ef7a94f
Implementing groupkey leak detection
2018-05-20 11:38:56 -07:00
Sarah Jamie Lewis
1534308210
Fixing go vet issues
2018-05-20 11:29:46 -07:00
Sarah Jamie Lewis
96fd3bbdda
fmt
2018-05-16 14:11:55 -07:00
Sarah Jamie Lewis
8349ff1b3c
Golint fixes
2018-05-16 13:53:09 -07:00
Sarah Jamie Lewis
be7721d02d
fmt
2018-05-16 13:20:46 -07:00
Sarah Jamie Lewis
bd1ad4fc67
Surfacing some error codes
2018-05-16 13:18:47 -07:00
Sarah Jamie Lewis
ec0c341bb1
Fixing some race conditions, adding more error checking
2018-05-09 12:09:00 -07:00
Sarah Jamie Lewis
b4eb27ae1d
Adding sync around timeline, adding hooks for latency checks
2018-05-05 21:18:30 -07:00
Sarah Jamie Lewis
9b7b25cbe8
Fixing crshing bugs, peers now connect to other peers and servers when accepted/trusting
...
Connection state is checked before things happen to avoid hangs
2018-05-03 12:23:02 -07:00
Sarah Jamie Lewis
e839e8d12e
Minor fixes
2018-05-03 10:59:58 -07:00
Sarah Jamie Lewis
979ad542f7
fmt
2018-05-02 23:01:15 -07:00
Sarah Jamie Lewis
eacce2113c
feature complete app
2018-05-02 21:12:45 -07:00
Sarah Jamie Lewis
383828512a
Adding groups / inivite to cli
2018-05-01 14:36:19 -07:00
Sarah Jamie Lewis
8d8eb89507
CLI now supports cwtch peering and invites
2018-05-01 13:44:45 -07:00
Sarah Jamie Lewis
8721b8f455
Replacing code with proper Sort, fixing test
2018-04-28 10:52:59 -07:00
Sarah Jamie Lewis
f1d0a8e900
Fixing up messaging to use a proper ordering of messages based on timeline and previous hash.
...
This isn't perfect, but under normal conditions should prevent malicous server reordering. Still need a second order function
2018-04-02 14:10:29 -07:00
Sarah Jamie Lewis
7e8ad39637
Massive clean up
2018-03-31 13:11:25 -07:00
Sarah Jamie Lewis
914be9e46a
Lots of peerand serverstuff
2018-03-30 14:16:51 -07:00
Sarah Jamie Lewis
c29186979f
Introducing fix for group owner impersonation bug
2018-03-15 13:53:22 -07:00
Sarah Jamie Lewis
9a4693c223
fixing go lint issues
2018-03-15 09:33:26 -07:00
Sarah Jamie Lewis
b43aa55b44
Refactoring, fixing up some issues
2018-03-14 15:23:35 -07:00
Sarah Jamie Lewis
d47b165bab
Updating Group Chat invite, fixing test errors
2018-03-14 15:03:53 -07:00
Sarah Jamie Lewis
440ffb64ef
Peer Group Invite
2018-03-12 11:43:51 -07:00
Sarah Jamie Lewis
5d7bdce118
Squah commit
2018-03-09 12:44:13 -08:00