Bug 264097 - [WebAuthn] Navigator matches excludedCredentials for deleted passkeys in 30 day grace period
Summary: [WebAuthn] Navigator matches excludedCredentials for deleted passkeys in 30 d...
Status: REOPENED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: Safari 17
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: pascoe@apple.com
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-02 10:10 PDT by stephen
Modified: 2024-05-28 14:41 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stephen 2023-11-02 10:10:12 PDT
If a passkey is deleted (and within the 30 day undelete grace period) by the user in the Safari password manager and the user attempts to re-enroll the platform navigator using webauthn, we get:

InvalidStateError: At least one credential matches an entry of the excludeCredentials list in the platform attached authenticator.

This seems pretty confusing because the user has deleted the passkey and it's not usable to authenticate anymore, so it shouldn't be matched against the excludedCredentials list.

The user can workaround this by going into "Recently deleted" in the password manager and permanently deleting the offending credential.
Comment 1 Radar WebKit Bug Importer 2023-11-09 09:11:13 PST
<rdar://problem/118182303>
Comment 2 pascoe@apple.com 2024-03-05 12:56:00 PST
Pull request: https://github.com/WebKit/WebKit/pull/25499
Comment 3 EWS 2024-03-05 14:59:47 PST
Committed 275711@main (c0e1cd6ea54e): <https://commits.webkit.org/275711@main>

Reviewed commits have been landed. Closing PR #25499 and removing active labels.
Comment 4 EWS 2024-05-09 18:21:31 PDT
Committed 272448.1008@safari-7618-branch (b5489fabf4aa): <https://commits.webkit.org/272448.1008@safari-7618-branch>

Reviewed commits have been landed. Closing PR #1276 and removing active labels.
Comment 5 EWS 2024-05-10 12:55:04 PDT
Committed 272448.1011@safari-7618-branch (d868e430dea8): <https://commits.webkit.org/272448.1011@safari-7618-branch>

Reviewed commits have been landed. Closing PR #1279 and removing active labels.
Comment 6 Robert Jenner 2024-05-28 14:41:52 PDT
Reopened Bugzilla.
[WebAuthn] Navigator matches excludedCredentials for deleted passkeys in 30 day grace period, tracking revert in https://bugs.webkit.org/show_bug.cgi?id=264097.