Sarah Jamie Lewis
a4532910d0
Fixing up integration test for commit
2018-05-20 12:58:16 -07:00
Sarah Jamie Lewis
617bb601a8
Merge branch 'integ-test' of git.openprivacy.ca:dan/cwtch
2018-05-20 12:02:48 -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
Dan Ballard
af004e4641
expand integ test:
...
- run own server; delete pk from repo
- test now can use preexisting server if online (checks)
- alice & bob users
- chat
- pretty print results
- verify messages and content
TODO: disconnect and reconnect to confirm offline delivery
TODO: use preexisting test server
2018-05-17 11:52:46 -07:00
Sarah Jamie Lewis
8e7cd9c04b
Adding sync around timeline, adding hooks for latency checks
2018-05-17 11:51:53 -07:00
Dan Ballard
13eaa3a684
move server auto keygen to app/main
2018-05-17 11:51:53 -07:00
Dan Ballard
fffe18344e
expand integ test:
...
- run own server; delete pk from repo
- tests check and use test server if available (faster)
- alice & bob users
- chat
- pretty print results
- verify messages and content
TODO: disconnect and reconnect to confirm offline delivery
- server: autogenerate private key
2018-05-17 11:51:53 -07:00
Sarah Jamie Lewis
027921f760
Added concern about potential DoS vector
2018-05-16 14:33:13 -07:00
Sarah Jamie Lewis
5f3ee80627
More golinting, fixing timing sidechannel
2018-05-16 14:31:06 -07:00
Sarah Jamie Lewis
96fd3bbdda
fmt
2018-05-16 14:11:55 -07:00
Sarah Jamie Lewis
447b1b30fb
More golint fixing
2018-05-16 14:11:04 -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
4d3bf6967c
Fix profile save bug for new profiles
2018-05-12 16:13:31 -07:00
Sarah Jamie Lewis
6aa764cf81
Moving Save.
2018-05-12 14:01:14 -07:00
Sarah Jamie Lewis
edfba9a29b
Adding latency testing sendlots command
2018-05-09 12:41:39 -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
e01a4b2018
Merge branch 'autogen-missing-key' of dan/cwtch into master
2018-05-04 01:50:30 +00:00
Dan Ballard
aab5996971
move server auto keygen to app/main
2018-05-03 15:45:50 -07:00
Sarah Jamie Lewis
0715c4ce0b
Merge branch 'cli-typoes' of dan/cwtch into master
2018-05-03 20:44:30 +00:00
Dan Ballard
ae2729c88f
add info to command list, usage typoes
2018-05-03 13:09:03 -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
c2d349a817
Merge branch 'cli-help' of dan/cwtch into master
2018-05-03 05:59:34 +00:00
Dan Ballard
5384d8e2da
add help option to cli app
2018-05-02 22:46:42 -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
c28af5f7ae
cli bones
2018-04-30 14:47:21 -07:00
Dan Ballard
4b27e95c26
only generate private key if keyfile is missing, not on other errors: possible corrupt and loss
2018-04-30 10:01:08 -07:00
Dan Ballard
a1f0ee7b9f
autogen private_key in unavailable
2018-04-30 09:50:50 -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
5f44fb8ef8
Attacks
2018-03-31 14:14:50 -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
ac3c055e0c
peer->peer connection
2018-03-11 12:22:38 -07:00
Sarah Jamie Lewis
335a8d76c3
Adding peer channels, renaming client->peer
2018-03-11 11:49:10 -07:00
Sarah Jamie Lewis
fbf42b3a79
Client Fetch Logic
2018-03-10 14:05:48 -08:00
Sarah Jamie Lewis
5f94e82347
PeerServerConnection Definition and Tests
2018-03-10 13:26:19 -08:00
Sarah Jamie Lewis
487ce6d2da
fmt and spamguard
2018-03-09 13:02:42 -08:00