New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 686271 link

Starred by 3 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Support FWMP dev kernel key hash

Project Member Reported by rspangler@chromium.org, Jan 27 2017

Issue description

ToT firmware supports the FirmWare Management Parameters TPM space (FWMP), which can set some dev mode defaults.  The FWMP is can be created/deleted by cryptohome at a root shell when the TPM owner is still known.

One nifty thing that the FWMP supports is a kernel key hash.  If that's set, then dev mode will only boot kernels signed by a matching key.  Developers can use this to lock dev mode to only boot their own images.  This lets developers leave dev_boot_usb enabled without the risk some other random person will boot a malicious USB image.

But right now, there's no good way to figure out what SHA256 hash to feed to cryptohome when creating the FWMP with that option.  And if you guess wrong, you'll be locked out.

dev_debug_vboot should be able to print the FWMP (if it exists) and the hashes for the current kernel partitions.

Maybe make_dev_firmware.sh should have an option to create the FWMP.

(This only affects usability of the FWMP by developers.  FWMP use for enrolled devices is tracked separately.)
 
Project Member

Comment 1 by sheriffbot@chromium.org, Feb 12 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment