efi_signer

Crates.ioefi_signer
lib.rsefi_signer
version0.2.8
created_at2023-05-04 12:06:39.098679+00
updated_at2024-12-18 09:28:01.049256+00
descriptionA crates for signing and parsing EFI image
homepage
repositoryhttps://github.com/pkking/efi_signer/
max_upload_size
id856631
size3,025,198
lcr (pkking)

documentation

README

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
Commit count: 31

cargo fmt