You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/05/29 04:22:22 UTC

[GitHub] [incubator-teaclave] mssun commented on issue #321: Data persistency during power event.

mssun commented on issue #321:
URL: https://github.com/apache/incubator-teaclave/issues/321#issuecomment-635749521


   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.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org