-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add backup flags to virtual authenticator #1999
Add backup flags to virtual authenticator #1999
Conversation
Allow setting and changing the backup eligibility (BE) and backup state (BS) flags through the virtual authenticator API. Fixed: w3c#1987
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for taking this on, @nsatragno, this looks great!
The only thing I could think to suggest is that we call it defaultBackupEligible
and backupEligible
over ...Eligibility
, but looking at the current state of the spec right now we seem to use "eligibility" more often than "eligible" so I don't think I have a strong case here:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the new Set Credential Properties be able to set extensions
and uvm
too?
emlun's suggestion to change the `it` to be explicit. Co-authored-by: Emil Lundberg <emil@emlun.se>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
+@pascoej for review from webkit. |
Allow webauthn's virtual authenticator to to set default and per credential backup eligibility (BE) and backup state (BS) flags. Expose this through the devtools API. Defaults can be set per authenticator using VirtualFidoDevice::State. This sets the flags for both credentials created by executing the CTAP make credential command, and credentials injected through State's Inject* functions. A future CL will expose this through webdriver. See w3c/webauthn#1999 Bug: 1504858 Change-Id: Ic53570f9acb2e10396161472bbccc8c39fefa759 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5054633 Reviewed-by: Ken Buchanan <kenrb@chromium.org> Reviewed-by: Andrey Kosyakov <caseq@chromium.org> Commit-Queue: Nina Satragno <nsatragno@chromium.org> Cr-Commit-Position: refs/heads/main@{#1231469}
SHA: cf35363 Reason: push, by nsatragno Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Allow setting and changing the backup eligibility (BE) and backup state (BS) flags through the virtual authenticator API.
Fixed: #1987
Preview | Diff