DescriptionAllow the component updater framework to control Origin Trials.
This patch adds support for updating the public key for verifying origin trial token signatures through the component updater. Future patches are planned to add support for disabling individual experimental APIs and for revoking individual trial tokens. This patch lays the groundwork for these, but does not actually provide those extra features.
The component is not required to be present in order for origin trials to work (the default key will be used in that case), but if it is, it should include the public key in its manifest as a base64-encoded string representing 32 bytes, like this:
"origin-trials": {
"public-key": "abcdefghjijklmnopqrstuvwxabcdefghjijklmnopq="
}
BUG=603588
Committed: https://crrev.com/99c766f3508de3e9b3c629aedb2b95a97afa3880
Cr-Commit-Position: refs/heads/master@{#390636}
Patch Set 1 #
Total comments: 10
Patch Set 2 : Clean up code #Patch Set 3 : Rebase and fix missed scoped_ptr -> unique_ptr conversion #
Messages
Total messages: 25 (11 generated)
|