<?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>247344</bug_id>
          
          <creation_ts>2022-11-01 16:33:51 -0700</creation_ts>
          <short_desc>[WebAuthn] Incorrect RP ID hash when using U2F keys</short_desc>
          <delta_ts>2023-11-02 02:14:43 -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>WebKit Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P1</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="pascoe@apple.com">pascoe</reporter>
          <assigned_to name="pascoe@apple.com">pascoe</assigned_to>
          <cc>gianluca.varisco</cc>
    
    <cc>joost.vandijk</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1909665</commentid>
    <comment_count>0</comment_count>
    <who name="pascoe@apple.com">pascoe</who>
    <bug_when>2022-11-01 16:33:51 -0700</bug_when>
    <thetext>This causes registrations to fail whenever we fall back to U2F or the key only supports U2F.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1909666</commentid>
    <comment_count>1</comment_count>
    <who name="pascoe@apple.com">pascoe</who>
    <bug_when>2022-11-01 16:34:00 -0700</bug_when>
    <thetext>rdar://100466116</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1910307</commentid>
    <comment_count>2</comment_count>
    <who name="Joost van Dijk">joost.vandijk</who>
    <bug_when>2022-11-04 02:00:09 -0700</bug_when>
    <thetext>To reproduce:

Point your browser at https://demo.yubico.com/webauthn-technical/registration and use your U2F security key to register a FIDO credential. When the RP ID Hash mismatch occurs, you will get an error message: Wrong RP ID hash in response.

OR

Point your browser at https://webauthn.io/ and click Advanced Settings. In the Registration Settings, Uncheck &quot;Require User Verification&quot; and select &quot;Cross-Platform&quot; as Authenticator Attachment. Then click &quot;Register&quot; and use your U2F security key to register a FIDO credential.

When the RP ID Hash mismatch occurs, you will get an error message: Registration failed: Unexpected RP ID hash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1914978</commentid>
    <comment_count>3</comment_count>
    <who name="pascoe@apple.com">pascoe</who>
    <bug_when>2022-11-28 08:07:28 -0800</bug_when>
    <thetext>rdar://102718464</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1914981</commentid>
    <comment_count>4</comment_count>
    <who name="pascoe@apple.com">pascoe</who>
    <bug_when>2022-11-28 08:17:06 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/6862</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915031</commentid>
    <comment_count>5</comment_count>
    <who name="pascoe@apple.com">pascoe</who>
    <bug_when>2022-11-28 10:51:56 -0800</bug_when>
    <thetext>rdar://100466116</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1989370</commentid>
    <comment_count>6</comment_count>
    <who name="Joost van Dijk">joost.vandijk</who>
    <bug_when>2023-11-02 02:14:43 -0700</bug_when>
    <thetext>Seems to be resolved with Safari 17.1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>