Commit Graph

54 Commits

Author SHA1 Message Date
Sarah Jamie Lewis f435de4b71 Testing Tor Manager + Some bug fixes 2018-07-01 20:23:30 -07:00
Sarah Jamie Lewis 2981cb4dac Formatting & Adding to Quality 2018-06-29 12:20:07 -07:00
Sarah Jamie Lewis 8a1fb3ccc2 Merge branch 'fix-lint' of dan/cwtch into master 2018-06-27 16:53:02 +00:00
Dan Ballard b70fdf1af2 fix server metrics, wiring in it, server now generates a metrics file
while running
2018-06-27 09:42:30 -07:00
Dan Ballard f16cd86e20 fixing linting errors 2018-06-27 09:19:38 -07:00
Angus Champion de Crespigny 21817f936d modified: ../../peer/cwtch_peer.go
Corrected documentation
Changed 'password' to 'key' where appropriate
Reloaded the salt into the LoadCwtchPeer function
2018-06-27 01:15:03 +00:00
Angus Champion de Crespigny 2b039b2e9f Changed capitalization of cwtchPeer (again) and updated LoadCwtchPeer to use the interface 2018-06-27 01:15:03 +00:00
Angus Champion de Crespigny 67adc0fbce Updated capitalization of cwtchPeer in comments 2018-06-27 01:15:03 +00:00
Angus Champion de Crespigny 8e55a77173 Cwtch_peer.go
Added missing imports and corrected NewCwtchPeer to implement the CwtchPeerInterface
Corrected formatting

Main.go
Corrected formatting

App.go
Included missing arguments

Cwtch_peer_test.go
Included password arguments into tests

Cwtch_peer_server_intergration_test.go
Included password arguments into tests
2018-06-27 01:15:03 +00:00
Angus Champion de Crespigny 966642c957 Modified: app/cli/main.go
Updated queries

Modified:   peer/cwtch_peer.go

Changed capitalization
2018-06-27 01:15:03 +00:00
Angus Champion de Crespigny 13b5d17214 On branch profile-password
Changes to be committed:
modified:   app/app.go

Added password parameters to app.go functions

modified:   app/cli/main.go

Added password prompts to collect the password from user input
Modified Load and New conditions

modified:   peer/cwtch_peer.go
Created CreateKey, DecryptProfile, and EncryptProfile functions
Implemented these functions in the functions
CwtchNewProfile
CwtchLoadProfile
Save
2018-06-27 01:15:03 +00:00
Sarah Jamie Lewis 3215478757 Revert "adding Monitors; fixing metricsHistory rotation logic; wiring in Monitors; cleanup"
This reverts commit bacf733f52.
2018-06-26 11:24:50 -07:00
Sarah Jamie Lewis ea2e7caf5c Merge branch 'server-metrics' of dan/cwtch into master 2018-06-23 18:00:14 +00:00
Dan Ballard bacf733f52 adding Monitors; fixing metricsHistory rotation logic; wiring in Monitors; cleanup 2018-06-23 10:54:33 -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
Dan Ballard 63128bae40 adding simple metrics package to server 2018-06-21 12:20:27 -07:00
Sarah Jamie Lewis 89ffc737bc Encapsualting Profile behind Peer interface 2018-06-19 22:51:21 -07:00
Sarah Jamie Lewis e3dfdf35e0 fmt 2018-06-19 15:38:22 -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
Dan Ballard 583a8013d6 fixes to pass go vet and inclusion in tests script 2018-06-13 14:24:47 -07:00
Dan Ballard ce33f23a2e Merge branch 'integ_test_fix' of cwtch.im/cwtch into master 2018-06-09 21:21:43 +00:00
Sarah Jamie Lewis 76b6df4beb Fixup integ testing 2018-06-09 12:11:59 -07:00
Sarah Jamie Lewis d13a8c3076 Adding import and exporting of groups to support alternative construction 2018-06-09 00:49:18 -07: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 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
Sarah Jamie Lewis ded21271f6 Making profile thread safe, making blocking do something 2018-05-31 13:20:55 -07:00
Dan Ballard 0eabf09a32 supporting ricochet app's new requirement for name field 2018-05-30 16:10:50 -07:00
Sarah Jamie Lewis 77e62b1b66 Renaming to cwtch.im 2018-05-28 11:05:06 -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 1534308210 Fixing go vet issues 2018-05-20 11:29:46 -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 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 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 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 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