intel / intel/confidential-computing.sgx.sdk
Simulation mode doesn't support KSS feature
- Dominant language
- C++
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to use KSS isv_family_id to pass some information to enclave instance.
It works well on HW mode.
In simulation mode, the value is set to Enclave.xml and building looks succesful, but when running the enclave, it always return all 0 for reading sgx_report_t.body.isv_family_id.
```
.....
1
0
0
454118839929865087
15573749149701824049
```
Contributor guide
Research direction
Start with the Enclave.xml configuration and reproduce the issue in simulation mode, then compare it with HW mode while reading sgx_report_t.body.isv_family_id. Trace where the KSS configuration is consumed and where the report field is populated. Done means the configured ISVFAMILYID value is preserved when the enclave runs in simulation mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100