From 14d880119ac012cd0da95a4cb42a48e51b4ad510 Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Sun, 4 Aug 2024 23:00:11 +0100 Subject: [PATCH] GRUB2 can't do ECC (Really?) --- install-grub-security.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;