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