[apache/incubator-teaclave] 关于多方计算问题 (#401)

2020-08-05 Thread gjj
现在有个需求是这样的,A方和B方还有一个平台方,平台方安装好了teaclave。 A方和B方只用到了teaclave的python http服务(6789)对外映射自己的加密数据文件。 1. 首先,平台方执行PYTHONPATH=../../sdk/python python3 builtin_echo.py .根据双方的输入数据和输出数据的label产生taskID,然后把taskID传给A方和B方 2. 然后A方和B方都是用了PYTHONPATH=../../sdk/python python3 builtin_echo.py ..根据平台方得到的taskId 来regis

Re: [apache/incubator-teaclave] 关于多方计算问题 (#401)

2020-08-05 Thread gjj
A方和B方的example\python\utils.py 的HOSTNAME 我改成了平台方的ip -- 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/401#issuecomment-669080296

Re: [apache/incubator-teaclave] 关于多方计算问题 (#401)

2020-08-05 Thread gjj
通过阅读源码 最终定位到是这里报了错 ![image](https://user-images.githubusercontent.com/30582212/89396038-a7201d80-d740-11ea-84b0-0f100ddff7ba.png) ![image](https://user-images.githubusercontent.com/30582212/89396108-bacb8400-d740-11ea-8ac8-7872b73cf885.png) -- You are receiving this because you are subscribed to

Re: [apache/incubator-teaclave] 关于多方计算问题 (#401)

2020-08-05 Thread gjj
Closed #401. -- 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/401#event-3623971356

Re: [apache/incubator-teaclave] 关于多方计算问题 (#401)

2020-08-05 Thread gjj
哦哦 我尝试了下要在平台方那边对A方和B方再次approve_task 就可以了 -- 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/401#issuecomment-669106197

Re: [apache/incubator-teaclave] How to debug Python scripts (#393)

2020-08-05 Thread Mingshen Sun
Hi, thanks for asking. This is one of our limitation for the MesaPy executor. One way to debug Python scripts is to directly use the standalone MesaPy for SGX. For instance, you can use the exec example (https://github.com/mesalock-linux/mesapy/tree/sgx/sgx/examples/exec) to develop the Python

[apache/incubator-teaclave] Use byte array instead of base64 for image transfer making parsing faster (#402)

2020-08-05 Thread Mingshen Sun
## Description - Use byte array instead of base64 You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/402 -- Commit Summary -- * Use byte array instead of base64 for image transfer making parsing faster -- File Changes --

[apache/incubator-teaclave] 启动服务报错 (#403)

2020-08-05 Thread gjj
非Simulation Mode ![image](https://user-images.githubusercontent.com/30582212/89489325-c8cee280-d7dc-11ea-85f5-38ee3217fefe.png) ![image](https://user-images.githubusercontent.com/30582212/89489359-e0a66680-d7dc-11ea-97ce-37bc0e45f370.png) ![image](https://user-images.githubusercontent.com/305822

Re: [apache/incubator-teaclave] Use byte array instead of base64 for image transfer making parsing faster (#402)

2020-08-05 Thread yc-huang
Do we need to tune the code of try_from implementation? -- 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/pull/402#issuecomment-669680296