[Webkit-unassigned] [Bug 279963] New: [WebCrypto] JWK import / export round-trip fails in X25519

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 19 02:24:01 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=279963

            Bug ID: 279963
           Summary: [WebCrypto] JWK import / export round-trip fails in
                    X25519
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jfernandez at igalia.com

STEPS TO REPRODUCE THE PROBLEM 

1- Load the importKey.html test case (attached)
2- See the messages in the dev tools console

EXPECTED RESULT: 

The following message should appear:

CONSOLE LOG Import Success !!
CONSOLE LOG Export Success !!
CONSOLE LOG Round trip works 

ACTUAL RESULT:

CONSOLE LOG Import Success !!
CONSOLE LOG Export Success !!
CONSOLE LOG Round trip failed
CONSOLE LOG Expected:
{  
   crv: X25519
   d: yIOOdtBX37fYyVpp4TgWCt1jc_1xpNJ2u1bjqBtk_2E
   x: HPKx5gIuxTc3Htf1PlT6EVTYPpjrZOpR-uWzMHz-lwY
   kty: OKP
}
CONSOLE LOG Got:
{  
   crv: X25519
   d: yIOOdtBX37fYyVpp4TgWCt1jc_1xpNJ2u1bjqBtk_2E
   ext: true
   key_ops: deriveBits
   kty: OKP
   x: hbrW0bCab1ERDBqLWuWTwnQLzwZcuzYSiYsyGkVcT8A
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240919/45b6010f/attachment.htm>


More information about the webkit-unassigned mailing list