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

SGX Protected FS returning NULL

__260
Beginner
2,687 Views

Team,
Tried to read a file stored on disk using Intel SGX protected File system function fopen_auto_key(). But the file pointer is returning null. Unable to read the file.
The code I'm using,

SGX_FILE* fp = sgx_fopen_auto_key("sealed_file.txt", "r+");

Kindly help to figure out the possible issue.

0 Kudos
1 Reply
Sahira_Intel
Moderator
2,651 Views

Hi,

Are you specifying the full path of the file in the first argument?


Sincerely,

Sahira


0 Kudos
Reply