Webauthn attestation should be an explicit choice

Offen
#264 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
linux, rust

Rechercherichtung

The payload names no source files, so start by finding where the Rust code builds the CTAP attestationFormats value and where the attestation preference from the relying party is read. The proposal is to default to ["none"], and to forward the requested formats only when the RP asks for direct attestation and the user has enabled a credentialsd-ui toggle that defaults to off. Done means the default path sends no attestation, and the toggle gates it. The design choice of the UI wording and the approach should be confirmed with maintainers before coding.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Currently if the RP requests attestation and the authenticator supplies it, it's included in the response. Ideally this is something the client explicitly confirms they want. I suggest:

Always default to setting CTAP's attestationFormats = ["none"].

Only if the RP sets attestation = "direct":

  • Show a credentialsd-ui toggle to the user whether they want to include attestation that defaults to off
  • Only if the user enables it, forward the webauthn attestationFormats setting over CTAP.
Vorherrschende Sprache
Rust
Sterne
310
Forks
22
Ø Merge
1 T. 15 Std.
Gemergte PRs (30 T.)
13

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus linux-credentials/credentialsd

Alle Issues in linux-credentials/credentialsd

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.