diff options
author | Tianjie Xu <xunchang@google.com> | 2019-10-22 16:46:00 -0700 |
---|---|---|
committer | Tianjie Xu <xunchang@google.com> | 2019-10-22 16:46:00 -0700 |
commit | 6c70b934f24d3d1b14795f34e8504e2a05f85c95 (patch) | |
tree | efe7bbcb6547d198ca82556e0834d2294d69a852 /scripts/update_device.py | |
parent | b38e1afa1f1df3c6b00543c6f4edb015985e1037 (diff) |
Fix the behavior for metadata verification when no public key presents
The old behavior actually checks if the hash check is mandatory
(install_plan_->hash_checks_mandatory). And it reports an warning
instead of an error for non-mandatory checks when there is no public
key presents. Change the logic to match the old behavior.
Test: unit tests pass, run 'brillo_update_payload verify' without a source image.
Change-Id: Ie9be7553ec018c1c7fd515a462190c2376c67e4c
Diffstat (limited to 'scripts/update_device.py')
0 files changed, 0 insertions, 0 deletions