[Webkit-unassigned] [Bug 177226] New: wrapKey_unwrapKey.worker.html is flaky

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 20 05:54:51 PDT 2017


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

            Bug ID: 177226
           Summary: wrapKey_unwrapKey.worker.html is flaky
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit WPE
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Ms2ger at igalia.com
                CC: bugs-noreply at webkitgtk.org

With a diff like

+PASS Can wrap and unwrap RSA-OAEP private key keys using pkcs8 and AES-KW 
+PASS Can wrap and unwrap RSA-OAEP private key keys as non-extractable using pkcs8 and AES-KW 

where I've also seen RSA-PSS instead of RSA-OAEP. That is, these tests sometimes run, and sometimes don't.

The tests will run if the following function returns true:

    function wrappingIsPossible(exportedKey, algorithmName) {
        if ("byteLength" in exportedKey && algorithmName === "AES-KW") {
            return exportedKey.byteLength % 8 === 0;
        }
        ...

I suspect that we don't guarantee that the length is correct (but it might also be something else entirely).

-- 
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/20170920/db18631f/attachment-0001.html>


More information about the webkit-unassigned mailing list