From 0c46e4ad32a985dbb52d843e2aa74531fc233f05 Mon Sep 17 00:00:00 2001 From: Noor Date: Thu, 6 Mar 2025 18:11:54 +0000 Subject: [PATCH] Enhance logging in deploy_enclave function to include hratls_pubkey --- src/container.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/container.rs b/src/container.rs index ea05c92..22676ef 100644 --- a/src/container.rs +++ b/src/container.rs @@ -14,7 +14,11 @@ pub fn deploy_enclave( .collect::>() .join(" "); - info!("Deploying enclave: {:?}", enclave_path); + info!( + "Deploying enclave: {:?} with hratls: {:?}", + enclave_path, hratls_pubkey + ); + // TODO: docker limit resources let docker_deploy_str = format!( r#"docker run -d --name {container_name_uuid} -v {enclave_path}:/enclave_package \ --device /dev/sgx/enclave --device /dev/sgx/provision \