| Crates.io | signtool |
| lib.rs | signtool |
| version | 1.2.0 |
| created_at | 2023-03-22 14:36:03.695857+00 |
| updated_at | 2024-05-28 07:41:21.059145+00 |
| description | Simplify using SignTool to sign Windows executables |
| homepage | |
| repository | https://github.com/SecSamDev/signtool-rs |
| max_upload_size | |
| id | 817206 |
| size | 14,343 |
A library to simplify the usage of Microsoft code signing library (SignTool) for Rust. Inspired by rust-codesign
This library is a convenience wrapper around Microsoft's signing tool and requires the Windows SDK to be installed.
let signtool = signtool::SignTool::new().unwrap();
signtool.sign(std::path::Path::new("my_exe.exe"), &SignParams::Thumbprint(ThumbprintParams {
digest_algorithm: SignAlgorithm::Sha256,
certificate_thumbprint: format!("1fcd13024cf4a254440963990704f207030bf694"),
timestamp_url: TimestampUrl::Comodo,
})).unwrap();