summaryrefslogtreecommitdiff
path: root/payload_consumer/filesystem_verifier_action_unittest.cc
diff options
context:
space:
mode:
authorAmin Hassani <ahassani@google.com>2020-09-15 15:30:08 -0700
committerAmin Hassani <ahassani@google.com>2020-09-15 15:43:28 -0700
commitf624e1167dcfba1e7ca4ff34e10f12b2bfe6578c (patch)
tree7f0bed5e8e526506db57259e1238b894dd36232c /payload_consumer/filesystem_verifier_action_unittest.cc
parent18e9f3ca8d7c155da4f66aaf00e131f892fba420 (diff)
Check for public key before checking for signatures
The current code is breaking the Chrome OS because in Chrome OS we can install an unsigned payload into an image that doesn't have the update payload's public key. The current code is checking for the existence of signature first. But there is no point checking for the existence of signature if there is not going to be a public key available to verify it. So the order needs to be switched. This used to be the older behavior. Bug: 163153182 Test: cros flash Change-Id: Ifa7026d2f288acdd4450017ce0d120272021267f
Diffstat (limited to 'payload_consumer/filesystem_verifier_action_unittest.cc')
0 files changed, 0 insertions, 0 deletions