[webkit-changes] [WebKit/WebKit] 8d4184: [WebAuthn] Handle largeBlob extensions for modern ...

Commit Queue noreply at github.com
Thu Feb 15 11:25:52 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8d4184cfab36ffa0cf87c6fd6913a9703853a003
      https://github.com/WebKit/WebKit/commit/8d4184cfab36ffa0cf87c6fd6913a9703853a003
  Author: Pascoe <pascoe at apple.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M Source/WebCore/Modules/webauthn/AuthenticatorCoordinator.cpp
    M Source/WebKit/UIProcess/WebAuthentication/Cocoa/AuthenticationServicesSoftLink.h
    M Source/WebKit/UIProcess/WebAuthentication/Cocoa/AuthenticationServicesSoftLink.mm
    M Source/WebKit/UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm

  Log Message:
  -----------
  [WebAuthn] Handle largeBlob extensions for modern AS flow
https://bugs.webkit.org/show_bug.cgi?id=269311
rdar://122813058

Reviewed by Brent Fulgham.

We need to handle the largeBlob extension when using the modern AS flow
for WebAuthn. This patch implements that as in the spec located at:
https://www.w3.org/TR/webauthn-2/#sctn-large-blob-extension

* Source/WebCore/Modules/webauthn/AuthenticatorCoordinator.cpp:
(WebCore::AuthenticatorCoordinator::create):
(WebCore::AuthenticatorCoordinator::discoverFromExternalSource):
* Source/WebKit/UIProcess/WebAuthentication/Cocoa/AuthenticationServicesSoftLink.h:
* Source/WebKit/UIProcess/WebAuthentication/Cocoa/AuthenticationServicesSoftLink.mm:
* Source/WebKit/UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm:
(-[_WKASDelegate initWithPage:completionHandler:]):
(-[_WKASDelegate presentationAnchorForAuthorizationController:]):
(WebKit::toASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement):
(WebKit::WebAuthenticatorCoordinatorProxy::requestsForRegisteration):
(WebKit::WebAuthenticatorCoordinatorProxy::requestsForAssertion):
(WebKit::WebAuthenticatorCoordinatorProxy::performRequest):

Canonical link: https://commits.webkit.org/274748@main




More information about the webkit-changes mailing list