Display the full authorization tree before signing auth entries
维护者通常 1 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 82/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- rust
- 领域
- authentication, cli
调研方向
从 signer/validation.rs 开始,跟踪严格的授权签名路径,然后检查 log/auth.rs 中的递归格式化器。执行 CLI 签名流程,并验证在严格路径上,完整的根调用和子调用树会在签名之前完成渲染,同时不要改变签名行为或添加阻塞式确认。
由索引模型根据 Issue 内容生成。
描述
When a Soroban authorization entry's root invocation matches the invoked host function, the CLI classifies it as strict (signer/validation.rs) and signs it without printing anything. The tree is only rendered on the non-strict path or under --auto-sign. On the common path a user never sees the exact tree their key signs, even though the signature covers the entire tree including sub-invocations.
We should render the full authorization tree (root + sub-invocations) before signing so the signed content is always visible. The formatter in log/auth.rs already walks sub-invocations recursively, so this is mostly wiring it into the strict path.
Scope this as display-only (non-blocking) so signing behavior is unchanged — confirmation-by-default is tracked separately.
- 主要语言
- Rust
- 星标
- 129
- 派生
- 151
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 25
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stellar/stellar-cli 的其他 Issue
-
arg_value_union panics on zero-arity union tuple case (unchecked type_[0] index)可能已有人在做 @hvoi 于 4 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 72/100
stellar/stellar-cli#2806 · 1 条评论 ·
维护者通常 1 天内回复
-
contract extend panics on single-change resultMetaXdr (index out of bounds at extend.rs:306)可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 1/5 1 小时以内 新手友好度 90/100
stellar/stellar-cli#2796 ·
维护者通常 1 天内回复
-
Document stellar-cli's RPC trust boundary可能已有人在做 @jdjioe5-cpu 于 3 天前认领。 未关闭
难度 1/5 1-3 小时 新手友好度 85/100
stellar/stellar-cli#2781 ·
维护者通常 1 天内回复
-
`tx update sequence-number next` fails when the transaction source is a muxed account可能已有人在做 @jdjioe5-cpu 于 3 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 76/100
stellar/stellar-cli#2774 ·
维护者通常 1 天内回复
-
`tx edit` fails on transaction XDR that is wrapped across multiple lines可能已有人在做 @mangod12 于 7 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
stellar/stellar-cli#2773 ·
维护者通常 1 天内回复
查看 stellar/stellar-cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复
-
C-bug needs-triage O-UEFI T-libs
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug priority: P3 ready-for-agent
难度 2/5 1-3 小时 新手友好度 82/100
shep-pm/shep-kelpie#1332 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 65/100
ramensoftware/windhawk#1156 · 2 条评论 ·
-
area/cli complexity:trivial good first issue Stellar Wave test
难度 2/5 1-3 小时 新手友好度 68/100
Externalize-Labs/externalize#23 ·
维护者通常 1 天内回复