mirror of
https://github.com/Bandie/grub2-signing-extension.git
synced 2024-04-01 15:51:26 +00:00
Using gpg's passphrase request; new script.
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
#!/bin/bash
|
||||
# grub2-unsign
|
||||
# Unsigns every file in /boot. Depends on grub2-verify
|
||||
# Author: Bandie Kojote
|
||||
# Author: Bandie
|
||||
# Licence: GNU-GPLv3
|
||||
|
||||
# Check if something is wrong
|
||||
if ! grub2-verify; then
|
||||
printf '%s\n' "grub2-verify has detected a one or more bad signatures." "Please check for malicious software before you're unsigning everything!" >&2
|
||||
exit 1
|
||||
printf '%s\n' "grub2-verify has detected a one or more bad signatures." "Please check for malicious software before you're unsigning everything!" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Then remove the signatures.
|
||||
|
Reference in New Issue
Block a user