Commit Graph

14 Commits

Author SHA1 Message Date
Conrado Gouvea 0fe11c9b22
Phase 2: add Server (#124)
* ongoing work

* partial server implementation

* preliminary version of all functions

* feature complete, test working

* improve documentation and tests
2024-02-12 09:33:15 +00:00
Conrado Gouvea ab74fed813 point to main reddsa 2023-10-06 11:57:25 -03: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
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
Conrado Gouvea d9e7df2365 working; needs cleaning up 2023-06-23 17:32:06 -03:00
natalie bce4acbdd6
Add Participant project (#15)
* Add Participant project (#12)

* Refactor trusted dealer into own project (#12)

Set up project structure for trusted dealer and participant

* Update READMEs for top level and Pariticipant project (#12)

* Fix makefile to run both projects (#12)

Some formatting

* Add Participant project (#12)

* Fix clippy errors for participant project (#12)

* Fix clippy and fmt errors from leftover conflicts (#12)
2023-06-15 13:23:37 -03:00
natalie 6f33c44d22
Return VerifiableSecretSharingCommitment (#10)
* Update frost-ed25519 crate to v0.4.0 (#324)

* Refactor keygen to return SecretShares and not KeyPackages (#324)

* Update secret key input text

Co-authored-by: Conrado Gouvea <conrado@zfnd.org>

* Add commitment output (#324)

* Refactor Errors in input tests (#324)

* Handle errors in secret key input (#324)

* Improve error handling for split_secret (#324)

* Refactor validate_inputs into request_inputs function (#324)

* Refactor main into cli function (#324)

* Fix encoding not handling more than 9 signers (#324)

* Add borrow to parameter in output to remove unecessary clones (#324)

---------

Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
2023-06-14 14:52:43 -03:00
natalie 480c5c10ff Import split function from library (#362)
Update frost-ed25519 to v0.3.0
Fix typo in README command
2023-05-24 15:37:43 +01:00
natalie 078a8cbc26 Handle errors for trusted_dealer_keygen (#326) 2023-05-05 17:16:34 +01:00
natalie b584b60461 Sort participants by identifier (#283)
Improve error handling
Add tests for output
hex encode outputs
2023-04-26 15:21:42 +01:00
natalie a8710860d1 Update frost-ed25519 to v0.2.0 (#325) 2023-04-25 14:54:17 +01:00
natalie 4b25c4b7a4 Print group public key (#283)
Keygen implementation
Fix APACHE License
2023-04-17 11:01:27 +01:00
natalie 5d4f19b0ed Validate inputs for number of signers (#283)
Prompt for input and handle errors
2023-03-22 23:41:26 +00:00
natalieesk 5b6f66e29c Initial commit 2023-03-14 11:52:16 +00:00