Check for unknown keys in the transport security state JSON file.
This CL adds two checks to the transport security state JSON file parser that ensure the entries have a valid mode ("force-https" or empty) and that the entries don't contain any unknown fields. These checks are intended to catch typo's that would othersize degrade the security of the preloaded domains. Bug: 774246 Change-Id: Ifcb4f4994f982078cc72d7df10e6245da2d9909c Reviewed-on: https://chromium-review.googlesource.com/738117 Commit-Queue: Martijn Croonen <martijnc@chromium.org> Reviewed-by:Ryan Sleevi <rsleevi@chromium.org> Cr-Commit-Position: refs/heads/master@{#512394}
Showing
Please register or sign in to comment