[Webkit-unassigned] [Bug 183167] Cannot store CryptoKey to IndexedDB in ServiceWorker

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 1 10:42:10 PST 2018


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

--- Comment #4 from Jiewen Tan <jiewen_tan at apple.com> ---
We do support storing CryptoKey into IndexedDB. However, due to some legacy reasons, we wrap the objects before storing them into IndexedDB. Here is file: See SerializedCryptoKeyWrap.h. For any new implementations, I recommend we don't wrap CryptoKeys anymore. Since the wrapping APIs will be called in SerializedScriptValue.h, failing to implement those would fail IndexedDB interactions. An example to circumvent that is to implement dummy APIs, see SerializedCryptoKeyWrapGCrypt.cpp.

I am not sure if ServiceWorker needs to implement this dummy APIs though.

-- 
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/20180301/99585b04/attachment.html>


More information about the webkit-unassigned mailing list