<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>264097</bug_id>
          
          <creation_ts>2023-11-02 10:10:12 -0700</creation_ts>
          <short_desc>[WebAuthn] Navigator matches excludedCredentials for deleted passkeys in 30 day grace period</short_desc>
          <delta_ts>2024-05-28 14:41:52 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore JavaScript</component>
          <version>Safari 17</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>stephen</reporter>
          <assigned_to name="pascoe@apple.com">pascoe</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>pascoe</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wilander</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1989427</commentid>
    <comment_count>0</comment_count>
    <who name="">stephen</who>
    <bug_when>2023-11-02 10:10:12 -0700</bug_when>
    <thetext>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&apos;s not usable to authenticate anymore, so it shouldn&apos;t be matched against the excludedCredentials list.

The user can workaround this by going into &quot;Recently deleted&quot; in the password manager and permanently deleting the offending credential.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991202</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-09 09:11:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/118182303&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2018860</commentid>
    <comment_count>2</comment_count>
    <who name="pascoe@apple.com">pascoe</who>
    <bug_when>2024-03-05 12:56:00 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/25499</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2018900</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-03-05 14:59:47 -0800</bug_when>
    <thetext>Committed 275711@main (c0e1cd6ea54e): &lt;https://commits.webkit.org/275711@main&gt;

Reviewed commits have been landed. Closing PR #25499 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2034457</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-05-09 18:21:31 -0700</bug_when>
    <thetext>Committed 272448.1008@safari-7618-branch (b5489fabf4aa): &lt;https://commits.webkit.org/272448.1008@safari-7618-branch&gt;

Reviewed commits have been landed. Closing PR #1276 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2034595</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-05-10 12:55:04 -0700</bug_when>
    <thetext>Committed 272448.1011@safari-7618-branch (d868e430dea8): &lt;https://commits.webkit.org/272448.1011@safari-7618-branch&gt;

Reviewed commits have been landed. Closing PR #1279 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2038287</commentid>
    <comment_count>6</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2024-05-28 14:41:52 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>