Bug 128702 - [WK2] Add a C API to get WebCrypto master key from a client
Summary: [WK2] Add a C API to get WebCrypto master key from a client
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-12 16:11 PST by Alexey Proskuryakov
Modified: 2014-02-12 16:34 PST (History)
2 users (show)

See Also:


Attachments
proposed patch (9.24 KB, patch)
2014-02-12 16:15 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 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>.