History log of /external/vboot_reference/utility/vbutil_what_keys
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1b1cf1caa0f6fd85003f95e3340394bd9d9814c7 02-Oct-2014 Bill Richardson <wfrichar@chromium.org> Convert vbutil_what_keys to use /bin/sh

This just involves deleting the "set -o pipefail" line. With
bash, that meant that any program failure in a pipe would be
fatal. Without it, only the last program matters. This usually
means that the last command simply gets no input, in which case
the program just appears to do nothing instead of complaining
about whatever the problem was.

Since vbutil_what_keys is generally only used to help debug a
failure to boot, that's not a major problem.

BUG=chromium:419773
BRANCH=ToT
TEST=manual

Tried on a Pit, it works:

localhost ~ # /tmp/vbutil_what_keys /dev/mmcblk0
-e
IMAGE: /dev/mmcblk0
part 2 kernel: d6170aa480136f1f29cf339a5ab1b960585fa444 (!DEV DEV !REC) developer keys
part 4 kernel: d6170aa480136f1f29cf339a5ab1b960585fa444 (!DEV DEV !REC) developer keys

localhost ~ # flashrom -r /tmp/bios.bin
flashrom v0.9.4 : 904e8a5 : Sep 22 2014 20:47:40 UTC on Linux 3.8.11 (armv7l), built with libpci 3.1.10, GCC 4.8.x-google 20140307 (prerelease), little endian
Reading flash... SUCCESS
localhost ~ # /tmp/vbutil_what_keys /tmp/bios.bin
-e
BIOS: /tmp/bios.bin
hwid: PIT D3A-D4Q-A3L
root key: a026a7a4a0bf0fa32d6b7aa90a80d5ef01a3b799 Daisy MP-v3, Peach-Pi MP, Peach-Pit MP-v2, Snow MP
recovery key: 6d9a2ca8b3080a97e1e5a4efbc5386ead77c3c7f Peach-Pit MP-v2

localhost ~ #

Change-Id: I171da3bf688032f469d7a5cdb42278d8028b7e0d
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/221176
Reviewed-by: Mike Frysinger <vapier@chromium.org>
/external/vboot_reference/utility/vbutil_what_keys
a1d9fe6eecf82540d31d34bba988e4838d295302 05-Sep-2014 Bill Richardson <wfrichar@chromium.org> futility: stop using the symlink names in utility scripts

We still create the symlinks (FOO -> futility), but this
change invokes those built-in functions with "futility FOO ..."
instead of using the FOO symlink.

Note that the scripts/ directory is unchanged. That's a
separate CL, since we don't have tests for that.

BUG=chromium:231547
BRANCH=ToT
TEST=make runtests

In addition to running "make runtests", I temporarily
modified the Makefile to avoid creating the symlinks at all.
The tests still passed.

Change-Id: I96863259b9df02a3611f759a7509bf4090ae03e8
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/216717
Reviewed-by: Randall Spangler <rspangler@chromium.org>
/external/vboot_reference/utility/vbutil_what_keys
af23ef7ef17bfb954dbe46606911679b61e21d31 31-Jul-2014 Bill Richardson <wfrichar@chromium.org> Update vbutil_what_keys with more sha1sums

BUG=none
BRANCH=ToT
TEST=manual

Run vbutil_what_keys on some BIOS and disk images.

Change-Id: Ib757b63fa79913920da25c08b1994273fd77e53f
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/210692
Reviewed-by: Randall Spangler <rspangler@chromium.org>
/external/vboot_reference/utility/vbutil_what_keys
788dbc34b06a958285db0ea6a407aecaaed64045 03-Oct-2012 Bill Richardson <wfrichar@chromium.org> Allow vbutil_what_keys to examine shellballs too

Currently vbutil_what_keys only displays the kernel keyblock info for disk
images. This adds a -v option (requiring sudo) to cause it to attempt to look
inside any rootfs partitions and extract the BIOS image from the shellball.

This CL also updates the list of known sha1sums.

Without -v:

vbutil_what_keys recovery_image.bin
IMAGE: recovery_image.bin
part 2 kernel: 49d40533b0812d3f31232c5eedd47e7e11acc293 (!DEV DEV REC)
part 4 kernel: cc887372ac2d1c415eac93fc11e753629c387358 (!DEV DEV !REC)

With -v:

vbutil_what_keys -v recovery_image.bin
IMAGE: recovery_image.bin
part 2 kernel: 49d40533b0812d3f31232c5eedd47e7e11acc293 (!DEV DEV REC)
part 4 kernel: cc887372ac2d1c415eac93fc11e753629c387358 (!DEV DEV !REC)
part 3 shellball:
hwid: X86 LUMPY TEST 6638
recovery key: 0d800afb53cdd05dd849addee0143ca1d96e893c
root key: 4e92f07efd4a920c4e4f1ed97cf47b7b04ee1428

BUG=none
BRANCH=none
TEST=manual

This is an optional feature to a debugging utility. You can try the examples
above if you feel like testing it yourself.

Change-Id: Ie0dc918c1a99705c408314e960f4dc98aee7c1a9
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/34537
Reviewed-by: Randall Spangler <rspangler@chromium.org>
/external/vboot_reference/utility/vbutil_what_keys
8057d1bf48aca379340d240927d879505c6e5612 11-Aug-2012 Bernie Thompson <bhthompson@chromium.org> Add in Kiev FW keys to vbutil_what_keys

BUG=chrome-os-partner:12544
TEST=Manual, verify vbutil_what_keys detects properly on Kiev.

Change-Id: I4115b80e56784bbd5177e142a936ce52132fcf7f
Reviewed-on: https://gerrit.chromium.org/gerrit/29944
Reviewed-by: Dave Parker <dparker@chromium.org>
Commit-Ready: Bernie Thompson <bhthompson@chromium.org>
Tested-by: Bernie Thompson <bhthompson@chromium.org>
/external/vboot_reference/utility/vbutil_what_keys
a5e1519b5ef6c9ff9508f18bc66735524bff2d42 22-Feb-2012 Bill Richardson <wfrichar@chromium.org> vbutil_what_keys should handle devices too

BUG=none
TEST=manual

Try it on a USB stick. For example,

sudo vbutil_what_keys /dev/sdc

It should work.

Change-Id: I1e5be61d5539bae00717efa0e62c02203129a3c1
Reviewed-on: https://gerrit.chromium.org/gerrit/16358
Commit-Ready: Bill Richardson <wfrichar@chromium.org>
Tested-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
/external/vboot_reference/utility/vbutil_what_keys
14d982a2beb1678ddf36e888275c665f8108480f 04-Feb-2012 Bill Richardson <wfrichar@chromium.org> vbutil_what_keys - any file 8M or less is a BIOS image

BUG=chrome-os-partner:7878
TEST=none

Well, you could test it like so:

flashrom -r /dev/null -i GBB:/tmp/GBB.bin
vbutil_what_keys GBB.bin

except that the current ChromeOS image doesn't include vbutil_what_keys. It
probably should, but that's a different CL.

Change-Id: I1e5b6cf30a81a46cb5c8c5d9b10f351dafa9ca87
Reviewed-on: https://gerrit.chromium.org/gerrit/15359
Commit-Ready: Bill Richardson <wfrichar@chromium.org>
Tested-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
/external/vboot_reference/utility/vbutil_what_keys
1e063b09021164b07498a56fc10e69adbb7536d4 03-Feb-2012 Bill Richardson <wfrichar@chromium.org> Add Stumpy MP key info to vbutil_what_keys

BUG=chrome-os-partner:7878
TEST=manual

Run vbutil_what_keys specifying either a BIOS or disk image signed with the
Stumpy MP keys. It should identify it as such. For example:

vbutil_what_keys chromeos_1675.0.0_stumpy_recovery_dev-channel_mp.bin

or

vbutil_what_keys bios.bin

The output should contain the strings "Stumpy MP" somewhere, if the image or
BIOS is signed with the Stumpy MP keys.

Change-Id: I575b7358ced4234c918eff40cdeb17fe06ab331c
Reviewed-on: https://gerrit.chromium.org/gerrit/15271
Commit-Ready: Bill Richardson <wfrichar@chromium.org>
Tested-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
/external/vboot_reference/utility/vbutil_what_keys
93a892ce8be7eb906521702f88e6183d26f2a435 15-Dec-2011 Bill Richardson <wfrichar@chromium.org> Enhance vbutil_what_keys to work on BIOS images too.

BUG=none
TEST=none

Change-Id: I3bc15e18dcb9f89346815615be48729b8966736c
Reviewed-on: https://gerrit.chromium.org/gerrit/13014
Tested-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
/external/vboot_reference/utility/vbutil_what_keys
f155ab3a26d07f94dcf64732d6e19b59da1c96ed 17-Jun-2011 Bill Richardson <wfrichar@chromium.org> Add vbutil_what_keys utility to figure out how a disk image is signed.

BUG=none
TEST=none

Change-Id: I8a2e0d07384f0437064b964c6b292af9c3a67ea1
Reviewed-on: http://gerrit.chromium.org/gerrit/2802
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Tested-by: Bill Richardson <wfrichar@chromium.org>
/external/vboot_reference/utility/vbutil_what_keys