Enhance logging in deploy_enclave function to include hratls_pubkey

This commit is contained in:
Noor 2025-03-06 18:11:54 +00:00
parent 6f92688a3c
commit 0c46e4ad32
Signed by: noormohammedb
GPG Key ID: E424C39E19EFD7DF

@ -14,7 +14,11 @@ pub fn deploy_enclave(
.collect::<Vec<_>>()
.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 \