Commit Graph

473 Commits

Author SHA1 Message Date
dependabot[bot] 3a72a9dfa3
Bump reviewdog/action-actionlint from 1.42.0 to 1.43.0 (#627)
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases)
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.42.0...v1.43.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-14 17:20:08 +00:00
dependabot[bot] 6e5aff8342
Bump codecov/codecov-action from 4.0.1 to 4.1.0 (#620)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.0.1 to 4.1.0.
- [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/v4.0.1...v4.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-28 19:42:15 +00:00
dependabot[bot] 5f58d6a923
Bump reviewdog/action-actionlint from 1.41.0 to 1.42.0 (#618)
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.41.0 to 1.42.0.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases)
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.41.0...v1.42.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-28 19:34:39 +00:00
Conrado Gouvea d048057a21
1.0.0 release (#615) 2024-02-19 19:56:58 +00:00
dependabot[bot] 9a8836fedd
Update curve25519-dalek requirement from =4.1.1 to =4.1.2 (#610)
---
updated-dependencies:
- dependency-name: curve25519-dalek
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-07 22:55:07 +00:00
dependabot[bot] f92bbc4db7
Bump release-drafter/release-drafter from 5 to 6 (#608)
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5 to 6.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5...v6)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-02 20:09:31 +00:00
dependabot[bot] e7c5b40091
Bump codecov/codecov-action from 3.1.4 to 4.0.1 (#607)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.4 to 4.0.1.
- [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.4...v4.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-02 20:09:26 +00:00
dependabot[bot] 5f4ac6e461
Bump reviewdog/action-actionlint from 1.40.0 to 1.41.0 (#599)
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.40.0 to 1.41.0.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases)
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.40.0...v1.41.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-02 17:05:57 -03:00
Conrado Gouvea 2f01e01e78
frost-core: expose SigningKey::to/from_scalar() (#601)
* frost-core: expose SigningKey::to/from_scalar()

* Update frost-core/CHANGELOG.md
2024-02-01 13:10:20 +00:00
natalie e1fb9bc953
Check num of commitments against min signers (#597)
* Check num of commitments against min signers

* Move incorrect number of commitments check to part2 in the DKG
2024-01-17 13:18:27 +00:00
Conrado Gouvea 9921b1218e
support serializing SigningNonces (#595) 2024-01-16 20:48:17 +00:00
dependabot[bot] 1168154634
Bump reviewdog/action-actionlint from 1.39.1 to 1.40.0 (#594)
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.39.1 to 1.40.0.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases)
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.39.1...v1.40.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-16 18:09:18 +00:00
natalie a1350ea182
Update demo instructions in book (#562)
* Update tutorial in book (#557)

Remove add-pallas branch
Fix some typos
Add params fetch
Add downloads

* Fix ywallet demo instructions (#557)

Fix checkout instructions for zwallet

Fix run instructions for the sign tool

* Update text in demo tutorial (#562)

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

* Update text in demo tutorial (#562)

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

* Remove fetch-params script from ywallet demo (#557)

* Create information section in ywallet-demo tutorial (#557)

* Update mdbook-admonish to v3.0.0 (#557)

* Update details of downloading params in tutorial (#557)

---------

Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
2023-12-12 21:58:39 +00:00
natalie 1e29230827
Create DKG vector tests (#587)
* Add DKG vector test for ed25519 (#567)

* Add DKG test vectors for all ciphersuites (#567)

* Add description for DKG vector test (#567)

* Update imports for DKG vector tests (#567)
2023-12-04 19:15:25 +00:00
David Wong 6d82adf941
fix deserialization issue in ciphersuite_deserialize (#589) 2023-12-04 16:34:42 +00:00
Conrado Gouvea 221c089f2b
create new() methods for VerifirableSecretSharingCommitment and CoefficientCommitment (#580) 2023-11-20 14:56:33 +00:00
natalie 4406e01afc
Update changelog (#582)
Update changelog (#581)
2023-11-17 10:46:37 +00:00
natalie 036b0ce3fe
Fix warnings (#578)
* Use from_coefficients() instead of evaluate_polynomial() when computing a signing_share (#576)

* Refactor BindingFactor::deserialize into from_hex as it's only used for testing (#576)

* Remove BindingFactorList::iter() and use directly in vector test (#576)
2023-11-16 17:18:40 +00:00
dependabot[bot] 99866a7902
Update itertools requirement from 0.11.0 to 0.12.0 (#574)
Updates the requirements on [itertools](https://github.com/rust-itertools/itertools) to permit the latest version.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: itertools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 11:53:46 -03:00
natalie 37e8856449
Release v1.0.0-rc.0 (#575)
* Update versions to 1.0.0-rc.0 (#552)

* Update changelog for release 1.0.0-rc.2 (#552)

* Update frost core version in ciphersuites to 1.0.0-rc.0 (#552)

* Update rerandomized and frost-core dependencies to use v1.0.0-rc.0 (#552)

* Update release checklist to add instruction for updating version numbers for frost-rerandomized (#552)

* Update mdbook-admonish (#552)
2023-11-15 13:08:34 +00:00
Conrado Gouvea e69002e0f6
re-export serde in ciphersuite crates (#573) 2023-11-10 17:27:41 +00:00
Conrado Gouvea 408540fb86
frost-core: split part of lib.rs into traits.rs and serialization.rs (#569) 2023-11-07 14:57:21 +00:00
Conrado Gouvea a0df08e30a
remove frost module (#568) 2023-10-31 16:30:05 +00:00
Conrado Gouvea 71c092532c
add computing PublicKeyPackage from commitments (#551)
* Refactor computing the public key package and expose it.

* Fix clippy issue.

* Add test.

* Fix test.

* Improve test.

* Split it up.

* Fix build.

* Improve api.

* Expose more stuff.

* Expose more stuff.

* Extract proof of knowledge verification.

* Add construct_proof_of_knowledge.

* fix dkg test

* overall cleanup

* change IncorrectCommitment to IncorrectNumberOfCommitments

* clippy fixes

* fix order of inputs for DKG commitment hashing

* also change regular challenge() verifying key argument to VerifyingKey

---------

Co-authored-by: David Craven <david@craven.ch>
2023-10-27 11:48:54 +00:00
natalie e0db6151e0
Support optional cheater detection (#564)
* Add feature for cheater detection (#355)

Create option for aggregating without cheater detection
Some renaming

* avoid duplicating aggregate()

* Make cheater detection feature on by default (#355)

* Update changelog for cheater detection feature addition (#355)

* Default to cheater detection feature in ciphersuites (#355)

* Remove unnecessary cheater-detection gates in tests (#355)

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-10-25 13:23:26 +00:00
dependabot[bot] 3d25db1296
Bump actions/checkout from 4.1.0 to 4.1.1 (#563)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [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/v4.1.0...v4.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 17:54:50 +00:00
Conrado Gouvea 266f12624e
clippy fixes (#565) 2023-10-20 15:12:46 +00:00
Conrado Gouvea 5cd7964a54
update README, move dev info to book (#554) 2023-10-10 14:24:23 +00:00
dependabot[bot] b37bde0d2a
Bump reviewdog/action-actionlint from 1.38.0 to 1.39.1 (#556)
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.38.0 to 1.39.1.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases)
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.38.0...v1.39.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 18:46:02 +00:00
dependabot[bot] a8ca3f635a
Bump actions/checkout from 4.0.0 to 4.1.0 (#549)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0.
- [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/v4.0.0...v4.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 18:37:05 +00:00
dependabot[bot] 1d8f96e619
Update curve25519-dalek requirement from =4.1.0 to =4.1.1 (#544)
Updates the requirements on [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek) to permit the latest version.
- [Release notes](https://github.com/dalek-cryptography/curve25519-dalek/releases)
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/commits/curve25519-4.1.1)

---
updated-dependencies:
- dependency-name: curve25519-dalek
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 18:36:20 +00:00
Conrado Gouvea d938b53d83
book: add release checklist (#553) 2023-09-29 15:14:45 +00:00
Conrado Gouvea c1da1d82dd
dependabot: remove hardcoded reviewer and assignee (#546) 2023-09-25 13:16:42 +00:00
Conrado Gouvea c0c57f4b4b
generate Randomizer by hashing SigningPackage (#542) 2023-09-22 14:20:11 +00:00
natalie ba3ef7dbb8
Convert all HashMaps to BTreeMaps (#547)
Convert HashMaps to BTreeMaps (#476)
2023-09-22 14:08:32 +00:00
Conrado Gouvea a5dc479b4d
remove serde bounds from Ciphersuites (#541) 2023-09-21 09:24:21 +00:00
Conrado Gouvea 4ba88c0210
add version field to serialization at the beginning; move ciphersuite after it (#540)
* add version field into a Header field along with the ciphersuite ID

* Change Ciphersuite ID to be the contextString from the spec

* Apply suggestions from code review

Co-authored-by: natalie <n.l.eskinazi@gmail.com>

---------

Co-authored-by: natalie <n.l.eskinazi@gmail.com>
2023-09-20 15:40:01 +00:00
natalie eee505a49e
Rename fields to match types (#539)
* Rename signer_pubkeys to verifying_shares (#495)

* Rename group_public to verifying_key (#495)

Some naming needed to be updated in DKG as well as there was already a verifying_key which was actually a verifying_share

* Update KeyPackage field from secret_share to signing_share (#495)

* Update Package field from secret_share to signing_share (#495)

* Update KeyPackage field from public to verifying_share (#495)

* Update SecretShare field vrom value to signing_share (#495)

* Remove secret function from SecretShare (#495)

This is because we now can use the getter to get signing_share() without the need for an additional function

* Update serde_tests with updated field names (#495)
2023-09-15 14:53:43 +00:00
Conrado Gouvea c38305b536
bump versions and update changelog for 0.7.0 release (#538) 2023-09-13 16:52:41 +00:00
Conrado Gouvea d4b03ea7bf
add default serialization format (#511)
* add default serialization format

* remove SHORT_ID from Ciphersuite trait
2023-09-13 12:58:26 +00:00
Conrado Gouvea 9752182fa1
change reconstruct() to take KeyPackages; validate size (#523)
change reconstruct() to take KeyPackages; validate size
2023-09-11 21:51:33 +00:00
Conrado Gouvea 366cc96877
ci: remove protoc install (#532) 2023-09-11 19:23:15 +00:00
dependabot[bot] bcd550ca41
Bump reviewdog/action-actionlint from 1.37.1 to 1.38.0 (#526)
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.37.1 to 1.38.0.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases)
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.37.1...v1.38.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-07 19:33:14 +00:00
dependabot[bot] ac10ac3b51
Update curve25519-dalek requirement from =4.0.0 to =4.1.0 (#527)
Updates the requirements on [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek) to permit the latest version.
- [Release notes](https://github.com/dalek-cryptography/curve25519-dalek/releases)
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/commits/curve25519-4.1.0)

---
updated-dependencies:
- dependency-name: curve25519-dalek
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-07 19:33:07 +00:00
Conrado Gouvea fcb25b2888
book: add Zcash chapter (#505)
* book: add Zcash chapter

* Update book/src/zcash.md

Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>

---------

Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2023-09-07 13:25:58 +00:00
Conrado Gouvea 4ee0d32867
check number of commitments in sign() (#480)
* check number of commitments in sign()

* make comment clearer
2023-09-06 09:48:30 +00:00
dependabot[bot] 030c4cea81
Bump actions/checkout from 3.6.0 to 4.0.0 (#522)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.0.
- [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.6.0...v4.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 15:06:57 +00:00
Conrado Gouvea d439fdc93d
improve book per audit report (#491)
* improve book per audit report

* remove stale sentence

* fix a typo

* Update book/src/tutorial/signing.md

Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>

* Update book/src/tutorial/signing.md

---------

Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2023-09-05 00:08:16 +00:00
dependabot[bot] 386de4de6f
Update visibility requirement from 0.0.1 to 0.1.0 (#518)
Updates the requirements on [visibility](https://github.com/danielhenrymantilla/visibility.rs) to permit the latest version.
- [Release notes](https://github.com/danielhenrymantilla/visibility.rs/releases)
- [Commits](https://github.com/danielhenrymantilla/visibility.rs/compare/v0.0.1...v0.1.0)

---
updated-dependencies:
- dependency-name: visibility
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 19:38:52 +00:00
Conrado Gouvea 4abe7fe638
document features (#512) 2023-09-04 19:38:48 +00:00