Re: [apache/incubator-teaclave] How to debug Python scripts (#393)

2021-12-22 Thread wenky
> Hi, thanks for asking. This is one of our limitation for the MesaPy executor. 
> One way to debug Python scripts is to directly use the standalone MesaPy for 
> SGX. For instance, you can use the exec example 
> (https://github.com/mesalock-linux/mesapy/tree/sgx/sgx/examples/exec) to 
> develop the Python script first and then run in the Teaclave framework.
> 
> For your case, I think this is because you are using numpy, while the MesaPy 
> executor does not support numpy and many other third-party libraries 
> currently.

@mssun  hi mssun,about this example 
https://github.com/mesalock-linux/mesapy/tree/sgx/sgx/examples/exec , I have a 
question.   
I want to disable print buffer, make SGX_PRERELEASE=1 SGX_DEBUG=0, and then 
exec ./app  
but app.py  still prints some buffer, I think app.py is performed inside 
enclave,   `print(argv)
print("Hello, World!") `  should not execute successfully. So Can you 
explain why? Maybe I misunderstood. 

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

Message ID: 

Re: [apache/incubator-teaclave] How to debug Python scripts (#393)

2021-01-17 Thread master-davidlee
Hi, I want to make a delegate machine learning with TEE. How can I load the ML 
model files and run it within Teaclave? 

-- 
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/393#issuecomment-761820236

Re: [apache/incubator-teaclave] How to debug Python scripts (#393)

2020-08-05 Thread Mingshen Sun
Hi, thanks for asking. This is one of our limitation for the MesaPy executor. 
One way to debug Python scripts is to directly use the standalone MesaPy for 
SGX. For instance, you can use the exec example 
(https://github.com/mesalock-linux/mesapy/tree/sgx/sgx/examples/exec) to 
develop the Python script first and then run in the Teaclave framework.

For your case, I think this is because you are using numpy, while the MesaPy 
executor does not support numpy and many other third-party libraries currently.

-- 
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/393#issuecomment-669573976