Commit Graph

71 Commits

Author SHA1 Message Date
Conrado Gouvea ab74fed813 point to main reddsa 2023-10-06 11:57:25 -03:00
Conrado Gouvea 68e445940b fix redpallas issues; build it in CI 2023-10-06 11:44:44 -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
Conrado Gouvea 3d9b8e30b3 Merge remote-tracking branch 'origin/main' into add-redpallas 2023-09-05 15:25:23 -03:00
Conrado Gouvea 1e1773184c fix wrong error being used 2023-09-05 15:24:29 -03:00
natalie 2c0ad41227
Update READMEs (#54) (#71) 2023-08-21 19:01:16 -03:00
natalie bb4ea6b3e7
Fix serde tests across the projects (#66) (#70) 2023-08-21 19:00:34 -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
Conrado Gouvea c40b4d7e3e fix clippy warning 2023-07-18 11:50:54 -03:00
natalie d0cb462907
Upgrade frost-ed25519 to v0.6.0 (#49)
* Upgrade to frost-ed25519 v0.6.0 (#39)

* Fix conflict resolution errors (#39)
2023-07-12 14:55:26 -03:00
natalie 4481c19dfc
Add exit codes for participant demo (#11) (#45) 2023-07-11 12:21:39 -03:00
natalie 0831c3053a
Serialize round 2 output in Participant demo (#44)
* Add round 2 inputs for participant demo (#20)

* Generate signature in participant demo (#20)

Add integration test

* Refactor rounds into own files in participant demo (#20)

* Refactor rounds tests into own files in participant demo (#20)

* Remove unnecessary test lib file from participant (#20)

* Add test for round 1 output for participant (#20)

* Print values for round 2 participant (#20)

Add back in decode_vss_commitment test

* Add in some errors (#23)

* Fix test for invalid length of vss commitment (#23)

* Improve readability of text output

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

* Improve readability of text output

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

* Refactor and rename (#23)

---------

Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
2023-07-10 19:09:00 -03:00
natalie 1d52e92ee5
Generate nonces and commitments in participant demo (#38)
* Generate nonces and commitments in participant demo (#20)

* Add comment stating that nonces are secret (#20)
2023-06-28 19:12:15 -03:00
natalie b66001fb89
Add vss commitment to participant demo and generate key package (#35)
* Add text for vss_commitment input for Participant project (#32)

* Add vss_commitment input for participant project (#32)

* Refactor lib tests for participant project (#32)

* Add error for vss_commitment input to panic with invalid input (#32)

This error should be handled properly in a later commit

* Fix trusted dealer participant identifier output to be a hex encoded string (#32)

* Update trusted dealer identifier to return original u8 value (#32)

* Generate key package for participant (#32)

* Add error handling for generate_key_package (#32)

* Use frost-ed25519 v0.5.0 (#32)

* Improve commenting and output messages (#32)

Update commitment output message in trusted dealer
Remove answered comments
Improve comments around error handling for participant demo
2023-06-27 11:27:57 -03:00
natalie b8de83e180
Add secret share input for participant project (#31)
* Add text for secret share input for participant project (#19)

* Add signing share input for participant project (#19)

* Add error handling for signing_share input in Participant project (#19)
2023-06-20 19:30:31 -03:00
natalie f5e7f6b09f
Add group public key to participant project (#30)
* Add text for group public key input for Participant CLI (#18)

* Refactor lib tests into own file (#18)

* Fix formatting (#18)

* Add group public key input to Participant (#18)

* Handle error for group public key (#18)

Update group_public_key field in config to use VerifyingKey type
2023-06-20 15:42:57 -03:00
natalie 7936c55e1e
Add public key to Participant project (#28)
* Add text for requesting public key for participant (#17)

* Add public key to Participant Config (#17)

* Add error handling for incorrect pub key length (#17)
2023-06-19 15:58:27 -03:00
natalie 2092ccca0d
Add Participant identifier input for Participant CLI (#22)
* Request identifier for Participant (#16)

* Test for error when Identifier has value 0 for participant (#16)

* Add error test for malformed identifier for participant (#16)

* Improve text for participant identifier input request (#16)
2023-06-16 16:17:09 -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