Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Issue 3124004: Changes to allow user-signed kernels to be generated. (Closed)

Created:
10 years, 4 months ago by Bill Richardson
Modified:
9 years, 6 months ago
Reviewers:
Randall Spangler
CC:
chromium-os-reviews_chromium.org, Randall Spangler, gauravsh, Luigi Semenzato, Bill Richardson
Base URL:
ssh://gitrw.chromium.org/vboot_reference.git
Visibility:
Public.

Description

Changes to allow user-signed kernels to be generated. Make vbutil_keyblock handle unsigned blocks. Also enable --unpack option and add tests for it. Modify vbutil_kernel to allow unsigned keyblocks, correct usage message, and fix the --debug option which was somehow disabled. Update load_kernel_test to accept /dev/null for the public key, to test non-signed kernel keyblocks.

Patch Set 1 #

Total comments: 7

Patch Set 2 : Respond to feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -83 lines) Patch
M firmware/lib/vboot_common.c View 3 chunks +10 lines, -2 lines 0 comments Download
M firmware/version.c View 1 chunk +1 line, -1 line 0 comments Download
M host/lib/host_keyblock.c View 3 chunks +11 lines, -6 lines 0 comments Download
M tests/run_vbutil_tests.sh View 2 chunks +28 lines, -3 lines 0 comments Download
M utility/Makefile View 2 chunks +5 lines, -1 line 0 comments Download
A utility/dev_make_keypair View 1 1 chunk +82 lines, -0 lines 0 comments Download
M utility/load_kernel_test.c View 1 3 chunks +57 lines, -18 lines 0 comments Download
M utility/vbutil_kernel.c View 7 chunks +22 lines, -13 lines 0 comments Download
M utility/vbutil_keyblock.c View 5 chunks +61 lines, -39 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Bill Richardson
10 years, 4 months ago (2010-08-09 22:41:21 UTC) #1
Randall Spangler
http://codereview.chromium.org/3124004/diff/1/7 File utility/dev_make_keypair (right): http://codereview.chromium.org/3124004/diff/1/7#newcode6 utility/dev_make_keypair:6: # Generate .vbpubk and .vbprivk pairs for use by ...
10 years, 4 months ago (2010-08-09 23:03:53 UTC) #2
Bill Richardson
10 years, 4 months ago (2010-08-10 00:22:05 UTC) #3
Bill Richardson
Okay, take another look. http://codereview.chromium.org/3124004/diff/1/7 File utility/dev_make_keypair (right): http://codereview.chromium.org/3124004/diff/1/7#newcode8 utility/dev_make_keypair:8: Not without creating some sort ...
10 years, 4 months ago (2010-08-10 00:23:35 UTC) #4
Randall Spangler
10 years, 4 months ago (2010-08-10 00:37:54 UTC) #5
lgtm

http://codereview.chromium.org/3124004/diff/1/7
File utility/dev_make_keypair (right):

http://codereview.chromium.org/3124004/diff/1/7#newcode8
utility/dev_make_keypair:8: 
On 2010/08/10 00:23:35, Bill Richardson wrote:
> Not without creating some sort of common.sh file that both could source.
That's
> likely to be worse than this.
> 

I'll buy that.  Perhaps just mention the commonality in a comment, so that
changes are more likely to hand-propagate.

Powered by Google App Engine
This is Rietveld 408576698