Chromium Code Reviews
DescriptionChange origin trial token format
This CL introduces a new format for origin trial tokens. The tokens are JSON-encoded data, wrapped in a base64-encoded signed binary structure.
The token format is documented at https://docs.google.com/document/d/1v5fi0EUV_QHckVHVF2K4P72iNywnrJtNhNZ6i2NPt0M
Additionally, this CL changes the order of operations when processing tokens. Now signature verification is always performed as part of parsing, and the token's applicability can be checked after it has been verified and parsed.
BUG=601090
Review URL: https://codereview.chromium.org/1858763003
Cr-Commit-Position: refs/heads/master@{#387333}
(cherry picked from commit 0709f4ee3881c0c97c7e765ba824b20d5464771f)
Committed: https://chromium.googlesource.com/chromium/src/+/1ad4616aa5ed94f8d702785281004f94f33cbf72
Patch Set 1 #Messages
Total messages: 2 (1 generated)
|