mirror of
https://github.com/Bandie/grub2-signing-extension.git
synced 2024-04-01 15:51:26 +00:00
gcry_sha512 in README
This commit is contained in:
parent
a582827367
commit
d04a4e5151
@ -46,7 +46,7 @@ Before you can use the signing and verification feature you need to generate a k
|
|||||||
- Export your public key through running `gpg --export -o ~/pubkey`.
|
- Export your public key through running `gpg --export -o ~/pubkey`.
|
||||||
- `mount /boot` (assuming your /boot partition is in your /etc/fstab)
|
- `mount /boot` (assuming your /boot partition is in your /etc/fstab)
|
||||||
- (Re)install GRUB2. The following command will install root's public key into the core and instruct to load the modules `gcry_sha256`, `gcry_sha512` `gcry_dsa` and `gcry_rsa` at start so that GRUB2 will be able to do verifications. GRUB2 will take the right crypto for you then, depending on your system's configuration.
|
- (Re)install GRUB2. The following command will install root's public key into the core and instruct to load the modules `gcry_sha256`, `gcry_sha512` `gcry_dsa` and `gcry_rsa` at start so that GRUB2 will be able to do verifications. GRUB2 will take the right crypto for you then, depending on your system's configuration.
|
||||||
- `grub-install /dev/sda -k /root/pubkey --modules="gcry_sha256 gcry_dsa gcry_rsa"`
|
- `grub-install /dev/sda -k /root/pubkey --modules="gcry_sha256 gcry_sha512 gcry_dsa gcry_rsa"`
|
||||||
- Enable GRUB2's check\_signatures feature:
|
- Enable GRUB2's check\_signatures feature:
|
||||||
- Insert the following content at the end of the file of */etc/grub.d/00_header*
|
- Insert the following content at the end of the file of */etc/grub.d/00_header*
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user