commit | 9e2adaebc313a9d73b19519c69fe90f3c58e33d8 | [log] [tgz] |
---|---|---|
author | Amin Hassani <[email protected]> | Tue Mar 13 23:19:47 2018 |
committer | chrome-bot <[email protected]> | Wed Mar 14 21:21:48 2018 |
tree | d997c464e69cad0488104dcf999aca27fb26576f | |
parent | d7a913a3455a4e857a11889516f9c7bf6204bf23 [diff] |
autoupdate: Set the hash_sha256 in devserver (omaha) response The new changes in update_engine requires the new hex based sha256 hash sent by omaha to be checked. But, currently in devserver we only sent base64 ecndoed sha256. This CL adds hash_sha256 in the package tag of the response by calculating the hex based sha256 hash of the payload. BUG=chromium:821599 TEST=cros flash Change-Id: I4449d90513db2dcd1424a6693ec7ce172135d689 Reviewed-on: https://chromium-review.googlesource.com/961586 Commit-Ready: Amin Hassani <[email protected]> Tested-by: Amin Hassani <[email protected]> Reviewed-by: Xixuan Wu <[email protected]> Reviewed-by: Don Garrett <[email protected]>