aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2016-12-25 20:35:30 +0100
committerLeah Rowe <info@minifree.org>2017-01-15 14:24:46 +0000
commit021b7493d57a983ab0615a81c5a76428fd95a983 (patch)
tree371733d15308a369d1cec8f9b464ec339a96bd17
parent2ff18262ad41d967ebc1db71a2e94cf632ba6b5f (diff)
downloadlibrebootfr-021b7493d57a983ab0615a81c5a76428fd95a983.tar.gz
librebootfr-021b7493d57a983ab0615a81c5a76428fd95a983.zip
cros-scripts: cros-boot-keys: Print information messages
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rwxr-xr-xprojects/cros-scripts/install/cros-boot-keys6
1 files changed, 6 insertions, 0 deletions
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() {