apache / incubator-teaclave-java-tee-sdk

Apache Teaclave (incubating) Java TEE SDK is an open source universal confidential computing framework, making java computation on privacy-sensitive data safe and simple.
https://teaclave.apache.org
Apache License 2.0
50 stars 15 forks source link

工厂创建TEE_SDK模式空指针 #38

Open rogueVpedro opened 3 months ago

rogueVpedro commented 3 months ago

![Uploading image.png…]()

创建的lib_tee_sdk_svm_load.signed的临时文件是个空文件,导致文件流空指针异常,无法创建TEE_SDK的实例。请问如何解决?

ziyilin commented 3 months ago

Can you provide the exception stack trace and the steps to reproduce your issue?

rogueVpedro commented 3 months ago

Can you provide the exception stack trace and the steps to reproduce your issue?

Can you provide the exception stack trace and the steps to reproduce your issue?

Hello, the null pointer error has been placed below. We conducted testing based on the Docker pulled image from Ubuntu

rogueVpedro commented 3 months ago

Can you provide the exception stack trace and the steps to reproduce your issue?

If you could help solve this problem, I would greatly appreciate it!

rogueVpedro commented 3 months ago

Can you provide the exception stack trace and the steps to reproduce your issue?

ead39fd6f80818d132f64a6026dfc47 null point trace

We tried to call the interface using the sgx TEE_SDK mode after compilation, but the result failed

ziyilin commented 3 months ago

Can't see your image.

rogueVpedro commented 3 months ago

ead39fd6f80818d132f64a6026dfc47 null point trace

ziyilin commented 3 months ago

Looks like lib_tee_sdk_svm_load.signed is missed. It is a signed file for the enclave native image. It should be generated after enclave native image is built out. Please check if you have encountered any build time issue causing the miss of lib_tee_sdk_svm_load.signed file.