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+

Alexey Proskuryakov
Reported 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.
Attachments
proposed patch (31.66 KB, patch)
2014-02-12 12:16 PST, Alexey Proskuryakov
andersca: review+
Alexey Proskuryakov
Comment 1 2014-02-12 12:16:31 PST
Created attachment 223993 [details] proposed patch
Alexey Proskuryakov
Comment 2 2014-02-12 13:03:51 PST
Note You need to log in before you can comment on or make changes to this bug.