diff --git a/src/sgx/grpc_dtpm.rs b/src/sgx/grpc_dtpm.rs index c2a5674..6930279 100644 --- a/src/sgx/grpc_dtpm.rs +++ b/src/sgx/grpc_dtpm.rs @@ -63,11 +63,7 @@ pub async fn connect_dtpm_grpc_client( .enable_http2() .build(); - let channel = Endpoint::from_shared(hratls_uri)? - // .tls_config(client_tls_config.into())? - .connect_with_connector(connector) - .await - .unwrap(); + let channel = Endpoint::from_shared(hratls_uri)?.connect_with_connector(connector).await?; Ok(DtpmConfigManagerClient::new(channel)) } @@ -79,7 +75,6 @@ pub async fn attest_and_send_config(loaded_config: DtpmConfig, uuid: &str) -> Re log::trace!("Decoded the configuration... {:?}", req_data); let (hratls_uri, mr_enclave) = hratls_url_and_mr_enclave_from_app_id(uuid).await; - log::info!("hratls uri: {}\nmr_enclave: {:?}", &hratls_uri, &mr_enclave); let client = connect_dtpm_grpc_client(hratls_uri, mr_enclave).await?; diff --git a/src/sgx/mod.rs b/src/sgx/mod.rs index 80c9662..4169e28 100644 --- a/src/sgx/mod.rs +++ b/src/sgx/mod.rs @@ -186,7 +186,7 @@ pub struct AppDeployResponse { impl crate::HumanOutput for AppDeployResponse { fn human_cli_print(&self) { - println!("App deployd with UUID: {}, App Name: {}", self.uuid, self.name); + println!("The application got deployed under the UUID: {}", self.uuid); } }