No change to the docker-compose file. The following is such output (run on the 
host btw not the dockerfile)
```
$ RUST_LOG=teaclave=debug ./teaclave_authentication_service
[2020-07-01T21:22:31Z DEBUG teaclave_binder::binder] EnclaveID: 2
[2020-07-01T21:22:31Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 
1001, 4 bytes
[2020-07-01T21:22:31Z DEBUG teaclave_service_enclave_utils] Enclave initializing
[2020-07-01T21:22:31Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point 
OK. App Received Buf: [123, 34, 79, 107, 34, 58, 110, 117, 108, 108, 125]
[2020-07-01T21:22:31Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 
1000, 32d5 bytes
[2020-07-01T21:22:31Z DEBUG teaclave_authentication_service_enclave] 
handle_invoke
[2020-07-01T21:22:31Z DEBUG teaclave_attestation::platform] init_quote
[2020-07-01T21:22:31Z ERROR teaclave_authentication_service_enclave] Failed to 
start the service: Failed to initialize quote : SGX_ERROR_SERVICE_UNAVAILABLE
[2020-07-01T21:22:31Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point 
OK. App Received Buf: [123, 34, 69, 114, 114, 34, 58, 34, 83, 101, 114, 118, 
105, 99, 101, 69, 114, 114, 111, 114, 34, 125]
[2020-07-01T21:22:31Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 
1002, 4 bytes
[2020-07-01T21:22:31Z DEBUG teaclave_authentication_service_enclave] 
handle_invoke
[2020-07-01T21:22:31Z DEBUG teaclave_service_enclave_utils] Enclave finalizing
[2020-07-01T21:22:31Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point 
OK. App Received Buf: [123, 34, 79, 107, 34, 58, 110, 117, 108, 108, 125]
[2020-07-01T21:22:31Z DEBUG teaclave_binder::binder] Dropping TeeBinder, start 
finalize().
[2020-07-01T21:22:31Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 
1002, 4 bytes
[2020-07-01T21:22:31Z DEBUG teaclave_authentication_service_enclave] 
handle_invoke
[2020-07-01T21:22:31Z DEBUG teaclave_service_enclave_utils] Enclave finalizing
[2020-07-01T21:22:31Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point 
OK. App Received Buf: [123, 34, 79, 107, 34, 58, 110, 117, 108, 108, 125]
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/377#issuecomment-652653800

Reply via email to