Skip to content

sbctl verify silently ignores kernels loaded from outside the ESP #490

@Deftera186

Description

@Deftera186

I know that the verify command describes itself as "Find and check if files in the ESP are signed or not", but users rely on it to confirm their system will boot correctly and in the current state it doesn't do that.

For example in my case I had:

  • ESP mounted at /efi (nvme0n1p1, vfat)
  • Root filesystem on / (nvme0n1p3, xfs), with kernels at /boot/kernel-*
  • GRUB on the ESP loading kernels from /boot
$ sbctl verify
Verifying file database and EFI images in /efi/...
✓ /efi/EFI/GRUB/grubx64.efi is signed

As you can see the kernels at /boot/kernel-* are not mentioned at all.

if no kernel images are detected it should at least mention that kernels may reside outside the ESP and are not being verified and prompt them to sign manually.

Somewhat related issues: #238 (more extensive verification), #24 (versioned kernels)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions