As far as I know, at first, Protected File System (FS) feature came with Windows SDk 1.7. At that time, this feature was unavailable in Linux SDK.
Recently, I checked the Linux SDK 1.9 release note and found the following statement under What's New section:
"Support for Protected File System – a basic subset of the regular ‘C’ file API for Intel SGX enclaves that provides files with both confidentiality and integrity protection ".
Apparently, Linux SDK 1.9 offers protected FS feature. If so, is there any sample project available?
I am aware that, for Windows SDK, there is a sample project here: https://software.intel.com/en-us/articles/overview-of-intel-protected-file-system-library-using-software-guard-extensions
Hi Nazmus S:
I am glad if this demo is helpful. The read function is a little different to the windows demo. I use "[count=size]" instead of "[string]", because when I use string as the windows demo, I always get the wrong content in untrusted code.