Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundles generated with -s can be signed again #225

Open
hexchain opened this issue Jun 26, 2023 · 0 comments
Open

Bundles generated with -s can be signed again #225

hexchain opened this issue Jun 26, 2023 · 0 comments

Comments

@hexchain
Copy link
Contributor

It seems bundles can be signed twice:

% sudo sbctl list-bundles
Enrolled bundles:

/boot/EFI/arch/linux.efi
        Signed:         ✓ Signed
        ESP Location:   /boot
        Output:         └─/EFI/arch/linux.efi
        EFI Stub Image:   └─/usr/lib/systemd/boot/efi/linuxx64.efi.stub
        Splash Image:       ├─/usr/share/systemd/bootctl/splash-arch.bmp
        Cmdline:            ├─/etc/kernel/cmdline
        OS Release:         ├─/usr/lib/os-release
        Kernel Image:       ├─/boot/vmlinuz-linux
        Initramfs Image:    └─/boot/initramfs-linux.img
        AMD Microcode:        └─/boot/amd-ucode.img
% sudo sbctl generate-bundles -s
Generating EFI bundles....
Wrote EFI bundle /boot/EFI/arch/linux.efi
✓ Signed /boot/EFI/arch/linux.efi
% sudo sbctl sign /boot/EFI/arch/linux.efi
✓ Signed /boot/EFI/arch/linux.efi
% sudo sbctl sign /boot/EFI/arch/linux.efi
File has already been signed /boot/EFI/arch/linux.efi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant