Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

defines round1 Package struct #47

Merged
merged 10 commits into from
Apr 10, 2024
Merged

defines round1 Package struct #47

merged 10 commits into from
Apr 10, 2024

Conversation

hughy
Copy link
Contributor

@hughy hughy commented Apr 9, 2024

wraps frost-core round1 Package and includes identity, group_secret_key_part, and checksum

  • the identity is the identity of the participant who generated the package.
  • the group_secret_key_part is a 32 byte Sapling key that will be combined with group_secret_key_parts from other participants to generate the group_secret_key (used to derive nsk and ovk).
  • the checksum is computed from the list of signer identities and min_signers that were used in round1.

src/dkg/round1.rs Outdated Show resolved Hide resolved
src/dkg/round1.rs Outdated Show resolved Hide resolved
src/dkg/round1.rs Outdated Show resolved Hide resolved
src/dkg/round1.rs Outdated Show resolved Hide resolved
src/dkg/round1.rs Outdated Show resolved Hide resolved
src/dkg/round1.rs Show resolved Hide resolved
hughy added 7 commits April 10, 2024 09:28
wraps frost-core round1 Package and includes identity, group_secret_key_part,
and checksum

- the identity is the identity of the participant who generated the package.
- the group_secret_key_part is a 32 byte Sapling key that will be combined with
  group_secret_key_parts from other participants to generate the
  group_secret_key (used to derive nsk and ovk).
- the checksum is computed from the list of signer identities and min_signers
  that were used in round1.
helps to ensure that we use the same hasher for checksum implementations
removes FrostPackage alias for Package type from frost-core
updates to take slice of references to Identities instead of slice of structs
@hughy hughy force-pushed the feat/hughy/round1-package-struct branch from 9df9400 to 9a3b041 Compare April 10, 2024 16:49
uses our PublicPackage struct instead of the Package struct from frost-core
@hughy hughy force-pushed the feat/hughy/round1-package-struct branch from 9a3b041 to b57afbc Compare April 10, 2024 16:51
src/dkg/round1.rs Outdated Show resolved Hide resolved
src/dkg/round1.rs Outdated Show resolved Hide resolved
@hughy hughy merged commit 1f9efb2 into main Apr 10, 2024
2 checks passed
@hughy hughy deleted the feat/hughy/round1-package-struct branch April 10, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants