[package] name = "pe-sign" version = "0.1.9" edition = "2021" authors = ["REinject"] homepage = "https://github.com/0xlane/pe-sign" repository = "https://github.com/0xlane/pe-sign" description = """ pe-sign is a cross-platform tool developed in Rust, designed for parsing and verifying digital signatures in PE files. It provides a simple command-line interface that supports extracting certificates, verifying digital signatures, calculating Authenticode digests, and printing certificate information. """ keywords = ["portable-executable", "blue-team", "signature", "certificate", "openssl"] categories = ["command-line-utilities", "no-std", "authentication", "parsing"] readme = "README.md" license-file = "LICENSE" exclude = [ "src/examples/*", ".github/*", ] [lib] name = "pesign" path = "src/lib.rs" [[bin]] name = "pesign" path = "src/main.rs" required-features = ["build-binary"] [features] build-binary = ["dep:clap", "dep:pretty-hex"] [dependencies] clap = { version = "4.5.17", optional = true } pretty-hex = { version = "0.4.1", optional = true } cms = { version = "0.2.3", features = ["std"] } der = { version = "0.7.9", features = ["derive"] } digest = { version = "0.10.7", features = ["oid"] } pem-rfc7468 = { version = "1.0.0-rc.1", features = ["std"] } rsa = "0.9.6" sha1 = { version = "0.10.6", features = ["oid"] } sha2 = { version = "0.10.8", features = ["oid"] } x509-cert = { version = "0.2.5", features = ["sct"] } chrono = "0.4.38" num-traits = "0.2.19" reqwest = { version = "0.12.8", features = ["blocking"] }