# efi_signer **Repository Path**: mywaaagh_admin/efi_signer ## Basic Information - **Project Name**: efi_signer - **Description**: a pure rust library to impl EFI sign/verify - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-04-26 - **Last Updated**: 2023-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # EFI_SIGNER [![Coverage Status](https://img.shields.io/coverallsCoverage/github/pkking/efi_signer?style=flat-square)](https://img.shields.io/coverallsCoverage/github/pkking/efi_signer?style=flat-square) [![cargo](https://img.shields.io/crates/d/efi_signer?style=flat-square)](https://img.shields.io/crates/d/efi_signer?style=flat-square) [![license](https://img.shields.io/crates/l/efi_signer?style=flat-square)](https://img.shields.io/crates/l/efi_signer?style=flat-square) [![](https://img.shields.io/crates/v/efi_signer?style=flat-square)](https://img.shields.io/crates/v/efi_signer?style=flat-square) [![](https://img.shields.io/docsrs/efi_signer?style=flat-square)](https://img.shields.io/docsrs/efi_signer?style=flat-square) A pure rust library to sign/verify the EFI image. # HOWs see [examples](./examples/main.rs) ## how to sign a EFI image 1. generate certificates ```bash bash -ex scripts/make_codesign_cert.sh ``` 1. sign a EFI image ```bash ./main sign --key key.pem --cert certificate.pem shimx64.efi shimx64.efi.signed ``` ## how to parse the EFI image ```bash ./main --verbose parse shimx64.efi ```