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
Débutant
2 081 Visites

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 Compliments
2 Réponses
Junli_S_Intel
Employé
2 081 Visites

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 Compliments
Yin__Hang
Débutant
2 081 Visites

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 Compliments
Répondre