Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Domenico Panella authored and Domenico Panella committed Oct 10, 2020
1 parent 123d0aa commit 1825798
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion mklive.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,13 @@ generate_isolinux_boot() {

dosign() {
print_step "Signing $2..."
sbsign --key $DBKEY --cert $DBCRT --output "$1".signed "$1"

if ! sbsign --key "$DBKEY" --cert "$DBCRT" --output "$1.signed" "$1"; then
die "Failed to sign $2"
fi
if ! sbverify --cert "$DBCRT" "$1.signed"; then
die "failed to verify the signature"
fi
}

generate_grub_efi_boot() {
Expand Down

0 comments on commit 1825798

Please sign in to comment.