Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4886788e43af189ee5e27458d300abb1b9f652ac
      
https://github.com/WebKit/WebKit/commit/4886788e43af189ee5e27458d300abb1b9f652ac
  Author: Pascoe <[email protected]>
  Date:   2025-06-06 (Fri, 06 Jun 2025)

  Changed paths:
    M 
LayoutTests/http/wpt/webauthn/public-key-credential-get-failure-hid.https-expected.txt
    M 
LayoutTests/http/wpt/webauthn/public-key-credential-get-failure-hid.https.html
    M 
LayoutTests/http/wpt/webauthn/public-key-credential-get-success-hid.https-expected.txt
    M 
LayoutTests/http/wpt/webauthn/public-key-credential-get-success-hid.https.html
    M Source/WebCore/Modules/webauthn/fido/DeviceRequestConverter.cpp
    M Source/WebCore/Modules/webauthn/fido/DeviceRequestConverter.h
    M Source/WebKit/UIProcess/WebAuthentication/fido/CtapAuthenticator.cpp
    M Source/WebKit/UIProcess/WebAuthentication/fido/CtapAuthenticator.h

  Log Message:
  -----------
  Reland [WebAuthn] Implement batching for checking allowCredentials
https://bugs.webkit.org/show_bug.cgi?id=293805
rdar://problem/152317844

Reviewed by Brent Fulgham.

This change implements checking the allowCredentials in batches as supported by
the authenticator during getAssertion. This is accomplished with smaller up=0,
get requests to determine if credentials are present on the authenticator.

Then if a credential is detected as present, it is included in the 
allowCredentials list
in the real request. If no credentials matched, then we already know the call 
will not
be able to succeed, so we just include the last batch.

Added layout tests for the new behaviors.

This patch includes improved behavior with security keys that by policy always 
require
user verification. This fixes an issue with the previous iteration of this 
patch where
we would not retain the pin information during silent requests, causing users 
to be
prompted for a pin multiple times.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to