Commit Graph

208 Commits

Author SHA1 Message Date
dependabot[bot] 1025cd0e53
Bump itertools from 0.10.5 to 0.11.0
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.10.5 to 0.11.0.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.5...v0.11.0)

---
updated-dependencies:
- dependency-name: itertools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-29 08:11:14 +00:00
natalie e7a061df65
Merge pull request #36 from ZcashFoundation/dkg-demo
WIP: DKG demo
2023-06-29 09:10:35 +01: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
Conrado Gouvea 679ef16734 Merge remote-tracking branch 'origin/main' into dkg-demo 2023-06-27 11:54:24 -03:00
Conrado Gouvea 8311efe9ff fix identifier reading; address review comments 2023-06-27 11:49:38 -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
Conrado Gouvea 0070088950 return errors instead of unwraping, remove unneeded files 2023-06-26 16:22:45 -03:00
Conrado Gouvea 02910565bf clean up reading, writing and error handling 2023-06-23 18:55:10 -03:00
Conrado Gouvea d9e7df2365 working; needs cleaning up 2023-06-23 17:32:06 -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
dependabot[bot] ebba08b3e5
Bump reviewdog/action-actionlint from 1.37.0 to 1.37.1
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.37.0 to 1.37.1.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases)
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.37.0...v1.37.1)

---
updated-dependencies:
- dependency-name: reviewdog/action-actionlint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-20 01:05:10 +00: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
natalie f9cdba6ceb
Merge pull request #5 from ZcashFoundation/dependabot/github_actions/codecov/codecov-action-3.1.4
Bump codecov/codecov-action from 3.1.2 to 3.1.4
2023-06-15 12:50:45 +01:00
natalie 2bd2824c5b
Merge pull request #13 from ZcashFoundation/dependabot/github_actions/actions/checkout-3.5.3
Bump actions/checkout from 3.5.2 to 3.5.3
2023-06-15 12:50:32 +01: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
dependabot[bot] f06af79b13
Bump actions/checkout from 3.5.2 to 3.5.3
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.2...v3.5.3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-10 00:57:37 +00:00
natalie ac921c364d
Merge pull request #8 from ZcashFoundation/add_split_362
Add split function
2023-06-05 19:33:10 +01:00
natalie 28359ee3e0
Update secret key input text
Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
2023-06-05 19:26:46 +01:00
natalie 2bba8bfa15 Add error handling for split_secret (#362) 2023-06-05 11:40:59 +01:00
natalie bc987bbba8 Add functionality for split_secret when a secret has been provided (#362) 2023-06-05 11:25:59 +01:00
natalie 32bf470df5 Add input for secret (#362) 2023-06-02 16:54:55 +01: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
Conrado Gouvea c19f13dbb2
Merge pull request #6 from ZcashFoundation/dconnolly-patch-1
s/Frost/FROST/
2023-05-23 18:53:22 -03:00
Deirdre Connolly c82550cc7c
s/Frost/FROST/ 2023-05-23 15:17:53 -04:00
dependabot[bot] fde379f386
Bump codecov/codecov-action from 3.1.2 to 3.1.4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.2 to 3.1.4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.2...v3.1.4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 18:47:25 +00:00
Conrado Gouvea 4695467a8a
Merge pull request #4 from ZcashFoundation/handle_errors_326
Handle errors 326
2023-05-23 15:46:48 -03:00
natalie a59ca79e3a
Merge pull request #3 from ZcashFoundation/update_readme_339
Update README (#339)
2023-05-23 19:11:03 +01:00
natalie a76acb60c7 Refactor errors for inputs (#326) 2023-05-23 19:04:45 +01:00
natalie ad3c31588b Make error handling more semantic in main (#326) 2023-05-18 14:01:31 +01:00
natalie d3913a00f2
Update README.md
Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-05-16 14:34:52 +01:00
natalie e7e9974fa2
Update README.md
Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-05-16 12:06:33 +01:00
natalie b8b2cfe84b Update README (#339) 2023-05-12 14:00:34 +01:00
natalie 4935445693 Merge branch 'main' of github.com:ZcashFoundation/frost-zcash-demo into update_readme_339 2023-05-11 15:02:00 +01:00
natalie 9493bc97a3 Handle errors for unparseable input (#326) 2023-05-05 21:00:46 +01:00
natalie 078a8cbc26 Handle errors for trusted_dealer_keygen (#326) 2023-05-05 17:16:34 +01:00
dependabot[bot] 3613969239 Bump codecov/codecov-action from 3.1.2 to 3.1.3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-05 17:15:52 +01:00
natalie f201eb693b Add details to README (#339)
Create Makefile commands
2023-05-02 16:15:48 +01:00
natalie 15100a28b7
Merge pull request #2 from ZcashFoundation/generate_secret_share_283
Generate secret share 283
2023-04-28 09:30:33 +01:00
natalie ebaf08073d Refactor ConsoleLogger to be implemented in main (#283) 2023-04-27 14:03:25 +01:00
natalie 7738d105fa Fix clippy errors (#283) 2023-04-26 16:31:19 +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 806d0e558b Temporarily return ok value for inputs to resolve clippy issue (#283) 2023-04-25 14:40:55 +01:00
natalie 689be8d3d5 Merge branch 'main' of frost-zcash-demo into generate_secret_share_283 2023-04-25 14:20:52 +01:00
natalie bd065ef8ba Fix clippy error by removing true test assertion 2023-04-25 13:49:45 +01:00
natalie ba0b8472d8 Fix fmt error 2023-04-25 13:35:57 +01:00
natalie 5e46d6317f Add config for CI pipeline and code coverage 2023-04-25 13:30:31 +01:00