summaryrefslogtreecommitdiff
path: root/debian/shim-signed.postinst
AgeCommit message (Collapse)Author
2026-05-17Move shim signature checks to preinstSteve McIntyre
It's safer to do it here before a new shim is installed. As we don't have any files installed at this point, we can't look up knowwn signatures from a file. Instead, we now substitute the signature fingerprints directly into shim-signed.preinst at package build time. Put the postinst back to where it was before the signature checks were added.
2026-05-17Tweak the boot check logic further: DBX sigs are fatalSteve McIntyre
If we have a sig from a key listed in DBX, don't just ignore it. Firmware should refuse to boot things in a revoked chain so we should fail here too. Tweak the output too - switch from using a boolean $SAFE value to using an error string in $SB_BOOT_ERROR so we can have more specific errors printed.
2026-05-14Update to boot check: ignore keys listed in DBXSteve McIntyre
2026-05-14Check that we can boot on the current systemSteve McIntyre
If SecureBoot is enabled, check that our shim binary is signed by at least one of the certificates enrolled in firmware.
2023-02-23postinst/postrm: make config_item() more robustSteve McIntyre
2021-07-12Tweak how we call grub-install; don't abort on errorSteve McIntyre
Not ideal behaviour either, but don't break upgrades. Copy the behaviour from the grub packages here. Closes: #990984
2021-05-06Add defensive code around calls to db_getSteve McIntyre
Don't fail if they return errors. Closes: #988114
2021-05-04Fix the old doc links for shim-signed. Closes: #988057Steve McIntyre
2021-05-04If we're not running on an EFI system then exit cleanlySteve McIntyre
in postinst and postrm. We have nothing to do here. Closes: #988059
2021-05-03Only run grub-install if we're actually running on an EFI systemSteve McIntyre
Try to avoid errors if people are doing weird things
2021-05-03Move grub-install bits from the -common postinstSteve McIntyre
There's no guarantee that it will be called when needed, so switch to the binary packages instead.
2019-05-27Separate the helper scripts into a new shim-signed-common packageSteve McIntyre
Separate this from the actual signed shim binaries so that we can sensibly support co-installability using Multi-Arch. Closes: #928486
2019-04-22For grub-install, work out the right target nameSteve McIntyre
Don't assume that we're on amd64 so we want x86_64-efi ...
2019-03-06Import Debian version 1.28debian/1.28Steve Langasek
shim-signed (1.28) unstable; urgency=medium * Initial Debian upload, based on Ubuntu package.