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
Conrado Gouvea
f79648dfa9
add Ed448 support ( #187 )
...
* add Ed448 support
* use zero() instead of one() when encoding a signature
* point to ed448-goldilocks main branch
2022-12-02 19:47:20 +00:00
dependabot[bot]
20d6d2a9b0
Bump reviewdog/action-actionlint from 1.34.1 to 1.34.2 ( #186 )
...
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint ) from 1.34.1 to 1.34.2.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases )
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.34.1...v1.34.2 )
---
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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-29 19:04:04 +00:00
Conrado Gouvea
d8700fed06
add gendoc --check, use in CI ( #184 )
...
* add gendoc --check, use in CI
* ran gendoc
2022-11-25 00:36:34 +00:00
Conrado Gouvea
3e1fe25dbd
add secp256k1 ciphersuite ( #175 )
...
* add secp256k1 ciphersuite
* use workaround for hash2field
* fix secp256k1 docs caused by gendoc bug
* Apply suggestions from code review
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
* removed random_nonzero which is no longer needed
* typo
* cargo fmt
* rustdoc url
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2022-11-22 21:09:21 +00:00
Conrado Gouvea
1815280576
Improve DKG API; add DKG example ( #173 )
...
* improve DKG API
* add DKG example; add ciphersuite-specific DKG functions
2022-11-18 12:54:06 +00:00
dependabot[bot]
41eda1fa80
Bump Swatinem/rust-cache from 1 to 2 ( #179 )
...
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache ) from 1 to 2.
- [Release notes](https://github.com/Swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Swatinem/rust-cache/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-type: direct:production
update-type: version-update:semver-major
...
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-11-18 12:30:13 +00:00
dependabot[bot]
0e935126a6
Bump reviewdog/action-actionlint from 1.34.0 to 1.34.1 ( #178 )
...
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint ) from 1.34.0 to 1.34.1.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases )
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.34.0...v1.34.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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-18 12:30:07 +00:00
dependabot[bot]
7d0a7794bf
Bump reviewdog/action-actionlint from 1.33.1 to 1.34.0
...
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint ) from 1.33.1 to 1.34.0.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases )
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.33.1...v1.34.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>
2022-11-04 00:20:15 -04:00
Conrado Gouvea
e97257a6ca
remove random_nonzero from Field trait ( #176 )
2022-11-02 17:52:38 +00:00
Conrado Gouvea
7b83737137
Improve examples ( #160 )
...
* add trusted dealer example
* add example for each ciphersuite-specific crate
* simplify example
* improve example; use ? instead of unwrap
2022-11-01 15:54:04 +00:00
Conrado Gouvea
6df6e32221
use Error everywhere and add enums as needed ( #172 )
...
* use Error everywhere and add enums as needed
* Apply suggestions from code review
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
* Update frost-core/src/error.rs
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2022-10-28 20:01:03 +00:00