Skip to content

a pure rust crate that can do/parse Microsoft Authenticode codesign signature

License

Notifications You must be signed in to change notification settings

pkking/efi_signer

Folders and files

NameName
Last commit message
Last commit date
Dec 18, 2024
Dec 18, 2024
Dec 18, 2024
Dec 18, 2024
Dec 18, 2024
May 17, 2023
Dec 18, 2024
Apr 26, 2023
Dec 18, 2024
Dec 18, 2024

Repository files navigation

EFI_SIGNER

Coverage Status cargo license

A pure rust library to sign/verify the EFI image.

HOWs

see examples

how to sign a EFI image

  1. generate certificates

    bash -ex scripts/make_codesign_cert.sh
  2. sign a EFI image

    ./main sign --key key.pem --cert certificate.p7b shimx64.efi shimx64.efi.signed
  3. sign a EFI image with detached signature

    ./main sign --key key.pem --cert certificate.p7b -d shimx64.efi efi.signed

    the efi.signed file will onlyl contain the signature itself which can be used by set_authenticode

how to parse the EFI image

./main --verbose parse shimx64.efi

About

a pure rust crate that can do/parse Microsoft Authenticode codesign signature

Resources

License

Stars

Watchers

Forks

Packages

No packages published