commit | 8c97189a71e37a7292b5a543333af65341cc3457 | [log] [tgz] |
---|---|---|
author | Martin Kreichgauer <martinkr@google.com> | Mon Jan 10 20:31:43 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 10 20:31:43 2022 |
tree | 62a18b9e659d082d29503dbf0fd139f524797308 | |
parent | ba7ecff635bde947ca500fb93d418995e11e71c7 [diff] |
extensions: add WebAuthn registration proxying to webAuthenticationProxy This adds an onCreateRequest event and completeCreateRequest method to the webAuthenticationProxy extensions API. While running with an attached webAuthenticationProxy extension, WebAuthn navigator.credentials.create() calls raise a onCreateRequest event to that extension. The event contains a JSON-serialized representation of the PublicKeyCredentialCreationOptions passed to the WebAuthn API call. The extension calls completeCreateRequest() to inject a JSON-serialized representation of the PublicKeyCredential, which Chrome returns to the calling site. For JSON serialization, all ArrayBuffer-valued fields are replaced with base64url-encoded DOMStrings. We plan to provide compatible counterpart parsing/serilization methods as part of WebAuthn. Bug: 1231802 Change-Id: If727a98154bf3d72bc77d4ef1edcc834a47709f3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3311658 Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org> Reviewed-by: Adam Langley <agl@chromium.org> Reviewed-by: Charles Reis <creis@chromium.org> Commit-Queue: Martin Kreichgauer <martinkr@google.com> Auto-Submit: Martin Kreichgauer <martinkr@google.com> Cr-Commit-Position: refs/heads/main@{#957177}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.