Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
114 changes: 105 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions confidential-data-hub/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ TARGET_DIR := ../target
BIN_NAME := confidential-data-hub

ONE_SHOT ?= false
GUEST_SERVICES ?= false

SOURCE_ARCH := $(shell uname -m)
RPC ?= ttrpc
Expand All @@ -37,6 +38,10 @@ ifeq ($(ONE_SHOT), true)
binary = --bin cdh-oneshot
features += bin
binary_name = cdh-oneshot
else ifeq ($(GUEST_SERVICES), true)
binary = --bin guest-services
features += bin,ttrpc
binary_name = guest-services
else ifeq ($(RPC), ttrpc)
binary = --bin ttrpc-cdh
features += bin,ttrpc
Expand Down
6 changes: 6 additions & 0 deletions confidential-data-hub/hub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ required-features = ["bin", "grpc"]
name = "cdh-oneshot"
required-features = ["bin"]

[[bin]]
name = "guest-services"
required-features = ["bin", "ttrpc"]

[[bin]]
name = "secret"
path = "src/bin/secret_cli.rs"
Expand All @@ -44,6 +48,8 @@ crypto.path = "../../attestation-agent/deps/crypto"
env_logger = { workspace = true, optional = true }
image-rs = { path = "../../image-rs", default-features = false, features = ["kata-cc-rustls-tls"] }
kms = { path = "../kms", default-features = false }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
log.workspace = true
prost = { workspace = true, optional = true }
protobuf = { workspace = true, optional = true }
Expand Down
Loading
Loading