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

Redistribute compiled binary in development mode

Yin__Hang
Beginner
2,097 Views

Hi all,

I'm trying to create a binary to test hardware. I compiled my binary in hardware mode with a development cert. It can create enclave without any problem. However when I transfer the compiled binary to another computer with PSW and SGX Driver installed, it complained "SGX_ERROR_UNEXPECTED" when initializing the enclave. Does it mean the development binary are bonded to the host CPU? Did I make any mistake?

Looking for advise.

 

Thanks!

0 Kudos
2 Replies
Junli_S_Intel
Employee
2,097 Views

NO, the development binary is NOT bonded to the host CPU.  Can you confirm that your two environment use the same version PSW ? And could you confirm that the SGX has been enabled in the platform?

0 Kudos
Yin__Hang
Beginner
2,097 Views

Thanks for the quick reply. Indeed I made a mistake. I installed a wrong version of PSW (2.8 vs 2.7). After reinstall the PSW everything worked like a charm!

0 Kudos
Reply