-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathCargo.toml
48 lines (44 loc) · 1.61 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "pe-sign"
version = "0.1.10"
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 = { version = "0.4.38", default-features = false, features = ["std", "clock"] }
num-traits = "0.2.19"
reqwest = { version = "0.12.8", default-features = false, features = ["blocking"] }