-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
Pascoe
committed
Feb 15, 2024
1 parent
273218f
commit 8d4184c
Showing
4 changed files
with
58 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You don't need to null-initialize RefPtrs