Bug 128702

Summary: [WK2] Add a C API to get WebCrypto master key from a client
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebKit2Assignee: Alexey Proskuryakov <ap>
Severity: Normal CC: andersca, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
proposed patch andersca: review+

Description Alexey Proskuryakov 2014-02-12 16:11:46 PST
WebCrypto key serialization needs a master key, and WebKit2 clients should have a say in what it is.
Comment 1 Alexey Proskuryakov 2014-02-12 16:15:54 PST
Created attachment 224024 [details]
proposed patch
Comment 2 Anders Carlsson 2014-02-12 16:27:26 PST
Comment on attachment 224024 [details]
proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=224024&action=review

> Source/WebKit2/UIProcess/API/C/WKContext.h:89
> +    // Version 1.
> +    WKContextCopyWebCryptoMasterKeyCallback                             copyWebCryptoMasterKey;

I don't think you need to update this struct.
Comment 3 Alexey Proskuryakov 2014-02-12 16:34:28 PST
Committed <http://trac.webkit.org/r163999>.