StackOverflowExcept1on
78c70b4bea
chore(frost-core): import `String` from `alloc` ( #899 )
2025-06-05 21:15:47 +00:00
Conrado Gouvea
a8c8b6d197
clippy fixes ( #889 )
2025-04-24 10:11:14 +00:00
Conrado Gouvea
d7cd2a2991
docs: add warning about encrypted channel for DKG ( #888 )
2025-04-14 10:36:59 +00:00
shigeyuki azuchi
ca1c98c99b
Add tests for all test vectors in DKG ( #875 )
...
* Modify DKG key generation test to include additional testing of all participant data
* Fix wrong signing share
* Fix wrong proof of knowledge and add missing data for participant 2,3
* Fix format
2025-04-11 15:23:03 +00:00
crStiv
2a6673fdf5
docs: Add network topologies section with diagrams ( #883 )
...
* Update frost.md
* Update SUMMARY.md
* Update frost.md
2025-04-10 13:33:37 +00:00
StackOverflowExcept1on
aed1ea885c
feat(frost-core): add (de)serialization for `VerifiableSecretSharingSharingSharingCommitment` ( #878 )
...
* feat(frost-core): add (de)serialization for `VerifiableSecretSharingSharingSharingCommitment`
* Update frost-core/src/keys.rs
Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
* Update frost-core/src/keys.rs
Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
* add tests
* fix doc
---------
Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2025-02-24 13:57:22 +00:00
StackOverflowExcept1on
fc87f59cc0
chore(deps): improve organization of workspace (root Cargo.toml) ( #874 )
2025-02-17 14:10:41 +00:00
StackOverflowExcept1on
64a4be6c6d
chore(ci): update some github action dependencies ( #873 )
2025-02-17 13:49:09 +00:00
Conrado Gouvea
f862ef18f1
update release checklist; misc cleanups ( #843 )
...
* update release checklist; misc cleanups
* remove links to versions
* add semver-checks; change numbered items to nonnumbered
2025-02-11 17:26:10 +00:00
Conrado Gouvea
543e6f446a
all: use OsRng instead of thread_rng() ( #861 )
2025-02-11 16:07:35 +00:00
shigeyuki azuchi
4d3d8822f8
Fix typo ( #866 )
2025-02-07 14:09:51 +00:00
Conrado Gouvea
464cc05000
book: add FROST Server section ( #811 )
...
* book: add FROST Server section
* book: update Ywallet demo section
* fill TODOs
* Apply suggestions from code review
Co-authored-by: natalie <n.l.eskinazi@gmail.com>
* Apply suggestions from code review
---------
Co-authored-by: natalie <n.l.eskinazi@gmail.com>
2025-02-04 20:41:50 +00:00
XxAlex74xX
602157a6fd
docs: correction comments ( #860 )
...
* Update repairable.rs
* Update refresh.rs
* Update repairable.rs
* Update lib.rs
2025-02-04 09:36:28 +00:00
Antoine Rondelet
1d41c21675
Fixing a small typo ( #863 )
2025-02-04 09:36:25 +00:00
dependabot[bot]
703559343f
build(deps): bump codecov/codecov-action from 5.2.0 to 5.3.1 ( #851 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.2.0 to 5.3.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/v5.2.0...v5.3.1 )
---
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>
2025-01-30 23:25:13 +00:00
Skylar Ray
121a11650b
fix errors ( #858 )
...
* Update release-checklist.md
* Update dkg.rs
2025-01-30 14:32:53 +00:00
Pili Guerra
1f8e0e90dc
Update dependabot.yml ( #856 )
...
Change to monthly schedule
2025-01-28 14:54:49 +00:00
dependabot[bot]
2a7f8aece2
build(deps): bump codecov/codecov-action from 5.1.2 to 5.2.0 ( #848 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.1.2 to 5.2.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/v5.1.2...v5.2.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>
2025-01-24 00:58:21 +00:00
dependabot[bot]
d92fc2bed6
build(deps): bump reviewdog/action-actionlint from 1.63.0 to 1.64.1 ( #846 )
...
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint ) from 1.63.0 to 1.64.1.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases )
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.63.0...v1.64.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>
2025-01-24 00:58:18 +00:00
Pili Guerra
b56839d1dc
doc: Refreshing shares is now implemented for DKG ( #847 )
...
Refreshing shares is now implemented for DKG
2025-01-22 17:16:11 +00:00
Conrado Gouvea
94dba95d8e
frost-core: fix visibility of coefficients() ( #842 )
2025-01-15 15:10:33 +00:00
Conrado Gouvea
f7dcad9c0b
Release 2.1.0 ( #836 )
2025-01-15 14:30:46 +00:00
natalie
1a3578bea0
Add refreshing shares image for book ( #710 )
...
* Add refreshing shares image for book
* Updated refresh_share with trusted dealer tutorial diagram
2025-01-15 14:09:58 +00:00
Conrado Gouvea
a879360a1b
all: fix issues related to features ( #835 )
2025-01-15 14:09:53 +00:00
Conrado Gouvea
80d53f2569
all: make DKG SecretPackages serializable ( #833 )
2025-01-15 14:02:41 +00:00
root
3143a26dee
fix typos in documentation files ( #837 )
...
fix typos
2025-01-15 11:38:37 +00:00
Conrado Gouvea
7afd19fbdd
frost-core: remove unneeded code ( #831 )
2025-01-15 11:38:35 +00:00
dependabot[bot]
595ee333c3
build(deps): bump reviewdog/action-actionlint from 1.60.0 to 1.63.0 ( #829 )
...
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint ) from 1.60.0 to 1.63.0.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases )
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.60.0...v1.63.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>
2025-01-14 14:57:47 +00:00
dependabot[bot]
2fa0238659
build(deps): update itertools requirement from 0.13.0 to 0.14.0 ( #824 )
...
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.13.0...v0.14.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>
2025-01-13 19:55:07 -03:00
dependabot[bot]
ba4ec4f3ac
build(deps): bump codecov/codecov-action from 5.1.1 to 5.1.2 ( #816 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.1.1 to 5.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/v5.1.1...v5.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>
2025-01-13 19:52:33 -03:00
Armin Sabouri
39b61ec9da
fix(frost-secp256k1-tr): empty merkle root tweak should still hash the x-only pk ( #815 )
...
Per BIP-341 if there is no script paths the internal key should still be
tapTweak'd by tG where t = TaggedHash(P_x). Before this commit the
internal key and the taproot output key are the same if no script paths
are used. This is because the tweak is the 0 scalar value so Q = P + tG
= P.
It is worth noting that Bitcoin's consensus would still accept a
non-taptweak'd internal key as it verifies a signature against whatever
pk is used in the witness program. So the outputs are still spendable, however it deviates from the spec.
2024-12-30 13:30:48 +00:00
Conrado Gouvea
fa5c842aeb
ci: fail on doc warnings ( #809 )
2024-12-27 21:32:54 +00:00
Dimitris Apostolou
db78886997
Fix typos ( #819 )
2024-12-26 18:43:54 +00:00
StackOverflowExcept1on
061d1cb203
fix(frost-secp256k1-tr): add missing `pub mod refresh` and missing test ( #806 )
2024-12-11 19:50:54 +00:00
natalie
dee685d596
Refresh Shares with DKG ( #766 )
...
* Refresh shares with DKG (#663 )
* Add verification step for round2_packages for refreshing shares with DKG (#663 )
* Clean up clippy issues for correct indexing with refreshing shares with DKG (#663 )
* Import refresh tests for all ciphersuites (#663 )
* Fix formatting (#663 )
2024-12-11 08:57:49 +00:00
Conrado Gouvea
d6c9f73140
core: prevent creating a zero identifier with deserialization ( #797 )
...
* core: prevent creating a zero identifier with deserialization
* move test to file which is not copied to other ciphersuites
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-12-10 14:16:41 +00:00
mergify[bot]
7685ff301c
ci(mergify): upgrade configuration to current format ( #794 )
...
Co-authored-by: Mergify <37929162+mergify[bot]@users.noreply.github.com>
2024-12-10 13:55:37 +00:00
dependabot[bot]
e5fdcf159d
build(deps): bump codecov/codecov-action from 4.5.0 to 5.1.1 ( #801 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.5.0 to 5.1.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/v4.5.0...v5.1.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-12-09 17:24:33 +00:00
dependabot[bot]
670cd1c5de
build(deps): bump reviewdog/action-actionlint from 1.57.0 to 1.60.0 ( #800 )
...
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint ) from 1.57.0 to 1.60.0.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases )
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.57.0...v1.60.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-12-09 17:24:00 +00:00
Conrado Gouvea
f8dcc21f72
clippy fixes ( #798 )
2024-12-03 11:09:37 +00:00
futreall
3100f8f25e
Explanation of the Importance of Correcting These Errors ( #791 )
...
* Update technical-details.md
* Update technical-details.md
* Update technical-details.md
* revert changes to last line in doc
* Revert "revert changes to last line in doc"
This reverts commit 4af66d6bce
.
* second attempt at reverting changes to last line
---------
Co-authored-by: Pili Guerra <pili@piliguerra.com>
2024-11-28 08:48:17 +00:00
Conrado Gouvea
908289db90
secp256k1-tr: fix no-std support ( #782 )
...
* secp256k1-tr: fix no-std support
* apply recent secp256k1 changes
2024-11-25 15:27:51 +00:00
Dmitry
102320bef7
Typo fix Update importing.md ( #788 )
...
Fix Typographical Error in "Importing and General Information" Section
2024-11-22 09:36:58 +00:00
dependabot[bot]
5abeb8411c
build(deps): update thiserror requirement from 1.0.29 to 2.0.3 ( #771 )
...
Updates the requirements on [thiserror](https://github.com/dtolnay/thiserror ) to permit the latest version.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.29...2.0.3 )
---
updated-dependencies:
- dependency-name: thiserror
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-11-20 15:31:32 +00:00
Conrado Gouvea
95e1641381
secp256k1-tr: fix hashes_to_scalar to avoid panics ( #777 )
2024-11-20 15:05:50 +00:00
dependabot[bot]
682ab50dfb
build(deps): bump actions/checkout from 4.1.7 to 4.2.2 ( #760 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.7 to 4.2.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/v4.1.7...v4.2.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>
2024-11-19 15:10:05 +00:00
dependabot[bot]
6c452a245c
build(deps): bump reviewdog/action-actionlint from 1.54.0 to 1.57.0 ( #739 )
...
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint ) from 1.54.0 to 1.57.0.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases )
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.54.0...v1.57.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-11-19 13:54:44 +00:00
StackOverflowExcept1on
cf6b0c0691
docs: add secp256k1-tr to changelog and book ( #776 )
2024-11-19 13:20:35 +00:00
leopardracer
94c00422d0
fix: typos in documentation files ( #774 )
...
* Update dkg.md
* Update dkg.md
* Update dkg.md
2024-11-19 09:28:25 +00:00
conduition
c88fadde8e
Add frost-secp256k1-tr crate (BIP340/BIP341) [moved] ( #730 )
...
* modify frost-core traits to enable taproot compatibility
This commit contains changes to the frost-core crate which
allow ciphersuites to better customize how signatures are computed.
This will enable taproot support without requiring major changes
to existing frost ciphersuites.
Co-authored by @zebra-lucky and @mimoo
This work sponsored by dlcbtc.com and lightspark.com
* add frost-secp256k1-tr crate and ciphersuite
Co-authored by @zebra-lucky and @mimoo
This work sponsored by dlcbtc.com and lightspark.com
* test coverage for taproot crate
Co-authored by @zebra-lucky and @mimoo
This work sponsored by dlcbtc.com and lightspark.com
* clippy fixes
* tweak DKG output to avoid rogue taproot tweaks
* add interoperability tests
* cleanup taproot implementation to minimize impact in frost_core
* Update PoK test vector to use nonce which generates an even-parity point
Uses r = e99ae2676eab512a3572c7b7655d633642a717250af57a7e0ccd5f9618b69f3f
* BIP341 key package tweaks shouldn't cause key negation
* prune the Context type, instead negate signature.R before verifying
With a couple of small adjustments to the code, we can remove the
need for this extra associated type on the Ciphersuite crate. Accepting
signature with odd-parity nonce values is OK, because BIP340 discard
the nonce parity bit anyway.
* proper TapTweak point-addition operates on even internal key representation
Thanks to @conradoplg for spotting this. The internal key is supposed
to be represented as an even-parity point when adding the TapTweak
point t*G. I added a regression test to ensure the tweaked verifying
key and its parity match the BIP341 spec.
* clippy test fixes
* fix no-std issues and warnings
---------
Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2024-11-14 13:50:18 +00:00