Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,27 @@ dependencies = [
"tracing-subscriber",
]

[[package]]
name = "cvmutil"
version = "0.0.0"
dependencies = [
"base64 0.22.1",
"clap",
"ctrlc",
"getrandom 0.3.3",
"inspect",
"ms-tpm-20-ref",
"openssl",
"sha2",
"tempfile",
"tpm_lib",
"tpm_resources",
"tracing",
"tracing-subscriber",
"tracing_helpers",
"zerocopy",
]

[[package]]
name = "debug_ptr"
version = "0.0.0"
Expand Down
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ members = [
"vm/loader/igvmfilegen",
"vm/vmgs/vmgs_lib",
"vm/vmgs/vmgstool",
"vm/cvmutil",
# opentmk
"opentmk",
]
Expand Down Expand Up @@ -374,6 +375,7 @@ vmgs = { path = "vm/vmgs/vmgs" }
vmgs_broker = { path = "vm/vmgs/vmgs_broker" }
vmgs_format = { path = "vm/vmgs/vmgs_format" }
vmgs_resources = { path = "vm/vmgs/vmgs_resources" }
cvmutil = { path = "vm/cvmutil" }
watchdog_core = { path = "vm/devices/watchdog/watchdog_core" }
watchdog_vmgs_format = { path = "vm/devices/watchdog/watchdog_vmgs_format" }
whp = { path = "vm/whp" }
Expand Down
31 changes: 31 additions & 0 deletions vm/cvmutil/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

[package]
name = "cvmutil"
edition.workspace = true
rust-version.workspace = true

[features]

[dependencies]
ms-tpm-20-ref.workspace = true
inspect.workspace = true
getrandom.workspace = true
tracing.workspace = true
tracing_helpers.workspace = true
tracing-subscriber.workspace = true
tpm_lib.workspace = true
tpm_resources.workspace = true
zerocopy.workspace = true
clap = { workspace = true, features = ["derive"] }
sha2.workspace = true
base64.workspace = true
openssl.workspace = true
ctrlc.workspace = true

[dev-dependencies]
tempfile.workspace = true

[lints]
workspace = true
Loading
Loading