apache / apache/teaclave-java-tee-sdk

ErrorCode: A0001 , ErrorMessage: creating enclave failed. DetailErrorMessage: create tee sdk enclave by native calling failed

Open
#30 14 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
67
Forks
21
PR merge metrics
No merged PRs in 30d

Description

instance type: aliyun compute enhance
operation system version: Linux version 5.4.0-106-generic (buildd@lcy02-amd64-093) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04))
sgx driver have been installed,version:https://download.01.org/intel-sgx/latest/dcap-latest/linux/distro/ubuntu20.04-server/sgx_linux_x64_driver_1.41.bin
![image](https://github.com/apache/incubator-teaclave-java-tee-sdk/assets/5309752/52d2a355-c9c4-418c-833c-2186105fbba6)

according to the readme.md ,I run helloworld by the docker image falied ,show the error message below
![image](https://github.com/apache/incubator-teaclave-java-tee-sdk/assets/5309752/5c65f909-e4cc-4087-b5ff-477b7ab15c31)

and if I run helloworld ./run.sh,it show the following eorr:
![image](https://github.com/apache/incubator-teaclave-java-tee-sdk/assets/5309752/96298a5d-1d90-4e99-bd8d-51e9f6ad4b53)
I think maybe there is no file named " private final static String TEE_SDK_SIGNED_PACKAGE_PATH = "lib_tee_sdk_svm_load.signed";
"

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with README.md and the helloworld entry points described there, then compare the Docker-image path with ./run.sh. Check how the reported signed package path is resolved and whether the named package is present in the documented setup. Done means helloworld starts successfully through the documented path on the stated Linux and SGX setup without A0001.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java, linux
Domain
devops, operating-systems, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.