Show both origin and RP ID in cross-origin contexts.

未关闭
#188 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

@kpanuragh 已经在做这个了。

开始于 2026年11月8日。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
50/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
linux, rust

调研方向

首先阅读 WebAuthn 的跨源 UI 指南和提交 88b2e7cc0154a4085d6600d57939b535e94462af,然后跟踪请求路径中对 rp_id、origin 和 top_origin 的处理。完成的标准是使用 Public Suffix List 计算可注册域名,并且跨源请求显示两个必需的身份。

由索引模型根据 Issue 内容生成。

描述

ui-consideration

In cross-origin contexts, it is important to show the user both the RP and the origin they are visiting.

We should follow the WebAuthn advice about cross-origin UI, namely:

  • calculate the registrable domain of the origin's hostname using Public Suffix List.
  • For WebAuthn requests, if rp_id does not match origin, then send both origin's domain and the RP ID
  • For WebAuthn requests (or protocols that do not have an RP ID equivalent), then if top_origin is set on the request, send both origin and top origin and display them accordingly.

Cf. 88b2e7cc0154a4085d6600d57939b535e94462af.

主要语言
Rust
星标
310
派生
22
平均合并
1 天 15 小时
30 天内合并 PR
13

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

linux-credentials/credentialsd 的其他 Issue

查看 linux-credentials/credentialsd 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。