<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Wrapping Python Interpreter in C to Run Python modules in Enclave? in Intel Confidential Computing</title>
    <link>https://community.intel.com/t5/Intel-Confidential-Computing/Wrapping-Python-Interpreter-in-C-to-Run-Python-modules-in/m-p/1155662#M2734</link>
    <description>&lt;P&gt;We have some Python programs that may prove difficult to rewrite in another language, but they contain a number of algorithms and data we would like to protect within something like the SGX enclave.&amp;nbsp; Assuming limited rewrites such that the Python code that needs protection is not making system calls and doing everything in memory, can a C program compiled with the Python interpreter and Python modules run in an SGX enclave?&amp;nbsp; What would be the caveats to doing so?&amp;nbsp; Some references that cause me to consider this are:&lt;/P&gt;&lt;P&gt;"Embedding Python in Your C Programs" (https://www.linuxjournal.com/article/8497)&lt;/P&gt;&lt;P&gt;"Calling Python Functions from C" (https://docs.python.org/2.5/ext/callingPython.html)&lt;/P&gt;&lt;P&gt;On the flip side, to limit rewrites of Python code, is there any reason I can't call an untrusted C program from a Python program in order to launch C-enclave modules into the SGX enclave?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Nov 2018 18:19:53 GMT</pubDate>
    <dc:creator>Harris__David</dc:creator>
    <dc:date>2018-11-09T18:19:53Z</dc:date>
    <item>
      <title>Wrapping Python Interpreter in C to Run Python modules in Enclave?</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/Wrapping-Python-Interpreter-in-C-to-Run-Python-modules-in/m-p/1155662#M2734</link>
      <description>&lt;P&gt;We have some Python programs that may prove difficult to rewrite in another language, but they contain a number of algorithms and data we would like to protect within something like the SGX enclave.&amp;nbsp; Assuming limited rewrites such that the Python code that needs protection is not making system calls and doing everything in memory, can a C program compiled with the Python interpreter and Python modules run in an SGX enclave?&amp;nbsp; What would be the caveats to doing so?&amp;nbsp; Some references that cause me to consider this are:&lt;/P&gt;&lt;P&gt;"Embedding Python in Your C Programs" (https://www.linuxjournal.com/article/8497)&lt;/P&gt;&lt;P&gt;"Calling Python Functions from C" (https://docs.python.org/2.5/ext/callingPython.html)&lt;/P&gt;&lt;P&gt;On the flip side, to limit rewrites of Python code, is there any reason I can't call an untrusted C program from a Python program in order to launch C-enclave modules into the SGX enclave?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 18:19:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/Wrapping-Python-Interpreter-in-C-to-Run-Python-modules-in/m-p/1155662#M2734</guid>
      <dc:creator>Harris__David</dc:creator>
      <dc:date>2018-11-09T18:19:53Z</dc:date>
    </item>
  </channel>
</rss>

