linux-credentials / linux-credentials/credentialsd

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

Aperta
#188 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

ui-consideration
Lingua principale
Rust
Stelle
259
Fork
19
Merge medio
1g 2h
PR unite (30g)
12

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Leggi prima la guida alla UI di WebAuthn per le richieste cross-origin e il commit 88b2e7cc0154a4085d6600d57939b535e94462af, poi traccia la gestione di rp_id, origin e top_origin nel percorso della richiesta. Il lavoro è completato quando i domini registrabili vengono calcolati con la Public Suffix List e le richieste cross-origin mostrano entrambe le identità richieste.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
linux, rust
Ambito
authentication, security
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
50/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.