1-of-N shares are not supported
- Dominant language
- Rust
- Stars
- 4
- Forks
- 4
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 9
Description
I think this was implicitly acknowledged in #10, but one cannot create 1/2 or 1/3 etc because it ends with a zero share identify (or whatever the phrasing is).
Is this a known constraint, i.e. `1` of `N` shares are explicitly disallowed, and `1` of `1` was added as an exception? Or is this a bug?
Contributor guide
Research direction
Look at the code handling share creation, likely in a module like dkg.rs or share.rs. The issue mentions #10 for context. Check the validation logic for share identities, especially around zero values. Run existing tests related to share creation to see if 1-of-N cases are covered. The fix will involve adjusting the validation to allow 1-of-N shares while maintaining security properties.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cryptography
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100