hi-T0day opened a new issue #196: sgx_tcrypto_helper crate is incompatible with MesaTEE. URL: https://github.com/apache/incubator-teaclave/issues/196 ### Error: One of the rust-sgx-sdk crates: sgx_tcrypto_helper can not be compiled when I code the sgx_trusted_worker. ### step1: I add this line `sgx_tcrypto_help = { version = "1.1.0" }` in the file: `mesatee_services/fns/sgx_trusted_lib/Cargo.toml`. Here is the error: ``` error: couldn't read /home/t0day/Desktop/mesa-project/incubator-teaclave-12-27/build/cmake_tomls/sgx_trusted_lib/third_party/crates-sgx/vendor/sgx_tcrypto_helper/../sgx_crypto_helper/src/lib.rs: No such file or directory (os error 2) ``` ### step2: So I add `sgx_crypto_helper = { git = "https://github.com/apache/teaclave-sgx-sdk", rev = "v1.1.0" }` in the file: `third_party/crates-sgx/Cargo.toml` Next, `make all` in this folder. An error occurs again: ``` error: failed to sync Caused by: found duplicate version of package `rdrand v0.6.0` vendored from two sources: source 1: https://github.com/mesalock-linux/rust_rdrand-sgx#cc6ba9a3 source 2: registry `https://github.com/rust-lang/crates.io-index` Makefile:2: recipe for target 'all' failed make: *** [all] Error 101 ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
