| Crates.io | efi_signer |
| lib.rs | efi_signer |
| version | 0.2.8 |
| created_at | 2023-05-04 12:06:39.098679+00 |
| updated_at | 2024-12-18 09:28:01.049256+00 |
| description | A crates for signing and parsing EFI image |
| homepage | |
| repository | https://github.com/pkking/efi_signer/ |
| max_upload_size | |
| id | 856631 |
| size | 3,025,198 |
A pure rust library to sign/verify the EFI image.
see examples
generate certificates
bash -ex scripts/make_codesign_cert.sh
sign a EFI image
./main sign --key key.pem --cert certificate.p7b shimx64.efi shimx64.efi.signed
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
./main --verbose parse shimx64.efi