Commit Graph

11 Commits

Author SHA1 Message Date
Conrado Gouvea cb77d35f26
Phase 1: also send randomizer (#140)
* also send randomizer in socket comms

* participant: change default IP address
2024-02-21 14:20:11 +00:00
Conrado Gouvea 14a2bf16ca
Phase 1 cleanup (#138)
* coordinator: remove sockets feature, add --cli flag

* participant: remove sockets feature, add --cli flag

* revert CI to stable

* fix tests
2024-02-09 17:29:26 +00:00
Conrado Gouvea a04a829930
change coordinator and participant to allow them to be non-interactive (#133)
* trusted-dealer: allow reading params from arguments, and writing to files

* change coordinator and participant to allow them to be non-interactive

* allow reading message from file

* remove warnings

* fix tests
2024-01-31 14:07:44 +00:00
natalie 4925183519
Add socket comms for Participant demo (#131)
* Add CLI comms to participant demo (#92)

* Update Coordinator unit tests after comms changes (#92)

* Update integration tests with participant cli comms (#92)

* Add socket comms to Participant demo (#92)

Remove group signature verification from participant demo

* Update participant cli test (#92)

* fix redpallas compile issue

* Update participant/src/args.rs

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
2024-01-30 16:07:32 -03:00
Conrado Gouvea 0a9e830fa0
Add initial implementation of socket communications to the demo (phase 1) - Coordinator (#89)
* move commitments to step_1
* halfway through making things async; need to fix handling input/output
* async step_1
* async step_3
* started SocketComms
* SocketComms compiling
* Finished SocketComms; untested
* fixed existing tests
* update frost-rerandomized; skip tests if redpallas enabled
* ci: use nightly, and overall cleanup
* point frost to 1.0.0-rc.0
2023-11-21 14:56:29 +00:00
natalie 0c528929c5
Improve consistency of testing across projects (#76)
* Update participant tests to use DKG format (#37)

Update Makefile to not run --all-features in tests
cli tests were not touched

* Update tests in trusted dealer (#37)

* Refactor test files structure to be consistent across projects (#37)

* Add cross project integration test (#37)

* Remove empty test files (#37)

* Remove reference to old test (#37)

* print entire identifier instead of converting back to integer

* Remove commented code (#37)

* Add signature verification step to participant demo (#78)

* Add verification step to participant demo (#56)

* Add cli test to participant (#56)

Clean up some comments and prints

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-09-27 13:27:01 -03:00
Conrado Gouvea 577f5421a1 add support for redpallas 2023-07-21 22:39:05 -03:00
Conrado Gouvea 2cd6862cca improved some prompts for clarity 2023-07-21 12:30:27 -03:00
Conrado Gouvea 519623678c use serde for all demos 2023-07-20 22:06:57 -03:00
natalie af1d45980e
Add unit tests to coordinator demo (#60)
* Add step 1 test for coordinator (#53)

* Add step_2() tests for coordinator (#53)

* Fix tests in coordinator after changes (#53)
2023-07-20 19:04:14 -03:00
natalie 58abe8d3e3
Create Coordinator CLI (#59)
* Add coordinator demo (#48)

* Add test for step_3 in coordinator (#48)

* Add validation for participant selection in coordinator demo (#48)

* Add tests for validation in step_1 for coordinator (#48)

* Improve error handling in Coordinator (#48)

* Fix clippy error (#48)

* Improve usability for coordinator demo (#48)

Fix test values
Improve identifier input so it doesn't need to be in quotes
Remove unecessary text
2023-07-20 11:13:14 -03:00