Re: [apache/incubator-teaclave] Is it possible to run rusty-leveldb on top of teaclave-sgx-sdk (#513)

2021-06-25 Thread Mingshen Sun
I'm closing this issue. Feel free to reopen or create a new one if needed. Thanks! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/513#issuecomment-868703197

Re: [apache/incubator-teaclave] Is it possible to run rusty-leveldb on top of teaclave-sgx-sdk (#513)

2021-06-24 Thread Yizheng Jiao
Thanks for your clarification. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/513#issuecomment-867972224

Re: [apache/incubator-teaclave] Is it possible to run rusty-leveldb on top of teaclave-sgx-sdk (#513)

2021-06-24 Thread Mingshen Sun
We have ported the `rusty-leveldb` into SGX hosted here: https://github.com/apache/incubator-teaclave/tree/master/common/rusty_leveldb_sgx. For the SGX SDK, we are using vendored Teaclave SGX SDK version 1.1.2. > According to the Cargo.toml file, it seems it uses mesalock_sgx, instead of >

Re: [apache/incubator-teaclave] Is it possible to run rusty-leveldb on top of teaclave-sgx-sdk (#513)

2021-06-24 Thread Yizheng Jiao
@mssun , thank you so much for the pointer. I am wondering what sgx sdk, rusty-leveldb is using? According to the Cargo.toml file, it seems it uses mesalock_sgx, instead of teaclave-sgx-sdk (https://github.com/apache/incubator-teaclave-sgx-sdk), correct? -- You are receiving this because

Re: [apache/incubator-teaclave] Is it possible to run rusty-leveldb on top of teaclave-sgx-sdk (#513)

2021-06-24 Thread Mingshen Sun
Yes, absolutely. Here is an example of how we use `rusty-leveldb` in SGX: https://github.com/apache/incubator-teaclave/blob/master/services/storage/enclave/Cargo.toml#L36 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[apache/incubator-teaclave] Is it possible to run rusty-leveldb on top of teaclave-sgx-sdk (#513)

2021-06-24 Thread Yizheng Jiao
I am wondering if it is possible to run rusty-leveldb on top of teaclave-sgx-sdk. Since teaclave can run rusty-leveldb as its storage service, I guess it should not be very hard to run rusty-leveldb over teaclave-sgx-sdk directly. I am wondering if there are any steps to follow to port