diff --git a/install-grub-security.sh b/install-grub-security.sh index 040b841..080b31d 100755 --- a/install-grub-security.sh +++ b/install-grub-security.sh @@ -11,7 +11,7 @@ sudo 7za x -o/etc grub.d.my.7z -y; sudo chmod +x /etc/grub.d/*; sudo cp sbat /root/sbat -f; if [ ! -f /root/pubkey ]; then - sudo gpg --batch --passphrase '' --quick-gen-key root@localhost default default; + sudo gpg --batch --passphrase '' --quick-gen-key root@localhost rsa3072 default; sudo gpg --export -o /root/pubkey; fi sudo cp /root/pubkey /boot/pubkey -f;