[Webkit-unassigned] [Bug 122679] [Meta] Implement WebCrypto SubtleCrypto interface

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 4 11:04:30 PST 2013


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
            Summary|Implement WebCrypto         |[Meta] Implement WebCrypto
                   |SubtleCrypto interface      |SubtleCrypto interface
             Status|ASSIGNED                    |NEW
         AssignedTo|ap at webkit.org               |webkit-unassigned at lists.web
                   |                            |kit.org

--- Comment #2 from Alexey Proskuryakov <ap at webkit.org>  2013-12-04 11:02:49 PST ---
WebKit currently implements latest WebCrypto editor's draft posted 2013-08-30 (<https://dvcs.w3.org/hg/webcrypto-api/raw-file/dffe14c6052a/spec/Overview.html>), with a few updates:

- operations take CryptoOperationData arguments, not sequences of those;
- added AES-KW algorithm (RFC3394).

SubtleCrypto is exposed as window.crypto.webkitSubtle. The spec hasn't even reached Last Call yet, so it's likely to change in the future.

Supported algorithms are:
- SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 (all of these are also supported as hashes for below algorithms);
- RSASSA-PKCS1-v1_5.

All operations relevant to these algorithms are supported. Key algorithm, usages and extractable members are enforced.

Key import, export, unwrapping and wrapping are supported for raw and JWK formats (JWK mapping is implemented according to <https://www.w3.org/Bugs/Public/show_bug.cgi?id=23796#c12>). Imported private RSA keys currently must have additional prime factor data, and must have exactly two prime factors.

Most of the code is cross platforms, with low level cryptography operations invoking Mac platform libraries.

The functionality is present in WebKit nightly builds on OS X 10.9 Mavericks (http://nightly.webkit.org). Please test, and report any bugs! Patches for additional algorithms and key formats are welcome.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list