`check_origin_from_privileged_client` incorrectly rejects `http://localhost`
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- rust
调研方向
阅读链接修订版中第 403–404 行附近的 credentialsd/src/gateway/mod.rs,并将 check_origin_from_privileged_client 的 scheme 检查与 issue 中引用的 WebAuthn 规则进行比较。允许 http://localhost 情况,同时对其他主机保留 HTTPS 要求。完成标准是:特权客户端的 origin 检查接受 HTTP localhost,并继续拒绝其他非 HTTPS origin。
由索引模型根据 Issue 内容生成。
描述
check_origin_from_privileged_client rejects all non-HTTPS origins from privileged clients:
Per WebAuthn-3 §4, "RP ID", this must allow http://localhost as well (emphasis mine):
An RP ID is based on a host’s domain name. It does not itself include a scheme or port, as an origin does. The RP ID of a public key credential determines its scope. I.e., it determines the set of origins on which the public key credential may be exercised, as follows:
- The RP ID must be equal to the origin’s effective domain, or a registrable domain suffix of the origin’s effective domain.
- One of the following must be true:
- The origin’s port is unrestricted.
- 主要语言
- Rust
- 星标
- 310
- 派生
- 22
- 平均合并
- 1 天 15 小时
- 30 天内合并 PR
- 13
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
linux-credentials/credentialsd 的其他 Issue
-
documentation good first issue help wanted
难度 2/5 半天 新手友好度 62/100
linux-credentials/credentialsd#87 · 2 条评论 ·
维护者通常 2 天内回复
-
`check_origin_from_privileged_client` drops browser signalling intermediate cross-origin iframes未关闭
难度 3/5 1-2 天 新手友好度 57/100
linux-credentials/credentialsd#276 ·
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 52/100
linux-credentials/credentialsd#275 · 3 条评论 ·
维护者通常 2 天内回复
-
Cancel request when client disconnects可能已有人在做 @kpanuragh 今天认领。 未关闭
难度 4/5 3-5 天 新手友好度 48/100
linux-credentials/credentialsd#274 ·
维护者通常 2 天内回复
-
Produce .deb packages可能已有人在做 @kpanuragh 于 6 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 38/100
linux-credentials/credentialsd#268 · 2 条评论 · 1 个 reaction ·
维护者通常 2 天内回复
查看 linux-credentials/credentialsd 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
-
needs triage
难度 2/5 1-3 小时 新手友好度 76/100
pbakaus/impeccable#1620 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
swc-project/swc-next-issues#533 ·
-
bug
难度 2/5 1-3 小时 新手友好度 77/100
nautechsystems/nautilus_trader#5718 ·
维护者通常 1 天内回复
-
`luvus --remote` cannot start on a host whose login shell is Nushell可能已有人在做 @schlich 今天认领。 未关闭status: needs triage
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 4 天内回复