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/06/16 19:50:07 UTC

[GitHub] [incubator-teaclave] mssun commented on issue #358: Could teaclave be used to protect a custom algorithm?

mssun commented on issue #358:
URL: https://github.com/apache/incubator-teaclave/issues/358#issuecomment-644977308


   Yes, definitely.
   
   We have two typical function executors: Python script executor (language interpreter) and built-in function executor (native function). These should be discussed separately.
   
   For the Python executor, basically, a python script (which implement the proprietary algorithm) is treated as a secret data and executed at runtime. In this case, 3rd party (i.e., service provider) does not know the function.
   
   For built-in functions, the code (e.g., proprietary algorithm implementations) is compiled into the execution service. To protect this kind of functions, we can utilize the Intel PCL (Protected Code Loader) feature which is intended to protect Intellectual Property (IP) within the code for Intel SGX enclave applications [1]. We also have sample code using our Rust SGX SDK. Therefore, to integrate this method to the Teaclave platform, we can make some changes on the execution service enclave to support PCL.
   
   - [1] https://github.com/intel/linux-sgx/tree/master/SampleCode/SampleEnclavePCL/
   - [2] https://github.com/apache/incubator-teaclave-sgx-sdk/tree/master/samplecode/pcl


----------------------------------------------------------------
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