From 021b7493d57a983ab0615a81c5a76428fd95a983 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Sun, 25 Dec 2016 20:35:30 +0100 Subject: cros-scripts: cros-boot-keys: Print information messages Signed-off-by: Paul Kocialkowski --- projects/cros-scripts/install/cros-boot-keys | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'projects/cros-scripts') diff --git a/projects/cros-scripts/install/cros-boot-keys b/projects/cros-scripts/install/cros-boot-keys index 07ec2cb9..cf239718 100755 --- a/projects/cros-scripts/install/cros-boot-keys +++ b/projects/cros-scripts/install/cros-boot-keys @@ -104,6 +104,8 @@ generate() { rm -f "$VBOOT_KEYS_PATH/$key.$PEM" "$VBOOT_KEYS_PATH/$key.$CRT" "$VBOOT_KEYS_PATH/$key.$KEYB" done + printf "\nGenerated keys $KEYS\n" + for keyblock in $KEYBLOCKS do pubkey=$( echo "$subkeys" | sed "s/$REGEXP/\1/g" ) @@ -117,6 +119,8 @@ generate() { futility vbutil_keyblock --pack "$VBOOT_KEYS_PATH/$keyblock.$KEYBLOCK" --flags "$mode" --datapubkey "$VBOOT_KEYS_PATH/$pubkey.$VBPUBK" --signprivate "$VBOOT_KEYS_PATH/$privkey.$VBPRIVK" futility vbutil_keyblock --unpack "$VBOOT_KEYS_PATH/$keyblock.$KEYBLOCK" --signpubkey "$VBOOT_KEYS_PATH/$privkey.$VBPUBK" done + + printf "\nGenerated keyblocks $KEYBLOCKS\n" } verify() { @@ -133,6 +137,8 @@ verify() { futility vbutil_keyblock --unpack "$VBOOT_KEYS_PATH/$keyblock.$KEYBLOCK" --signpubkey "$VBOOT_KEYS_PATH/$privkey.$VBPUBK" done + + printf "\nVerified keyblocks $KEYBLOCKS\n" } requirements() { -- cgit v1.2.3-70-g09d2