linux-credentials / linux-credentials/credentialsd
Show both origin and RP ID in cross-origin contexts.
Nessuno ha ancora preso questa issue.
- 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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- 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