Bug 169272

Summary: [GTK] [WebCrypto] Add support for ECDH ImportKey/ExportKey operations
Product: WebKit Reporter: Carlos Alberto Lopez Perez <clopez>
Component: WebKitGTKAssignee: Zan Dobersek <zan>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bugs-noreply, jfernandez, mcatanzaro, zan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=169257
https://bugs.webkit.org/show_bug.cgi?id=169469
Bug Depends on:    
Bug Blocks: 133122    

Description Carlos Alberto Lopez Perez 2017-03-07 04:35:22 PST
The following tests addded on bug 165723 fail on platform GTK+


imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDH.worker.html [ Failure ]
imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDH.worker.html [ Failure ]
imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/test_failures_ECDH.html [ Failure ]
imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/test_successes_ECDH.html [ Failure ]


Looking at the diff, it seems we may lack an implementation for ECDH ?
Comment 1 Carlos Alberto Lopez Perez 2017-03-07 04:47:18 PST
TestExpectation file update at r213510: <http://trac.webkit.org/changeset/213510>
Comment 2 Javier Fernandez 2017-03-12 14:42:35 PDT
Mac Port implemented ECDH ImportKey/ExportKey operations already, so we may add the bits to support it in our WebKitGTK port.

https://www.w3.org/TR/WebCryptoAPI/#ecdh-operations.
Comment 3 Javier Fernandez 2017-03-12 14:43:04 PDT
*** Bug 169527 has been marked as a duplicate of this bug. ***
Comment 4 Javier Fernandez 2017-03-12 14:45:39 PDT
*** Bug 169469 has been marked as a duplicate of this bug. ***
Comment 5 Michael Catanzaro 2017-04-01 18:07:34 PDT
Zan, what are your plans for this?
Comment 6 Zan Dobersek 2017-04-02 23:33:30 PDT
(In reply to Michael Catanzaro from comment #5)
> Zan, what are your plans for this?

libgcrypt-based implementation is currently stashed in the patch in bug #133122.
Comment 7 Zan Dobersek 2017-07-03 01:53:08 PDT
This functionality is spread between patches in bugs #172927, #173646, #173647 and #173648. Marking this bug as a duplicate of the first one.

*** This bug has been marked as a duplicate of bug 172927 ***