Bug 128680 - Wrap WebCrypto keys in SerializedScriptValue
Summary: Wrap WebCrypto keys in SerializedScriptValue
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
Depends on:
Reported: 2014-02-12 12:10 PST by Alexey Proskuryakov
Modified: 2014-02-12 13:03 PST (History)
9 users (show)

See Also:

proposed patch (31.66 KB, patch)
2014-02-12 12:16 PST, Alexey Proskuryakov
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2014-02-12 12:10:56 PST
We need to wrap WebCrypto keys for persistent storage, because they are not really different from passwords that live in Keychain.

As there is a single code path for transient and persistent serialization (and I'm not even entirely sure if we can always know in advance), let's do that always.
Comment 1 Alexey Proskuryakov 2014-02-12 12:16:31 PST
Created attachment 223993 [details]
proposed patch
Comment 2 Alexey Proskuryakov 2014-02-12 13:03:51 PST
Committed <http://trac.webkit.org/r163976>.