Bug 128680

Summary: Wrap WebCrypto keys in SerializedScriptValue
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebCore Misc.Assignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, beidson, bunhere, cdumez, commit-queue, gyuyoung.kim, oliver, sam, sergio
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch andersca: review+

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>.