-
Notifications
You must be signed in to change notification settings - Fork 93
Avalon does not work with the master branch of Graphene #761
Comments
By looking at the command, you seem to be getting this issue while running fibonacci workload (without Avalon). |
Hi @manju956 , sgx.allow_file_creation = 1
# Set the virtual memory size of the SGX enclave. For SGX v1, the enclave
# size must be specified upfront. If Python worker needs more
# virtual memory than the enclave size, Graphene will not be able to
# allocate it.
sgx.enclave_size = "256M"
sgx.thread_num = 8
sgx.file_check_policy = "allow_all_but_log"
# Request remote attestation functionality from Graphene
sgx.remote_attestation = 1
# Specify your SPID and linkable/unlinkable attestation policy
sgx.ra_client_spid = "4559436813665C99DF8EE1BA9FDA3868"
sgx.ra_client_linkable = 1 However, I had to make some changes to the build_gsc_python_worker.sh to make it compatible with the latest version of graphene. Here in the latest gsc.py file, it expects only one manifest file. So in the build_gsc_python_worker.sh file, I made the following changes from lines numbers 40-63: # Manifest files
MANIFEST_FILE="${TCF_HOME}/tc/graphene/python_worker/graphene_sgx/manifest/python.manifest"
# Build image
echo "Build unsigned GSC image"
./gsc build --insecure-args $IMAGE_NAME $MANIFEST_FILE |
Description of the issue
Avalon is not working with the latest master of Graphene due to an issue with importing the crypto libraries required by Avalon. While starting the python worker, it is crashing while importing the pyCryptodome library.
Steps to reproduce
Follow the steps to build the python worker here and then start it by running:
Expected Results
All the libraries should be imported and the code should run properly.
Actual Results
The python worker crashes with the following error while importing the Cryptodome library:
The text was updated successfully, but these errors were encountered: