Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于TEEU仿真模式下安全聚合示例的疑问 #1261

Open
mengjiangheihei opened this issue Apr 19, 2024 · 1 comment
Open

关于TEEU仿真模式下安全聚合示例的疑问 #1261

mengjiangheihei opened this issue Apr 19, 2024 · 1 comment
Assignees

Comments

@mengjiangheihei
Copy link

Issue Type

Build/Install

Source

binary

Secretflow Version

secretflow 1.5.0

OS Platform and Distribution

Ubuntu 20

Python version

3.10

Bazel version

No response

GCC/Compiler version

No response

What happend and What you expected to happen.

运行TEEU上手指南仿真模式的示例时,在一台机器上起了四个容器,其中alice和bob采用私有地址10.10.1.1和10.10.1.2,coral和authmanager共用服务器的ip地址,在运行时authmanager的日志在连接coral节点时出现了Permission Denied问题,coral最终的结果也是空的,下面是日志文件的具体信息。

Reproduction code to reproduce the issue.

[2024-04-19T16:26:52.055436607+08:00] [auth_manager] [INFO] remote endpoint localhost:8341
[2024-04-19T16:26:52.756058262+08:00] [auth_manager] [INFO] Server run at: 0.0.0.0:8845 mode simulation
[2024-04-19T16:29:09.750585152+08:00] [auth_manager::storage::memory_client] [WARN] RegisterInsPubKeyRequest: signature verify failed, ins_id: OKsShXyieLQSYMV+nD59isP+1VQYqTQ5RQxiQ/r7VnE=
[2024-04-19T16:29:09.750725388+08:00] [monitor_log] [INFO] |register_ins_pub_key|Some(10.10.1.1:34860)|0|success|
[2024-04-19T16:29:09.752249144+08:00] [monitor_log] [INFO] |get_ra_cert_pems|Some(10.10.1.1:34860)|0|success|
[2024-04-19T16:29:10.040581018+08:00] [monitor_log] [INFO] |create_data_with_auth|Some(10.10.1.1:34860)|0|success|
[2024-04-19T16:29:11.161071530+08:00] [auth_manager::storage::memory_client] [WARN] RegisterInsPubKeyRequest: signature verify failed, ins_id: pw6x5FBQAk2R4kzlYqW7kGWP4JHyXf4z0dqZF94Qytk=
[2024-04-19T16:29:11.161427657+08:00] [monitor_log] [INFO] |register_ins_pub_key|Some(10.10.1.2:43368)|0|success|
[2024-04-19T16:29:11.163230052+08:00] [monitor_log] [INFO] |get_ra_cert_pems|Some(10.10.1.2:43368)|0|success|
[2024-04-19T16:29:11.448024824+08:00] [monitor_log] [INFO] |create_data_with_auth|Some(10.10.1.2:43368)|0|success|
[2024-04-19T16:29:16.562311022+08:00] [auth_manager::server::get_compute_meta_impl] [INFO] get_compute_meta  start
[2024-04-19T16:29:16.562420660+08:00] [auth_manager::server::get_compute_meta_impl] [INFO] number of task inputs: 2
[2024-04-19T16:29:16.583466189+08:00] [auth_manager::server::get_compute_meta_impl] [INFO] all ancestors number: 2
[2024-04-19T16:29:16.595415514+08:00] [auth_manager::server::get_compute_meta_impl] [INFO] number of origin data meta: 2
[2024-04-19T16:29:16.595469076+08:00] [auth_manager::server::get_compute_meta_impl] [INFO] number of data waiting for verification: 2
[2024-04-19T16:29:16.595622826+08:00] [auth_manager::server::get_compute_meta_impl] [INFO] verify auth of data: 6947d3b1be964bb39af02d1484db9d2b, size: 1
[2024-04-19T16:29:16.595668749+08:00] [auth_manager::server::get_compute_meta_impl] [INFO] operators: []
[2024-04-19T16:29:16.595715317+08:00] [auth_manager::server::get_compute_meta_impl] [INFO] support funcs "{\"limit_functions\": [\"q6BUS/kh015Y9dQNhrB4rtVzqAMNEWs/t3G0zFc9pkQ=\"]}" task func"m9dni+FKIwQ/AnzY62knZnQbyYUbHh7VdRf9MmR0Rg4="
[2024-04-19T16:29:16.595777270+08:00] [monitor_log] [INFO] |get_compute_meta|Some(10.26.40.7:44188)|Permission Denied|inner: errno: Permission Denied, task type: not authorized to the requester.; location: [line = 592, file = auth-manager/src/server/get_compute_meta_impl.rs]|
@zheyang0825
Copy link

日志显示的问题是:Alice 和 Bob 执行的 func 的摘要和 TEEU 中实际实行的 func 摘要不匹配。可以看一下是不是 carol 执行的代码是不是和 Alice Bob 不一样。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants