Sarah Jamie Lewis
d13a8c3076
Adding import and exporting of groups to support alternative construction
2018-06-09 00:49:18 -07:00
Sarah Jamie Lewis
6b0aaf174d
Merge branch 'test-fetch' of dan/cwtch into master
2018-06-08 16:41:57 +00:00
Dan Ballard
9bf0fdec56
adding fetch checks to integration test with late joining user carol.
...
protocol drop 'groupMessages' field
peer/sever fetch channel reworked to send series of groupMessage rather than groupMessages blob in order to not blow up a ricochet packet
minor doc fixes
change a few fmt to log
fix class variable name (cplc -> cpsc) in cwtchpeer listen channel
PeerPeerConnection.Close close Conn rather than break to catch goroutine leak
2018-06-07 17:07:40 -07:00
Dan Ballard
22e74f162c
Merge branch 'blocking-thread-safe' of cwtch.im/cwtch into master
2018-06-04 19:48:19 +00:00
Sarah Jamie Lewis
b8ce0da2dd
Better thread safety pattern and some tests
2018-06-03 12:45:43 -07:00
Sarah Jamie Lewis
381a0d743d
Merge branch 'test-teardown' of dan/cwtch into master
2018-06-03 19:07:13 +00:00
Dan Ballard
30b4a2068e
peer and server tear down; connectionManager tear down; integ test tracks goRoutines and errors if not cleaned up properly
2018-05-31 16:32:59 -07:00
Dan Ballard
c0513d8968
typo
2018-05-31 14:13:34 -07:00
Dan Ballard
ec1aa6ea3b
Merge branch 'test-peer-invite2' of dan/cwtch into master
2018-05-31 20:37:46 +00:00
Dan Ballard
c7c66a73d5
Merge branch 'blocking-thread-safe' of cwtch.im/cwtch into master
2018-05-31 20:37:08 +00:00
Dan Ballard
d68ba9abfc
remove integ test from unit tests run; peers don't need to AddContact themselves; remove commented out and non-functional peer accept code
2018-05-31 13:21:23 -07:00
Dan Ballard
3b65cffbdb
cwtch peers peer and sendInvite
2018-05-31 13:21:23 -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
becfe7c928
Merge branch 'ricochet-port' of dan/cwtch into master
2018-05-31 20:08:48 +00:00
Dan Ballard
0eabf09a32
supporting ricochet app's new requirement for name field
2018-05-30 16:10:50 -07:00
Sarah Jamie Lewis
a4846df519
Rename
2018-05-28 13:48:56 -07:00
Sarah Jamie Lewis
ad802ad717
Update 'README.md'
2018-05-28 18:17:37 +00:00
Sarah Jamie Lewis
808403ed1b
Delete 'attacks.md'
2018-05-28 18:13:37 +00:00
Sarah Jamie Lewis
e2a366a0b0
Update 'README.md'
2018-05-28 18:13:16 +00: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
Sarah Jamie Lewis
7a94394e59
Merge branch 'test-script' of dan/cwtch into master
2018-05-25 22:56:55 +00: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
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