Thanks for asking.

We have two places for data storage in services:

Authentication service: 
https://github.com/apache/incubator-teaclave/blob/master/services/authentication/enclave/src/user_db.rs#L96
Storage service: 
https://github.com/apache/incubator-teaclave/blob/master/services/storage/enclave/src/lib.rs#L80

Current implementations only open DB in memory.

To persist DB into disk, you can use these APIs to encrypt DB into disk:

https://github.com/apache/incubator-teaclave/blob/master/tests/integration/enclave/src/rusty_leveldb_sgx.rs#L103

However, we haven't implemented and provided interfaces to support this in our 
services right now.

-- 
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/321#issuecomment-635749521

Reply via email to