4 ms·
Isn't this the point of secureboot? Shim/Hashtool both work with systemd-boot, you can/must sign it yourself. If you are talking about editing config, you just
by kd913 6y ago
Isn't this the point of secureboot? Shim/Hashtool both work with systemd-boot, you can/must sign it yourself.
If you are talking about editing config, you just disable it in the config (editor no) and then nobody can just add an entry at random during the boot process.
Seems pretty simple to me.
- g_p 6y agoSecure boot will ensure the bootloader binary itself is signed, but won't do anything for the config itself for obvious reasons. I was working on a high assurance scenario though, so I think my meaning of tamper resistance differed significantly from the above post. I found the editor option, but the issue was that the config file could be edited offline to enable it again. Stripping the whole feature out of the binary solved the issue for what I needed. I guess it just goes to show there's a broad spectrum of interpretations of tamper resistance. If you're using dm-verity for example, you want to protect your cmdline parameters to at least the level of security offered by secure boot.