Return basic authenticator information on connect

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

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
api

Direzione di ricerca

Start from how getInfo responses are parsed and where authenticator metadata is stored, then look at the Device and Channel traits to see what is already exposed to clients. Decide which values (aaguid, minPinLength, maxPinLength) belong in the basic authenticator info and whether transports and preferredPlatformUvAttempts need abstraction first. Done means clients can read the agreed fields after connecting, with tests covering parsing and trait exposure.

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

Descrizione

We should allow clients to get info about client devices when they are connected.

I don't think most of getInfo's values are useful to expose at this layer, but some that might be helpful for the UI:

  • aaguid (for looking up display name)
  • minPinLength (for example, to disable submit PIN button until the min pin length is met, prevents burning PIN attempts on a typo)
  • maxPinLength (to warn the user that it's too long when they type too much)

These are also useful, but might be better if we abstract over them in libwebauthn:

  • transports (for the platform to prefer smart-card over USB when possible, for post-quantum purposes)
  • preferredPlatformUvAttempts

Exposing those in the Device or Channel traits might be useful.

Lingua principale
Rust
Stelle
602
Fork
33
Merge medio
1g 13h
PR unite (30g)
9

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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.

Altre issue di linux-credentials/libwebauthn

Tutte le issue di linux-credentials/libwebauthn

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.