You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/09/07 07:01:44 UTC
[GitHub] [incubator-teaclave] Agzs commented on issue #411: Got error when invoking echo function by python!
Agzs commented on issue #411:
URL: https://github.com/apache/incubator-teaclave/issues/411#issuecomment-688082790
And I use teaclave_sgx_tool and obtain its report as follows:
```
ethtest@ethtest:incubator-teaclave$ find ./ -name teaclave_sgx_tool
./build/target/untrusted/debug/teaclave_sgx_tool
./release/tool/teaclave_sgx_tool
*****************************************************************************************************************************************
ethtest@ethtest:incubator-teaclave$ ./build/target/untrusted/debug/teaclave_sgx_tool status
Vendor: GenuineIntel
CPU Model: Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz
SGX:
Has SGX: true
Has SGX1: true
Has SGX2: false
Supports ENCLV instruction leaves EINCVIRTCHILD, EDECVIRTCHILD, and ESETCONTEXT: false
Supports ENCLS instruction leaves ETRACKC, ERDINFO, ELDBC, and ELDUC: false
Bit vector of supported extended SGX features: 0x00000000
Maximum supported enclave size in non-64-bit mode: 2^31
Maximum supported enclave size in 64-bit mode: 2^36
Bits of SECS.ATTRIBUTES[127:0] set with ECREATE: 0x0000000000000036 (lower) 0x000000000000001F (upper)
EPC physical base: 0x0000000080200000
EPC size: 0x0000000005D80000 (93M)
Supports flexible launch control: true
SGX device: /dev/sgx false, /dev/isgx true
AESM service: true
Kernel module (isgx):
filename: /lib/modules/5.4.0-42-generic/kernel/drivers/intel/sgx/isgx.ko
license: Dual BSD/GPL
version: 2.6.0
author: Jarkko Sakkinen <ja...@linux.intel.com>
description: Intel SGX Driver
srcversion: F725A4ECA4194E2D2470F56
alias: acpi*:INT0E0C:*
depends:
retpoline: Y
name: isgx
vermagic: 5.4.0-42-generic SMP mod_unload
Kernel module (sgx):
modinfo: ERROR: Module sgx not found.
Kernel module (intel_sgx):
modinfo: ERROR: Module intel_sgx not found.
```
But, when I test attestation, it reports errors as follows:
```
ethtest@ethtest:incubator-teaclave$ ./build/target/untrusted/debug/teaclave_sgx_tool attestation --key XXX --spid XXX
Error: found SGX error: SGX_ERROR_ENCLAVE_FILE_ACCESS
****************************************************************************************************************************************
ethtest@ethtest:incubator-teaclave$ ./release/tool/teaclave_sgx_tool attestation --key XXX --spid XXX --url https://api.trustedservices.intel.com:443 --algorithm sgx_epid
Error: found SGX error: SGX_ERROR_ENCLAVE_FILE_ACCESS
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org