gdamjan / secure-boot

UEFI SecureBoot for ArchLinux
59 stars 3 forks source link

Sign fwupd installs #8

Closed KenMacD closed 5 years ago

KenMacD commented 6 years ago

fwupd requires /usr/lib/fwupd/efi/fwupdx64.efi.signed to work. It would be helpful if the signing of this package was added.

gdamjan commented 6 years ago

I use fwupd too. I used this command to sign it:

sudo sbsign --key /etc/secure-boot/db.key --cert /etc/secure-boot/db.crt -o /usr/lib/fwupd/efi/fwupdx64.efi.signed /usr/lib/fwupd/efi/fwupdx64.efi

any suggestions what level of integration you'd like? I could add a secure-boot fwupd or?

KenMacD commented 6 years ago

Thank you, It's now signed, but I know I'm going to forget to sign the new version when it's updated, so I was mainly looking for a pacman hook.

gdamjan commented 6 years ago

I guess it doesn't hurt to add the hook in the package

gdamjan commented 6 years ago

something like this? https://github.com/gdamjan/secure-boot/commit/813db2467ca2aa8b7a98c5990cabf9729adb713d

KenMacD commented 6 years ago

Looks great to me!

gdamjan commented 5 years ago

Sorry for out-of-date aur version, I'm trying to consolidate the master branch here, and the AUR branch there. not the easiest thing to do :/