intel / intel/confidential-computing.sgx.sdk
Does the enclaves signer wants a static or shared library?
- Dominant language
- C++
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to sign an enclave library that I have created that includes a Haskell runtime and other facilities. I was wondering what input does the signer require to sign the enclave library? Is it a shared library or a static one? In here: https://github.com/intel/linux-sgx/blob/master/psw/urts/parser/elfparser.cpp#L145-L149 I see that the ELF parser looks for the ET_DYN header, which indicated the need for a shared library. However, example projects that I have seen create a static linked library and then signs it. I wonder what is the desired input.
Contributor guide
Research direction
Start with psw/urts/parser/elfparser.cpp around lines 145-149 and compare its ET_DYN check with the example projects that build static libraries before signing. Determine which library form the signer accepts for an enclave containing a Haskell runtime, then document the expected input and reconcile the examples with the parser behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, haskell
- Domain
- security
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100