[Webkit-unassigned] [Bug 172758] [GTK] Enable SUBTLE_CRYPTO in GTK+ releases

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 8 01:01:44 PDT 2017


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

--- Comment #12 from Zan Dobersek <zan at falconsigh.net> ---
(In reply to Michael Catanzaro from comment #11)
> (In reply to Jiewen Tan from comment #2)
> > That's not right. WebCrypto refers to the whole Crypto Interface while
> > SubtleCrypto refers only to the SubtleCrypto interface.
> 
> I don't understand why it's not right. All of SubtleCrypto is part of
> WebCrypto, so using the WebCrypto flag should be just fine, right? But using
> a SubtleCrypto flag to guard other WebCrypto features would not be right.
> Have we really failed to implement any WebCrypto besides the SubtleCrypto
> interface, or do I misunderstand something?

SUBTLE_CRYPTO covers a subset of the Web Crypto API spec, the one that's exposed through `window.crypto.subtle`. There's also `window.crypto.getRandomValues()` that's not covered by SUBTLE_CRYPTO.
https://www.w3.org/TR/WebCryptoAPI/#crypto-interface

SUBTLE_CRYPTO does expose the prefixed (and to-be-deprecated) `window.crypto.webkitSubtle` interface. Most of that is not implemented.

-- 
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/20170808/0d092a81/attachment.html>


More information about the webkit-unassigned mailing list