Intel Confidential Computing
Discussion board focused on Intel Confidential Computing technologies and how they can protect data and AI security, privacy, and sovereignty.

SGX call from shell script

Ziidev
New Contributor I
1,532 Views

Hi,

I have an SGX running application. I want to run this c++ application using shell scripting. I have created a shell script that runs fine when I try to run it from the same folder where all the application data exists but when I call it from another folder, the application runs but enclave initialization does not work. What is the possible workaround? How do we call the SGX application from anywhere in our system?

0 Kudos
1 Solution
Sahira_Intel
Moderator
1,505 Views

Hi,


You will have to run the application in the same directory where all the application data exists so that the enclave is initialized.


Sincerely,

Sahira


View solution in original post

0 Kudos
1 Reply
Sahira_Intel
Moderator
1,506 Views

Hi,


You will have to run the application in the same directory where all the application data exists so that the enclave is initialized.


Sincerely,

Sahira


0 Kudos
Reply