Commit Graph

479 Commits

Author SHA1 Message Date
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
Pili Guerra 75aaa7f401
List of dependencies for audit (#244)
* Starting a list of dependencies for audit

* Add all direct dependencies
2023-02-27 19:39:48 +00:00
Deirdre Connolly a37c2de365
s/rerandomized/re-randomized/ for prose text (#248) 2023-02-23 15:03:46 -03:00
Pili Guerra a0eead7f13
Remove `frost-redjubjub` (#246)
Remove frost-redjubjub
2023-02-16 22:44:12 +00:00
Natalie c39e95f973
Improve accuracy of coverage reports 231 (#232)
* Add flag to coverage tool to exclude files we don't need to test (#231)

* Add documentation to README for running code coverage tests locally (#231)

---------

Co-authored-by: Natalie Eskinazi <nat@trees.local>
2023-02-09 23:01:02 +00:00
Conrado Gouvea 09f3f36aab
frost-rerandomized: add aggregate optimization (#214)
* frost-rerandomized: add aggregate optimization

* Update frost-rerandomized/src/lib.rs

Co-authored-by: Marek <mail@marek.onl>

* Updated docs around aggregate()

* rustfmt

---------

Co-authored-by: Marek <mail@marek.onl>
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2023-02-06 23:49:37 +00:00
Natalie Eskinazi 984f421d47
Rename derive_lagrange_coefficient to derive_interpolating_value (#224)
* Rename rename_derive_lagrange_coefficient_to_derive_interpolating_value

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

* Fix formatting

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

* Fix lint errors

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

* Update README with pre commit check info

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

---------

Co-authored-by: Natalie Eskinazi <nat@trees.local>
Co-authored-by: conrado <conrado@zfnd.org>
2023-02-06 15:51:16 +00:00
Conrado Gouvea 956d8d3c7f
add benchmarks (#205)
* add benchmarks

* Apply suggestions from code review

Co-authored-by: Marek <mail@marek.onl>

* cargo fmt

---------

Co-authored-by: Marek <mail@marek.onl>
2023-01-30 18:48:13 +00:00
Conrado Gouvea 084ed95f46
add ed25519 interoperability test (#208)
* add ed25519 interoperability test

* add multiple iterations to check_sign_with_dkg in ed25519
2023-01-25 20:29:51 +00:00
dependabot[bot] 9be13c4bfa
Bump reviewdog/action-actionlint from 1.35.0 to 1.36.0 (#219)
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.35.0 to 1.36.0.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases)
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.35.0...v1.36.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 21:37:20 +00:00
Conrado Gouvea 82b029aaa6 simplify gendoc 2023-01-12 17:25:55 -05:00
Conrado Gouvea cd172371ab
improve aggregate performance by verifying the aggregate signature first (#207)
* improve aggregate performance by verifying the aggregate signature first

* fix after syncing with main

* fix k256 git reference

* Update frost-core/src/frost.rs

* Update frost-core/src/frost.rs

Co-authored-by: Marek <mail@marek.onl>

* Update aggregate comment

Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
Co-authored-by: Marek <mail@marek.onl>
2023-01-12 00:16:06 +00:00
dependabot[bot] 453cbab4c7
Bump actions/checkout from 3.2.0 to 3.3.0 (#211)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.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.2.0...v3.3.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 20:14:28 +00:00
dependabot[bot] a695b178bc
Bump reviewdog/action-actionlint from 1.34.2 to 1.35.0 (#200)
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.34.2 to 1.35.0.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases)
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.34.2...v1.35.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 21:59:23 +00:00
Conrado Gouvea b5e6da8820
clippy fixes (#212) 2023-01-09 21:23:59 +00:00
Conrado Gouvea ffe5c57a17
Expose internals to support randomization (simplified) (#152)
* changes required for randomization

* simplified version

* simplify compute_signature_share return

* add frost-rerandomized crate

* move rerandomized tests to frost-rerandomized from reddsa; remove unused deps

* Update frost-core/src/frost.rs

Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2023-01-06 04:26:13 +00:00
Conrado Gouvea 0fffd6517d
fix Identifier ordering; add big identifier test vectors (#197) 2023-01-02 22:43:27 +00:00
Conrado Gouvea 9514e7688e
add check for canonical point encodings where needed, and tests (#193)
* add check for canonical point encodings where needed, and tests

* remove unneeded 'as' keywords

* fix after syncing with main

* pin curve25519-dalek for now due to breaking changes

Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2022-12-15 09:38:53 +00:00
Conrado Gouvea 665ab512e2
move dkg module to its own file; update and refactor gendoc (#196)
* move dkg module to its own file; update and refactor gendoc

* pin curve25519-dalek for now due to breaking changes
2022-12-15 09:38:48 +00:00
Conrado Gouvea 2967cae5e4 refactor hash implementations with hash_to_array/scalar functions 2022-12-14 00:49:20 -05:00
dependabot[bot] 8a391caab8
Bump actions/checkout from 3.1.0 to 3.2.0 (#199)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.2.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.1.0...v3.2.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 05:47:28 +00:00
Conrado Gouvea e8dc692ca0
add Identifier to InvalidSignatureShare and split Error type (#183)
* add Identifier to InvalidSignatureShare

* rustdoc

* also update secp256k1

* add Identifier::deserialize; make serialize public

* make it work with Ed448

* Some space

* Fixing spacing for rustfmt

* Revert  🤦‍♂️

Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2022-12-12 22:04:10 +00:00
Conrado Gouvea 359434b14f
docs cleanups (#194) 2022-12-08 17:42:47 +00:00
Conrado Gouvea 1d06341f5c
Remove unused dependencies (#191)
remove unused dependencies
2022-12-07 15:40:17 +00:00
Deirdre Connolly 1c6f0b1694
release: prepping Cargo.toml's for crates.io release (#188) 2022-12-06 15:30:37 +00:00