Conrado Gouvea
c205ef73e0
Fix --no-default-features ( #630 )
...
* fix --no-default-features; also make sure everything compilers with every feature combination
* backport some fixes from no-std PR
* update CHANGELOG
2024-04-10 15:13:31 +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
Conrado Gouvea
9921b1218e
support serializing SigningNonces ( #595 )
2024-01-16 20:48:17 +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
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
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]
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
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
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
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
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
Conrado Gouvea
4abe7fe638
document features ( #512 )
2023-09-04 19:38:48 +00:00
Conrado Gouvea
fcd0e31e6b
return error when validating an empty batch ( #487 )
...
* return error when validating an empty batch
* reuse n
2023-09-02 05:13:51 +00:00
Conrado Gouvea
a19d2f9abf
don't import unneeded dependencies when not required ( #492 )
2023-09-02 05:01:01 +00:00
Conrado Gouvea
5cd3f8fc79
return error when creating a zero SigningKey ( #496 )
...
* return error when creating a zero SigningKey
* Update frost-core/src/signing_key.rs
* Update frost-core/src/signing_key.rs
---------
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2023-09-02 04:59:57 +00:00
Conrado Gouvea
877e7c3830
fix clippy issues ( #503 )
2023-08-28 19:25:43 +00:00
natalie
bb94a34362
Add minimum participant constraints ( #453 )
...
* Add validation for missing identifier in signing package (#442 )
* Add error handling for identifier having an invalid commitment (#442 )
* Fixed comment (#442 )
* Add validation for participant numbers (#443 )
Add to split() and generate_secret_polynomial()
* Add participant validation for dkg and repairable (#443 )
2023-08-16 18:38:29 +00:00
natalie
ad07c9e4d4
Update ed25519-dalek ( #474 )
...
Update ed25519-dalek (#473 )
2023-08-15 13:19:51 +00:00
Conrado Gouvea
ba8086db5c
Simplify rerandomized FROST ( #437 )
...
* refactor Lagrange coefficient computation
* simplified rerandomized FROST
* switch to a Randomize trait, remove unaccurate comment
* remove manual rerandomization test
* improve comments
* removed unneeded alpha_share
* Apply suggestions from code review
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
* frost-rerandomized: add serde feature
* add Randomizer type
* revert DuplicatedIdentifiers back to DuplicatedIdentifier
---------
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2023-08-14 16:15:22 +00:00
Conrado Gouvea
9413b49c05
Update test vectors ( #438 )
...
update test vectors to final version (v1) and update spec links
2023-08-14 10:39:15 +00:00
natalie
b3a7927d7f
Add validation for missing identifier in signing package ( #452 )
...
* Add validation for missing identifier in signing package (#442 )
* Add error handling for identifier having an invalid commitment (#442 )
* Fixed comment (#442 )
* Improve comment for number of signers validation
Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
---------
Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
2023-07-26 22:24:11 -03:00
dependabot[bot]
ae12187367
Update curve25519-dalek requirement from =4.0.0-rc.3 to =4.0.0 ( #450 )
...
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/compare/4.0.0-rc.3...curve25519-4.0.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-07-24 15:05:53 +00:00
Conrado Gouvea
9b5d88da72
refactor Lagrange coefficient computation ( #436 )
...
* refactor Lagrange coefficient computation
* A line
* Apply suggestions from code review
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
* address review comments; make compute_lagrange_coefficients() not pub by default
---------
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2023-07-19 16:47:09 +00:00
Conrado Gouvea
5fa17ed15c
update versions and changelog for 0.6.0 ( #434 )
...
* update versions and changelog for 0.6.0
* fix typos
2023-07-05 14:04:05 +00:00
Deirdre Connolly
404cc361fd
Include the group public key in computing the binding factor ( #410 )
...
* Prelim implementation of including the group public key in computing the binding factor
Needs updated test vectors from the spec PoC and updated tests
* update test vectors
* add integration_test.rs to gencode which we forgot to do before
---------
Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-07-05 13:19:19 +00:00
Conrado Gouvea
b2c605aac1
remove identifiers from structs that are communicated ( #397 )
...
* WIP of removing the identifier in structs that are communicated. Working for SigningCommitments for ristretto255
* removed identifier from SignatureShare
* remove identifiers from DKG packages
* replicate to other ciphersuites; simplify SignatureShare
* update changelog
* fix SignatureShare encoding
2023-07-05 10:39:25 +00:00
Conrado Gouvea
17c98d4412
convert all usages of from/to_bytes() to (de)serialize() ( #426 )
...
* convert all usages of from/to_bytes() to (de)serialize()
* changelog entry
2023-07-03 08:18:19 +00:00
dependabot[bot]
31c6f9eb79
Update curve25519-dalek requirement from =4.0.0-rc.2 to =4.0.0-rc.3 ( #416 )
...
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.2...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-06-30 18:05:20 -03:00
Conrado Gouvea
8531855bd7
implement common traits for public types ( #422 )
2023-06-30 19:15:56 +00:00
Conrado Gouvea
4e134f50d6
allow specifying identifiers in generate_with_dealer ( #419 )
2023-06-30 18:29:26 +00:00
Conrado Gouvea
78b5c44de0
add support for deriving identifiers from arbitary strings ( #418 )
2023-06-30 15:45:46 +00:00
Conrado Gouvea
bed23c3e1d
remove unused dependencies ( #423 )
2023-06-30 13:24:59 +00:00
natalie
ad636e80a5
Release v0.5.0 ( #413 )
...
* Update version numbers to v0.5.0 (#412 )
* Update changelog for release v0.5.0 (#412 )
* Bump frost-core versions to v0.5.0 in ciphersuites (#412 )
2023-06-23 15:38:37 +00:00
Conrado Gouvea
7358b667ca
expand serde tests ( #409 )
...
using samples in serde tests
2023-06-23 14:22:33 +00:00
Conrado Gouvea
c851bbb8fa
Remove pub from fields, add getters ( #401 )
...
* derive getters; remove any existing ones; use BTreeMap for signing commitments
* add recreation tests
* make tests ciphersuite-specific
2023-06-23 14:07:34 +00:00
Conrado Gouvea
47121537e8
Support serde ( #398 )
...
* Implement serde for network messages.
* Make sure marker type implements serde.
* add serde support to all required structs
* use serdect
* gate under serde feature
* ci: add build with default features job
* add serde tests and required changes/fixes
* add support for encoding ciphersuite ID
---------
Co-authored-by: David Craven <david@craven.ch>
2023-06-23 09:58:22 +00:00
Conrado Gouvea
8defd2c058
expose missing structs in ciphersuite crates ( #405 )
...
expose VerifyingShare, NonceCommitment and SignatureResponse in ciphersuite crates
2023-06-22 09:26:56 +00:00
natalie
c03402baa5
Expose signing share in ciphersuite libraries ( #404 )
...
* Add SigningShare to ciphersuite libraries (#403 )
* Update ciphersuite libraries to use own implementation of SigningShare and not generic (#403 )
2023-06-21 16:51:50 +00:00
Conrado Gouvea
30433ce029
expand docs ( #371 )
...
* expand docs
* Apply suggestions from code review
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
* address comments, reflow some paragraphs
* tutorial mostly done
also cleaned up README example for extracting snippets; changed tests for consitency
* docs: add DKG; organize sections; remove stale docs
* run gencode
* Apply suggestions from code review
Co-authored-by: Pili Guerra <mpguerra@users.noreply.github.com>
---------
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
Co-authored-by: Pili Guerra <mpguerra@users.noreply.github.com>
2023-06-21 08:22:45 +00:00