Title: [285537] trunk/Source/WebKit
Revision
285537
Author
[email protected]
Date
2021-11-09 15:02:32 -0800 (Tue, 09 Nov 2021)

Log Message

[WebAuthn] User handle is not saved on create via ASC
https://bugs.webkit.org/show_bug.cgi?id=232900
rdar://85216105

Reviewed by Brent Fulgham.

This value is required to be stored along the credential on create calls
such that it can be returned via get calls. Currently, it is always read
as empty because user.id is empty after ipc, while the id is decoded to
idVector.

* UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm:
(WebKit::configureRegistrationRequestContext):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (285536 => 285537)


--- trunk/Source/WebKit/ChangeLog	2021-11-09 22:58:40 UTC (rev 285536)
+++ trunk/Source/WebKit/ChangeLog	2021-11-09 23:02:32 UTC (rev 285537)
@@ -1,3 +1,19 @@
+2021-11-09  J Pascoe  <[email protected]>
+
+        [WebAuthn] User handle is not saved on create via ASC
+        https://bugs.webkit.org/show_bug.cgi?id=232900
+        rdar://85216105
+
+        Reviewed by Brent Fulgham.
+
+        This value is required to be stored along the credential on create calls
+        such that it can be returned via get calls. Currently, it is always read
+        as empty because user.id is empty after ipc, while the id is decoded to
+        idVector.
+
+        * UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm:
+        (WebKit::configureRegistrationRequestContext):
+
 2021-10-28  Darin Adler  <[email protected]>
 
         [CF] Reduce duplication and unneeded buffer allocations and copying in URL code, also remove unused methods and functions

Modified: trunk/Source/WebKit/UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm (285536 => 285537)


--- trunk/Source/WebKit/UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm	2021-11-09 22:58:40 UTC (rev 285536)
+++ trunk/Source/WebKit/UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm	2021-11-09 23:02:32 UTC (rev 285537)
@@ -181,7 +181,7 @@
     [credentialCreationOptions setChallenge:toNSData(options.challengeVector).get()];
     [credentialCreationOptions setRelyingPartyIdentifier:options.rp.id];
     [credentialCreationOptions setUserName:options.user.name];
-    [credentialCreationOptions setUserIdentifier:toNSData(options.user.id).get()];
+    [credentialCreationOptions setUserIdentifier:toNSData(options.user.idVector).get()];
     [credentialCreationOptions setUserDisplayName:options.user.displayName];
     [credentialCreationOptions setUserVerificationPreference:userVerification.get()];
     [credentialCreationOptions setShouldRequireResidentKey:shouldRequireResidentKey];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to