mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
The keyid field of struct SignedHeader is what distinguishes prod keys from dev keys. This may be useful someday, so let's have the update protocol return those values for the active RO and RW images. Bump the UPGRADE_PROTOCOL_VERSION accordingly. Note: This doesn't enforce any keyid matches, it just returns the current values as part of the initial upgrade handshake in case we want to know. BUG=chrome-os-partner:57956 BRANCH=none TEST=make buildall; try on Gru Make sure that Cr50 can be freely updated and downgraded between firmwares that speak either v4 or v5 of the protocol, by using the v5-aware usb_updater tool. And of course, make sure that v5 images report their keyids. Duh. Change-Id: If2cc0d4023dca2078b9398fd899618dc2cd409b9 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/394732 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
This directory is for experiments only. It is not built automatically, required, supported, guaranteed to work, or necessarily well-documented. The contents may change without warning at any time.