[Webkit-unassigned] [Bug 144938] New: WebCrypto: RSASSA-PKCS1-v1_5 generated keys can not be exported

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 12 16:57:29 PDT 2015


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

            Bug ID: 144938
           Summary: WebCrypto: RSASSA-PKCS1-v1_5 generated keys can not be
                    exported
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: encryb at gmail.com

Generating RSASSA key and trying to export JWK of either public or private key, fails with:

"Key algorithm and size do not map to any JWK algorithm identifier"

Unlike the current revision of WebCrypto standard, version Webkit implements did not specify hash during key generation, but during "sign" and "verify" functions.
However, exportKey function requires hash to be specified for JWK export. Current unit tests only validate exportKey with keys imported with importKey (which properly set hash values), but not with generateKey.

This is related to bug 128749, since if a hash could be specified during key generation, this would not be an issue. Otherwise, maybe hash could be specified as argument to exportKey.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150512/b1ac1052/attachment.html>


More information about the webkit-unassigned mailing list