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

オープン
#188 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

@kpanuragh がすでに取り組んでいます。

2026年11月8日 から。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
50/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
linux, rust

調査の方向性

まず WebAuthn の cross-origin UI ガイダンスとコミット 88b2e7cc0154a4085d6600d57939b535e94462af を確認し、その後、リクエストパスにおける rp_id、origin、top_origin の処理を追跡します。Public Suffix List を使って登録可能なドメインが計算され、cross-origin リクエストに必要な両方の識別情報が表示されれば完了です。

索引モデルが 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時間
マージ済み PR(30日)
13

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linux-credentials/credentialsd のほかの issue

linux-credentials/credentialsd の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。