diff options
author | Sen Jiang <senj@google.com> | 2017-06-28 17:13:19 -0700 |
---|---|---|
committer | Sen Jiang <senj@google.com> | 2018-01-12 22:04:06 +0000 |
commit | f8527ada7b8e9579ee1040d29e89ac9731015d01 (patch) | |
tree | 322e22e147ea7f862f8eaa942f51c03f9517f3bf /scripts/update_payload/format_utils_unittest.py | |
parent | 2e1de4f9f0457cd6117ddb22ffef72c8e2fbd4f3 (diff) |
Add maximum timestamp to the payload.
Added a new field max_timestamp in the protobuf, from now on
update_engine will reject any payload without this field.
If the OS build timestamp is newer than the max_timestamp, the payload
will also be rejected to prevent downgrade.
Bug: 36232423
Test: update_engine_unittests
Merged-In: Ib20f5f35aaf41165013bada02bc8720917358237
Change-Id: Ib20f5f35aaf41165013bada02bc8720917358237
(cherry picked from commit 5011df680621eb477cad8b34f03fba5b542cc2f9)
(cherry picked from commit ccb01b2a3beb94094388de806bc15b210ebe8b11)
(cherry picked from commit 4c579f046e40306df1558b96308066f91c460787)
Exempt-From-Owner-Approval: OWNERS file outdated in nyc-*
Diffstat (limited to 'scripts/update_payload/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions