Commit Graph

403 Commits

Author SHA1 Message Date
dependabot[bot] a8275e12dd
Bump codecov/codecov-action from 3.1.3 to 3.1.4 (#348)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.3 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.3...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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-16 19:27:28 +00:00
David Craven 4055cb9439
Errors caused by protocol violations should contain the misbehaving p… (#341)
Errors caused by protocol violations should contain the misbehaving party.
2023-05-09 01:51:29 +00:00
Conrado Gouvea cd74efa13d
gencode repairable improvement (#334)
* make gencode generate repairable.rs

* fix build issues in ciphersuite-specific repairable.rs

* copy repairable docs from frost-core into ciphersuites modules

* use full ciphersuite name in repairable.rs to make gencode work

* gencode: use frost-core repairable docs as canonical source
2023-05-02 15:12:04 +00:00
Conrado Gouvea 4a112230cb
Change gencode to handle repairable module; fix build issues (#329)
* make gencode generate repairable.rs

* fix build issues in ciphersuite-specific repairable.rs

* copy repairable docs from frost-core into ciphersuites modules

* use full ciphersuite name in repairable.rs to make gencode work
2023-04-28 02:16:03 +00:00
Conrado Gouvea 98836fad4d
remove redundant round2::SigningPackage (#333) 2023-04-27 21:52:38 +00:00
David Craven dad04f46ee
Add from_scalar. (#331) 2023-04-27 17:40:55 +00:00
Conrado Gouvea 9985c9660e
test on beta instead of nightly (#287)
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2023-04-25 00:23:48 -04:00
dependabot[bot] 1ef01efc05
Bump actions/checkout from 3.3.0 to 3.5.2 (#315)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.3.0 to 3.5.2.
- [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.3.0...v3.5.2)

---
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-04-25 03:59:45 +00:00
dependabot[bot] 791c4c65f3
Bump codecov/codecov-action from 3.1.2 to 3.1.3 (#316)
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 03:59:39 +00:00
Deirdre Connolly f1710d5af2 Don't deploy preview when dependabot 2023-04-24 23:31:06 -04:00
natalie 0b981618cd
Add repair share functionality (#281)
* Add compute random value function for repair share functionality (#41)

This is step 1 of 3

* Add compute random value function for repair share functionality for each ciphersuite (#41)

* Add compute_sum_of_random_values function for repair share functionality (#41)

This is step 2 of 3

* Add recover_share function for repair share functionality (#41)

This is step 3 of 3

* Add communication rounds functions for repair share functionality for each ciphersuite (#41)

Add compute_sum_of_random_variables function
Add recover_share function

* Fix recover_share tests so they test the right thing

Fix secp256 recover share test values
Fix ristretto255 recover share test values
Fix ristretto255 compute sum of random values test values

* Rewrite compute_random_values to generate_random_values for repair share functionality (#41)

Test generate_random_values directly
End to end test to be added in another commit
Updated gendoc to use original file values to fix clippy complaints

* Rename functions and update documentation for repair (#41)

* Add end to end test for repair share (#41)

Fix lagrange coefficient calculation

Co-authored-by: conrado <conradoplg@gmail.com>

* Fix formatting (#41)

* Remove comment (#41)

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

* Update documentation for step 1 of RTS (#41)

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

* Update documentation for method of computing step 1 of RTS (#41)

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

* Rename repair share functions (#41)

* Improve documentation for Repairable Threshold Scheme (#41)

* Remove unecessary code from repairable tests (#41)

* Update repairable documentation

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

* Rename steps in repairable to be more consistent with DKG pattern (#41)

* Update gitignore (#41)

* Update repairable to use new keygen_with_dealer signature (#41)

* Update frost-core/src/frost/keys/repairable.rs

---------

Co-authored-by: conrado <conradoplg@gmail.com>
Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
2023-04-24 15:27:14 +00:00
Deirdre Connolly 6554f2ba85 Paths on PR 2023-04-21 20:49:10 -04:00
Deirdre Connolly 27a9fc06b2 Don't run docs publish workflow when cargo files updated
We're not publishing rustdoc with this flow, just the book
2023-04-21 19:31:11 -04:00
Deirdre Connolly a6bdf68dc2
Bumped our frost-* versions inline with our crate releases (#313) 2023-04-21 00:38:15 +00:00
Deirdre Connolly fc425a31ff s/secrets/vars/ 2023-04-20 19:18:40 -04:00
Deirdre Connolly db8f48b901 Apply suggestions from code review 2023-04-20 19:12:26 -04:00
Deirdre Connolly d8c5575c61 preview channel for book 2023-04-20 19:12:26 -04:00
Deirdre Connolly a981fdad85 FROST book firebase config 2023-04-20 18:44:04 -04:00
Deirdre Connolly 7828d58574 Create docs.yml workflow
I've created the `frost-book` Firebase project but couldn't create the service account key for it as the key gen 
permissions seem to be locked down.: https://github.com/w9jds/firebase-action
2023-04-20 18:19:22 -04:00
Conrado Gouvea 5c5ad14de4 bump other crates to 0.2.0 2023-04-20 11:52:26 -04:00
Conrado Gouvea 5c19c643f5
bump version to 0.2.0, update changelog (#308) 2023-04-20 00:37:46 +00:00
dependabot[bot] 37437daf5d
Bump reviewdog/action-actionlint from 1.36.0 to 1.37.0 (#295)
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.36.0 to 1.37.0.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases)
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.36.0...v1.37.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-04-18 22:04:59 +00:00
dependabot[bot] 7c8c24ea28
Bump codecov/codecov-action from 3.1.1 to 3.1.2 (#299)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.1 to 3.1.2.
- [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.1...v3.1.2)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-18 20:01:20 +00:00
Conrado Gouvea ec263b120f bump version and update changelog for frost-core 0.1.1 2023-04-18 15:55:53 -04:00
dependabot[bot] 10027a9909
Bump actions/checkout from 3.5.0 to 3.5.2 (#302)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.2.
- [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.0...v3.5.2)

---
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-04-18 19:24:36 +00:00
dependabot[bot] 034024047a
Update curve25519-dalek requirement from =4.0.0-rc.1 to =4.0.0-rc.2 (#292)
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)
- [Changelog](https://github.com/dalek-cryptography/curve25519-dalek/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/compare/4.0.0-rc.1...4.0.0-rc.2)

---
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-04-14 01:04:24 +00:00
Deirdre Connolly cf7ebcb34e
Re-export the frost-core traits and rand-core as part of top-level impls API (#297)
* Re-export the frost-core traits and rand-core as part of top-level impls API

* Don't export frost_core::frost

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-04-14 01:04:17 +00:00
Conrado Gouvea b829d4ff9f
move comments before attributes; make gencode handle them (#280) 2023-04-13 23:57:00 +00:00
Conrado Gouvea 850381fe24
implement Zeroize where needed or skip where not needed (#301) 2023-04-13 15:26:35 +00:00
dependabot[bot] 8f9b3e54c0
Bump actions/checkout from 3.4.0 to 3.5.0 (#291)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.4.0 to 3.5.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.4.0...v3.5.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-04-12 18:13:36 +00:00
natalie c6f2d6b5fb
Update keygen_with_dealer to return a hashmap (#288)
* Change keygen_with_dealer to return a HashMap (#282)

Update docs

* Add vscode folder to gitignore
2023-03-23 22:24:33 +00:00
Jack Gavigan ed5faa707b
Update frost-dependencies-for-audit.md (#289) 2023-03-22 11:26:01 +01:00
dependabot[bot] 133635006e
Bump actions/checkout from 3.3.0 to 3.4.0 (#285)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.3.0 to 3.4.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.3.0...v3.4.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-03-17 14:13:44 +00:00
Deirdre Connolly dd25b090c2
Make frost-core version explicit for frost-p256 to publish (#284) 2023-03-16 18:36:13 +00:00
Deirdre Connolly 81ae27b1fa
ed448 release (#276)
* Tidy Cargo.toml for publishing

* Waiting for ed448-goldilocks to publish

* point to ed448-goldilocks 0.9.0; use new to_bytes_rfc_8032() method

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-03-11 01:04:09 +00:00
Conrado Gouvea 7c8553bf10
update p256 to 0.13.0 (#273)
* Update p256 requirement from 0.12.0 to 0.13.0

Updates the requirements on [p256](https://github.com/RustCrypto/elliptic-curves) to permit the latest version.
- [Release notes](https://github.com/RustCrypto/elliptic-curves/releases)
- [Commits](https://github.com/RustCrypto/elliptic-curves/compare/primeorder/v0.12.0...p256/v0.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

* update p256 to 0.13.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-10 19:59:49 -05:00
Conrado Gouvea 41fec092a6
move comment to make gencode work (#277)
fix comment position to make gencode work
2023-03-10 21:22:12 -03:00
Deirdre Connolly 3e3a708d85
Rename clippy lint derive_hash_xor_eq (#274)
* Rename clippy lint derive_hash_xor_eq

* try to force clippy to use stable

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-03-10 16:12:11 +00:00
Deirdre Connolly 0492a45b7d
Explicitly specify frost-core 0.1.0 (#275) 2023-03-10 15:02:41 +00:00
Deirdre Connolly 55ca7809fa
ristretto: Version frost-core (#271)
Version frost-core
2023-03-09 17:46:05 +00:00
Deirdre Connolly 87097bb6dc
Tweaks to publish frost-ed25519 (#270)
* prep ed25519 for release

* Remove dependency on frost-ristretto, version frost-core

* Use curve25519-dalek rand_core feature
2023-03-09 17:45:55 +00:00
Deirdre Connolly d764fec4e5
Remove extra crate keyword (#267) 2023-03-09 15:08:01 +00:00
Deirdre Connolly 222465431a
Specify core version & remove keyword for -rerandomized (#268)
* Specify frost-core version for publishing

* Remove extra keyword
2023-03-09 15:07:52 +00:00
Deirdre Connolly 49de544c69
Upgrade k256 and p256 dependencies (#262)
* Upgrade k256, remove & replace hash_to_field with hash2curve::hash_to_field

* Upgrade p256 to 0.13.0

* Remove now-redundant PrimeCurveAffine trait import

* DRY up hash_to_scalar()
2023-03-08 14:32:35 +00:00
Pili Guerra 3265a3b848
Start FROST book (#250)
* Starting a list of dependencies for audit

* Start FROST book and add skeleton

* Change authors

* Fix structure

* Link to README.md

* Add in all existing documentation from FROST repo

* Remove unused chapter_1 file
2023-03-08 04:17:53 +00:00
Conrado Gouvea c80e812fb9
Update curve25519-dalek to 4.0.0-rc.1 (#261)
* Update curve25519-dalek requirement from =4.0.0-pre.1 to =4.0.0-rc.1

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)
- [Changelog](https://github.com/dalek-cryptography/curve25519-dalek/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>

* fix breaking curve25519-dalek changes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 16:03:33 +00:00
Conrado Gouvea e5ecb2d3f4
renamed gendoc to gencode; make it unpublishable (#260) 2023-03-02 21:19:53 +00:00
Conrado Gouvea dc3544e5d9
rename DKG types (#256) 2023-03-01 23:12:31 +00:00
Pili Guerra edeb3d69ce
Update FROST scope dependencies (#258)
Add some details about the FROST dependencies that are out of scope of the audit
2023-03-01 23:12:23 +00:00
dependabot[bot] 3bfbabddbb
Bump actions-rs/toolchain from 1.0.1 to 1.0.7 (#253)
Bumps [actions-rs/toolchain](https://github.com/actions-rs/toolchain) from 1.0.1 to 1.0.7.
- [Release notes](https://github.com/actions-rs/toolchain/releases)
- [Changelog](https://github.com/actions-rs/toolchain/blob/master/CHANGELOG.md)
- [Commits](https://github.com/actions-rs/toolchain/compare/v1.0.1...v1.0.7)

---
updated-dependencies:
- dependency-name: actions-rs/toolchain
  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-02-27 20:03:21 +00:00