forked from confidential-containers/td-shim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
71 lines (61 loc) · 2.34 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[package]
name = "td-shim-tools"
version = "0.1.0"
description = "A set of tools to manipulate td-shim binary"
repository = "https://github.com/confidential-containers/td-shim"
homepage = "https://github.com/confidential-containers"
license = "BSD-2-Clause-Patent"
edition = "2018"
[[bin]]
name = "td-shim-enroll"
required-features = ["enroller"]
[[bin]]
name = "td-shim-ld"
required-features = ["linker"]
[[bin]]
name = "td-shim-sign-payload"
required-features = ["signer"]
[[bin]]
name = "td-shim-checker"
required-features = ["loader"]
[[bin]]
name = "td-shim-strip-info"
[[bin]]
name = "td-shim-tee-info-hash"
required-features = ["tee"]
[[bin]]
name = "td-payload-reference-calculator"
required-features = ["calculator"]
[dependencies]
r-efi = "3.2.0"
argparse = "0.2.2"
zeroize = "1.5.4"
regex = "1"
scroll = { version = "0.10", default-features = false, features = ["derive"]}
td-layout = { path = "../td-layout" }
td-shim = { path = "../td-shim", default-features = false }
td-shim-interface = { path = "../td-shim-interface" }
cfg-if = "1.0"
anyhow = { version = "1.0.68", optional = true }
block-padding = { version = "0.3.2", optional = true }
clap = { version = "4.0", features = ["cargo"], optional = true }
der = { version = "0.4.5", features = ["oid"], optional = true }
env_logger = { version = "0.10", optional = true }
log = { version = "0.4.5", optional = true }
td-loader = { path = "../td-loader", optional = true }
ring = { version = "0.17.6", optional = true }
serde_json = { version = "1.0", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
hex = { version = "0.4", features = ["serde"], optional = true }
sha2 = { version = "0.10.2", optional = true }
byteorder = { version = "1.4.3", optional = true }
parse_int = { version = "0.6.0", optional = true }
[features]
default = ["enroller", "linker", "signer", "loader", "tee", "calculator"]
enroller = ["clap", "der", "env_logger", "log", "ring", "td-shim/secure-boot"]
linker = ["clap", "env_logger", "log", "parse_int", "serde_json", "serde", "td-loader"]
signer = ["clap", "der", "env_logger", "log", "ring", "td-shim/secure-boot"]
loader = ["clap", "env_logger", "log", "anyhow"]
tee = ["clap", "env_logger", "log", "serde_json", "serde", "hex", "sha2", "byteorder"]
calculator = ["clap", "hex", "parse_int", "sha2", "anyhow", "block-padding"]
exec-payload-section = []