Skip to content
Merged
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
112 changes: 108 additions & 4 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions awsenc-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ pub(crate) static TEST_ENV_MUTEX: std::sync::Mutex<()> = std::sync::Mutex::new((
#[tokio::main]
#[allow(clippy::print_stderr)]
async fn main() {
enclaveapp_core::process::harden_process();

let filter = tracing_subscriber::EnvFilter::try_from_env("AWSENC_LOG")
.unwrap_or_else(|_| tracing_subscriber::EnvFilter::new("warn"));

Expand Down
1 change: 1 addition & 0 deletions awsenc-tpm-bridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ path = "src/main.rs"
workspace = true

[dependencies]
enclaveapp-core = { workspace = true }
enclaveapp-tpm-bridge = { workspace = true }
2 changes: 2 additions & 0 deletions awsenc-tpm-bridge/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

#[allow(clippy::print_stderr)]
fn main() {
enclaveapp_core::process::harden_process();

let mut server = enclaveapp_tpm_bridge::BridgeServer::new("awsenc", "cache-key");
if let Err(e) = server.run_stdio() {
eprintln!("{e}");
Expand Down