libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 021b7493d57a983ab0615a81c5a76428fd95a983
parent 2ff18262ad41d967ebc1db71a2e94cf632ba6b5f
Author: Paul Kocialkowski <contact@paulk.fr>
Date:   Sun, 25 Dec 2016 20:35:30 +0100

cros-scripts: cros-boot-keys: Print information messages

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>

Diffstat:
projects/cros-scripts/install/cros-boot-keys | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git 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() {