summaryrefslogtreecommitdiff
path: root/action_processor.h
diff options
context:
space:
mode:
authorJay Srinivasan <jaysri@chromium.org>2012-09-17 18:48:36 -0700
committerGerrit <chrome-bot@google.com>2012-09-17 22:02:51 -0700
commit00f76b61fdc8f401ae93b2300f1cc9d62d932f30 (patch)
tree0993333ac5cdeb0e06e3ed37f3bd56b87c0eb6e3 /action_processor.h
parent74475bfd0ed945d9035c1760c6ccf938f4f0cdff (diff)
Generate and validate per-operation hashes
As part of securing the HTTP-based updates, we want to add a SHA256 hash of the data blob for each operation so that they can't be tampered with by a man in the middle. This CL adds support for generating and including such hashes for each operation in the payload as well as validating them in update_engine, if present. BUG=chromium-os:34298 TEST=Tested on ZGB to make sure existing functionality works fine. Existing unit tests cover all the new code paths. Change-Id: Ie42ed1930a66ceaf183f36ce3af0dea719e44237 Reviewed-on: https://gerrit.chromium.org/gerrit/33389 Reviewed-by: Don Garrett <dgarrett@chromium.org> Commit-Ready: Jay Srinivasan <jaysri@chromium.org> Tested-by: Jay Srinivasan <jaysri@chromium.org>
Diffstat (limited to 'action_processor.h')
0 files changed, 0 insertions, 0 deletions