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/06/29 15:09:18 UTC

[GitHub] [incubator-teaclave] qinkunbao commented on issue #372: 怎么去证明teaclave是可行计算的环境呢?

qinkunbao commented on issue #372:
URL: https://github.com/apache/incubator-teaclave/issues/372#issuecomment-651182586


   我最近也在看SGX,这是我的理解。如有不对欢迎指出来。
   
   A <---------> B
   假设A是Client,B是encalve里面的代码,首先你信任client,因为这是在你本地上的,换言之这是你自己。B是Teaclave,但是你怎么需要保证Teaclave是你相信的那个版本(比如没有篡改。。。。。。),以及它跑在一个可信的环境里面(真的在encalve里面)呢?这就需要Remote Attestation (RA),你可以查阅Intel SGX的相关文档。
   
   但是问题还有,比如你说的key的问题。理论上应该只有A和B知道key,A是你自己的client,你不能通过网络明文传输key是什么。这就需要A和B之间的通信是加密的。这里是通过TLS来保证。在remote attestation的过程中,attestaiton的report有可以包含程序自定义的64 byte数据,RA的过程中放入用于TLS handshake的数据,从而建立一个A和B之间的Attested TLS。


----------------------------------------------------------------
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