edgelesssys / ego

EGo is an open-source SDK that enables you to develop your own confidential apps in the Go programming language.
https://www.edgeless.systems/products/ego/
Mozilla Public License 2.0
512 stars 51 forks source link

EGo with softHsm connection error #199

Closed X-roz closed 1 year ago

X-roz commented 1 year ago

Issue description

When I tried with Go, I can able to connect with softHsm and retrieve the keys from the slots . But when I tried it with EGo, I got error like

could not open PKCS#11

Even though in the enclave file, I have added the "libsofthsm2.so" file as source and target details. Still it says like could not open that libsofthsm2.so file.

I am using this package : https://github.com/ThalesIgnite/crypto11

thomasten commented 1 year ago

Hi, EGo doesn't support loading of dynamic libraries, see https://docs.edgeless.systems/ego/knowledge/limitations