-
Notifications
You must be signed in to change notification settings - Fork 25
Requires libsgx_urts.so to run in SGX hardware mode #93
Comments
Right, we need to install a driver and a platform software (PSW) in addition to the SDK to run the command in the hardware mode. We can update the README to ask a user to install these packages based on the Intel's Installation Guide. @Naoya-Horiguchi Are you creating a patch for this? Shall I do this? |
@ynamiki, I'll work on this. |
Please check if we actually need to install PSW. MinBFT doesn't seem to use any of PSW features. If I remember correctly, it was enough to install SGX driver prior to SDK to make hardware libraries available. |
@sergefdrv, thanks for the comment. Actually
So adding another path |
@Naoya-Horiguchi thanks for investigating that. I think it would be enough to simply change |
When I tried to include
This error message is self-descriptive and also mentioned here. We have to use the reliable version distributed with PSW library and can't use one in SGX SDK. So my current approach doesn't work 😟. Another point is that I think we don't need to create If these points sound OK, I'll update related part in README. |
@Naoya-Horiguchi Thanks for the analysis. Indeed, we seem to have to install PSW, then. So we need to mention this in Readme file.
It might be a bit inconvenient to invoke |
@sergefdrv I'll update #95 with this direction. Thanks for sharing ideas. |
closes by merging #96. |
Current installation procedure seems to cover only cases of running in SGX simulation mode. I saw the following error in running
keytool generate
withSGX_MODE=HW
:libsgx_urts_sim.so
for simulation mode is installed by SGX SDK installersgx_linux_x64_sdk_2.3.101.46683.bin
, andlibsgx_urts.so
for hardware mode is delivered bylibsgx-enclave-common_2.3.101.46683-1_amd64.deb
. So we might be better to add some instruction for users who want to run MinBFT in hardware mode.The text was updated successfully, but these errors were encountered: