gnark-crypto's `bls12381G2.SetBytes` accepts uncompressed point with compression flag set
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 32/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- go
- 领域
- cryptography
调研方向
从入口点 bls12381G2.SetBytes 开始,使用报告中的 witness bytes 重现该问题。跟踪 compression flag 和 point encoding 的验证方式,然后添加覆盖,说明这个格式错误的输入得到了正确处理。
由索引模型根据 Issue 内容生成。
描述
witness is
f.Add([]byte("\x99\x88U\xbbN\x7f@\xa2\xac\xb93v)\xf8\x11\x05\\(\x16e\xcf\x15\x80S\x12,\xe2:\xebb\x9c\x15z7\xab\xa5)\xb4\xebN\xbdޣ\xf7\x8a\x17\xee\n\x110ա\x90\xcfoP|\xd5\xf4\xa6\xb4\xebPh\xbe\x19\x86\x00E\x04\v\xd4lKU\xa1x;\xcbq֗\\\x902\rؔ\xa2\xff?\xf0\x8a\x9f\xae4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"))
- 主要语言
- Go
- 星标
- 5
- 派生
- 12
- 平均合并
- 12 天 28 分钟
- 30 天内合并 PR
- 1
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
IBM/mathlib 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 64/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 30/100
-
难度 3/5 1-2 天 新手友好度 45/100
相似的 Issue
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 76/100
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 70/100
microsoft/agent-framework-go#1179 ·
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
-
[Bug]: OLLAMA_KEEP_ALIVE="5m" / "24h" crashes Ollama embedding and vision models with ValueError 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
infiniflow/ragflow#20223 · 1 个 reaction ·
-
bug needs triage pkg/translator/faro
难度 2/5 1-3 小时 新手友好度 88/100
open-telemetry/opentelemetry-collector-contrib#51484 · 1 条评论 ·