summaryrefslogtreecommitdiff
path: root/scripts/update_payload/update_metadata_pb2.py
diff options
context:
space:
mode:
authorTianjie <xunchang@google.com>2021-01-14 22:05:13 -0800
committerTianjie Xu <xunchang@google.com>2021-01-28 18:26:59 +0000
commit838793dc39746fd0eba99daaa0f62f8a402777e5 (patch)
tree1173db93bffda2cf3bdbdeedc759548c003d1163 /scripts/update_payload/update_metadata_pb2.py
parent8e2dce0ccc2699a0df9d8473fa586811f4b1b69c (diff)
Calculate vbmetadigest of inactive slot
We want to improve the security of the keystore encryption key for resume on reboot. One AI is to create the key with the vbmeta digest of the next slot to boot into. After reboot, the decryption will fail if ro.boot.vbmeta.digest of the new slot doesn't match the calculated value before reboot. Since update_engine manages the slot switch, let it calculate the digest as well. Bug: 177625570 Test: do a update, check that the sysprop is set. Change-Id: I74b20fca72f6946d980b93d76990f1c8b8f246a9
Diffstat (limited to 'scripts/update_payload/update_metadata_pb2.py')
0 files changed, 0 insertions, 0 deletions