1-of-N shares are not supported
未关闭
- 主要语言
- Rust
- 星标
- 4
- 派生
- 4
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 9
描述
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?
贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- rust
- 领域
- cryptography
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 65/100