Return basic authenticator information on connect

Đang mở
#327 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
api

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
602
Fork
33
Merge trung bình
1 ngày 13 giờ
Pull request đã merge (30 ngày)
9

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của linux-credentials/libwebauthn

Tất cả issue của linux-credentials/libwebauthn

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.