summaryrefslogtreecommitdiff
path: root/common/subprocess_unittest.cc
diff options
context:
space:
mode:
authorAmin Hassani <ahassani@chromium.org>2020-10-06 15:53:29 -0700
committerCommit Bot <commit-bot@chromium.org>2020-10-08 00:18:16 +0000
commite331f5a9cb761d0f656872a8639e650ac7da7493 (patch)
tree38d4b9da8920abe1ffcd1743f55636506890cbb2 /common/subprocess_unittest.cc
parent7d192200b897a9d65912e270691e5a3c8a8ff1a7 (diff)
update_engine: Verify payload hash before its signature
The test images don't have public key nor they are signed, so some of the autotests have been failing because they can't verify the rejection behavior of mismatched update payload hash. So we need to check for the hash before checking for the signature. BUG=b:170254160 TEST=test_that chromeos6-row4-rack9-host19.cros autoupdate_OmahaResponse.bad_sha256.full Change-Id: Ice4f9d827fb913e6eec55c922163cba0de98ebb9 Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2454830 Tested-by: Amin Hassani <ahassani@chromium.org> Reviewed-by: Tianjie Xu <xunchang@google.com> Reviewed-by: Jae Hoon Kim <kimjae@chromium.org> Reviewed-by: Amin Hassani <ahassani@chromium.org> Commit-Queue: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'common/subprocess_unittest.cc')
0 files changed, 0 insertions, 0 deletions