WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
122679
[Meta] Implement WebCrypto SubtleCrypto interface
https://bugs.webkit.org/show_bug.cgi?id=122679
Summary
[Meta] Implement WebCrypto SubtleCrypto interface
Alexey Proskuryakov
Reported
2013-10-11 14:40:46 PDT
This is a meta for adding SubtleCrypto from <
http://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html
>.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2013-11-03 01:04:17 PST
<
rdar://problem/15172764
>
Alexey Proskuryakov
Comment 2
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); - HMAC; - AES-CBC; - AES-KW; - RSA-OAEP; - 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.
Jiewen Tan
Comment 3
2016-08-15 18:39:41 PDT
Close this bug as fixed as all the depending unfixed bugs have been moved to either
Bug 160880
and
Bug 160883
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug