Commit Graph

332 Commits

Author SHA1 Message Date
Conrado Gouvea ac7715fe94
organize projects (#520)
* moved everything; compiling and tests passing

* move main CLI code into frost_client::cli module

* fix redundant trusted_dealer module

* move Cipher to frost-client

* move types to frost-client api module

* moved SessionStates to a session module

* restore old tests; add old binaries; updated READMEs
2025-06-03 17:42:21 +01:00
dependabot[bot] a22235fb8d
build(deps): bump ring from 0.17.9 to 0.17.14 (#524)
Bumps [ring](https://github.com/briansmith/ring) from 0.17.9 to 0.17.14.
- [Changelog](https://github.com/briansmith/ring/blob/main/RELEASES.md)
- [Commits](https://github.com/briansmith/ring/commits)

---
updated-dependencies:
- dependency-name: ring
  dependency-version: 0.17.14
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-12 10:55:20 -03:00
Conrado Gouvea 1609ac7394
frostd: simplify with the new get_mut from HashMapDelay (#519) 2025-04-24 11:06:26 +01:00
Conrado Gouvea a71ace3dcb all: improve HTTP error handling (#517) 2025-04-23 11:05:22 -03:00
Conrado Gouvea 2e6ea36780 participant, coordinator: renames for clarity 2025-04-23 11:05:22 -03:00
Conrado Gouvea 63803066bb
frost-client: fix DKG with 2 participants (#497) 2025-04-14 16:37:59 -03:00
dependabot[bot] 3e50d46c16
build(deps): bump delay_map from 0.4.0 to 0.4.1 (#510)
Bumps [delay_map](https://github.com/agemanning/delay_map) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/agemanning/delay_map/releases)
- [Commits](https://github.com/agemanning/delay_map/commits)

---
updated-dependencies:
- dependency-name: delay_map
  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-04-10 19:47:51 -03:00
Conrado Gouvea 9321352acd
all: refactor encryption code into separate module (#496) 2025-04-07 20:10:51 -03:00
Conrado Gouvea 827a04a86b
all: best-effort at zeroization of secrets (#482) 2025-04-07 19:31:16 -03:00
Conrado Gouvea cb574349e6
frost-client: add trusted-dealer warnings (#486)
* frost-client: add trusted-dealer warnings

* Apply suggestions from code review

Co-authored-by: natalie <n.l.eskinazi@gmail.com>

---------

Co-authored-by: natalie <n.l.eskinazi@gmail.com>
2025-03-18 11:35:19 +00:00
Conrado Gouvea 0fb75ec943
frost-client: check if number of randomizers match number of messages (#492) 2025-03-17 10:58:28 -03:00
Conrado Gouvea 6622bde3dd
frostd, dkg, coordinator: check msg size; cleanup on error (#493) 2025-03-17 13:36:21 +00:00
Conrado Gouvea e6889627d9
frostd: validate sender and recipient in send and receive (#485) 2025-03-17 13:22:29 +00:00
Conrado Gouvea 95c3f8cfc6
use PublicKey type throughout the workspace (#495) 2025-03-11 14:26:05 +00:00
Conrado Gouvea 3fbcd5b0f3
frost-client: add warning about unencrypted contents (#494) 2025-03-11 14:19:14 +00:00
Conrado Gouvea 9965591a83
frost-client: add message confirmation step to Comms trait (#491)
* frost-client: add message confirmation step to Comms trait

* actually call the new comms method
2025-02-27 13:41:00 +00:00
Conrado Gouvea 0cfe7692b3
frost-client: don't allow overwriting contacts (#483)
* frost-client: don't allow overwriting contacts

* also block importing contact with your own pubkey
2025-02-24 10:44:53 +00:00
Conrado Gouvea df39100dd0
all: update and clean up dependencies (#469) 2025-02-20 13:21:00 +00:00
Conrado Gouvea 6f50c2593b
all: run cargo autoinherit to simplify dependency management (#468) 2025-02-20 10:53:37 +00:00
Conrado Gouvea f4d53a536e
frost-client: show message to gather consent; overall printing clean up (#467) 2025-02-12 16:12:47 +00:00
Conrado Gouvea c8e72100e8
dkg: fix port handling (#466) 2025-02-11 17:55:33 +00:00
Conrado Gouvea e65f4b72bd
frostd: update axum crates (#451)
* build(deps): bump axum-extra from 0.9.6 to 0.10.0

Bumps [axum-extra](https://github.com/tokio-rs/axum) from 0.9.6 to 0.10.0.
- [Release notes](https://github.com/tokio-rs/axum/releases)
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/axum/compare/axum-extra-v0.9.6...axum-extra-v0.10.0)

---
updated-dependencies:
- dependency-name: axum-extra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* frostd: update axum crates

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-11 17:21:47 +00:00
Conrado Gouvea 15de91d85e
all: remove unused dependencies (#452) 2025-02-11 15:47:13 +00:00
Alexey 3613c1b70a
Fix max_signers retrieval in CLIComms (#463) 2025-02-10 17:03:50 -03:00
dependabot[bot] 548a8a7329
build(deps): bump tempfile from 3.14.0 to 3.16.0 (#448)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.14.0 to 3.16.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.14.0...v3.16.0)

---
updated-dependencies:
- dependency-name: tempfile
  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 19:41:55 -03:00
dependabot[bot] 76a13d712d
build(deps): bump serde_json from 1.0.134 to 1.0.138 (#447)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.134 to 1.0.138.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.134...v1.0.138)

---
updated-dependencies:
- dependency-name: serde_json
  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-30 19:39:56 -03:00
dependabot[bot] ebf2b6462e
build(deps): bump codecov/codecov-action from 5.1.2 to 5.3.1 (#445)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.1.2 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.1.2...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 19:38:38 -03:00
dependabot[bot] 5761b5e39b
build(deps): bump message-io from 0.18.2 to 0.18.3 (#430)
Bumps [message-io](https://github.com/lemunozm/message-io) from 0.18.2 to 0.18.3.
- [Changelog](https://github.com/lemunozm/message-io/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lemunozm/message-io/compare/v0.18.2...v0.18.3)

---
updated-dependencies:
- dependency-name: message-io
  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-30 17:12:48 -03:00
dependabot[bot] f4a32f0d32
build(deps): bump thiserror from 2.0.9 to 2.0.11 (#444)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 2.0.9 to 2.0.11.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.9...2.0.11)

---
updated-dependencies:
- dependency-name: thiserror
  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-30 17:12:13 -03:00
dependabot[bot] 9f2edaad1b
build(deps): bump reviewdog/action-actionlint from 1.60.0 to 1.64.1 (#439)
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.60.0 to 1.64.1.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases)
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.60.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-30 14:25:35 -03:00
dependabot[bot] 30ad499d40
build(deps): bump async-trait from 0.1.83 to 0.1.85 (#427)
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.83 to 0.1.85.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.83...0.1.85)

---
updated-dependencies:
- dependency-name: async-trait
  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-30 14:24:04 -03:00
dependabot[bot] 4814fe17bd
build(deps): bump serdect from 0.2.0 to 0.3.0 (#425)
Bumps [serdect](https://github.com/RustCrypto/formats) from 0.2.0 to 0.3.0.
- [Commits](https://github.com/RustCrypto/formats/compare/serdect/v0.2.0...serdect/v0.3.0)

---
updated-dependencies:
- dependency-name: serdect
  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 14:23:25 -03:00
dependabot[bot] e99cb84137
build(deps): bump axum-macros from 0.4.2 to 0.5.0 (#420)
Bumps [axum-macros](https://github.com/tokio-rs/axum) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/tokio-rs/axum/releases)
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/axum/compare/axum-macros-v0.4.2...axum-macros-v0.5.0)

---
updated-dependencies:
- dependency-name: axum-macros
  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 14:15:49 -03:00
dependabot[bot] 456f093200
build(deps): bump itertools from 0.13.0 to 0.14.0 (#418)
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.13.0 to 0.14.0.
- [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
  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 14:14:12 -03:00
dependabot[bot] 95cb11d453
build(deps): bump serde from 1.0.216 to 1.0.217 (#416)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.216 to 1.0.217.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.216...v1.0.217)

---
updated-dependencies:
- dependency-name: serde
  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-30 14:12:29 -03:00
Conrado Gouvea 3111729fab
frost-client: fix port handling (#450) 2025-01-30 11:27:07 +00:00
Conrado Gouvea d701d3069c
zcash-sign: update with recent ECC crates (#441) 2025-01-29 20:31:44 +00:00
Conrado Gouvea 18cca5eade
zcash-sign: fix name of binary (#438) 2025-01-29 16:14:41 +00:00
Conrado Gouvea 9f92ab7f72
frost-client: add broadcast channel to DKG (#434)
* frost-client: add broadcast channel to DKG

* fix issue that breaks test_http in macos

* check if broadcast package is correct upon receipt
2025-01-29 15:51:38 +00:00
Pili Guerra 2a0eea1de9
Update dependabot.yml (#446)
Change schedule and remove reviewers/assignees
2025-01-28 11:50:15 -03:00
dependabot[bot] 28f1f08f21
build(deps): bump rcgen from 0.13.1 to 0.13.2 (#415)
Bumps [rcgen](https://github.com/rustls/rcgen) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/rustls/rcgen/releases)
- [Commits](https://github.com/rustls/rcgen/compare/v0.13.1...v0.13.2)

---
updated-dependencies:
- dependency-name: rcgen
  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-23 21:59:53 -03:00
Conrado Gouvea c2eb29a775
frost-client: fix error if there is no self contact (#437) 2025-01-22 16:15:23 +00:00
Conrado Gouvea 65efddda6a
coordinator, participant: don't send identifier; get it from channel authentication (#431)
* coordinator, participant: don't send identifier; get it from channel authentication

* fix test
2025-01-22 15:28:38 +00:00
Conrado Gouvea ef37c44249
frost-client, dkg: add support for DKG with server (#423)
* frost-client, dkg: add support for DKG with server

* comment out test for now
2025-01-15 18:00:14 +00:00
Conrado Gouvea 54537baf34
frostd: rename from 'server' (#414) 2024-12-27 14:44:15 +00:00
dependabot[bot] 1b1dada352
build(deps): bump thiserror from 2.0.4 to 2.0.9 (#412)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 2.0.4 to 2.0.9.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.4...2.0.9)

---
updated-dependencies:
- dependency-name: thiserror
  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>
2024-12-26 19:18:15 -03:00
dependabot[bot] c1f6168d59
build(deps): bump serde from 1.0.215 to 1.0.216 (#405)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.215 to 1.0.216.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.215...v1.0.216)

---
updated-dependencies:
- dependency-name: serde
  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>
2024-12-26 19:18:06 -03:00
dependabot[bot] 9926361dd9
build(deps): bump axum-test from 16.4.0 to 16.4.1 (#409)
Bumps [axum-test](https://github.com/JosephLenton/axum-test) from 16.4.0 to 16.4.1.
- [Commits](https://github.com/JosephLenton/axum-test/commits)

---
updated-dependencies:
- dependency-name: axum-test
  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>
2024-12-26 19:17:59 -03:00
dependabot[bot] bc1f42916a
build(deps): bump serde_json from 1.0.133 to 1.0.134 (#413)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.133 to 1.0.134.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.133...v1.0.134)

---
updated-dependencies:
- dependency-name: serde_json
  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>
2024-12-26 19:17:50 -03:00
dependabot[bot] af56d4bf1e
build(deps): bump codecov/codecov-action from 5.1.1 to 5.1.2 (#411)
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>
2024-12-26 19:05:24 -03:00