Allow vbutil_what_keys to examine shellballs too
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 <129945214b1d548d8e49b6c29c43094f8c78057f@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/34537
Reviewed-by: Randall Spangler <62698fdbb84d1779579ee80c3f39fac22017e5bc@chromium.org>

coreboot/vboot,coreboot/vboot,acorn-marvell/vboot_reference,geekboxzone/mmallow_external_vboot_reference,ccaapton/vboot_reference,coreboot/vboot,marineam/seismograph,ionave/seismograph,acorn-marvell/vboot_reference,acorn-marvell/vboot_reference,geekboxzone/mmallow_external_vboot_reference,ionave/seismograph,ccaapton/vboot_reference,ccaapton/vboot_reference,acorn-marvell/vboot_reference,geekboxzone/mmallow_external_vboot_reference,marineam/seismograph,ccaapton/vboot_reference,marineam/seismograph,coreboot/vboot,marineam/seismograph,ionave/seismograph,geekboxzone/mmallow_external_vboot_reference,coreboot/vboot,geekboxzone/mmallow_external_vboot_reference