intel / intel/confidential-computing.sgx.sdk
Segmentation fault when sign and execute in different SDK environment
Open
bug
- Dominant language
- C++
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
If we build the enclave.so in the build server with SDK2.7, and sign it in another server which has SDK2.5, then maybe run the final application in the server with SDK2.7, which is not the same as signing environment, there will be "Segmentation fault" when calling sgx_create_enclave().
This may be a known issue, but I still prefer to report it to find out whether there are some workarounds to avoid this kind of issue, for example, Could enclave.so include SDK version? if so, the sgx_sign tool which also with version information can compare the version in so file.
Contributor guide
Assessment
This issue has not been assessed yet.