Skip to content

Commit

Permalink
add cert info is tls enabled for stop task (primihub#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenix20162016 authored May 29, 2024
1 parent c74ad73 commit 421d717
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion python/primihub/MPC/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@
from primihub.context import Context

def stop_auxiliary_party():
mpc_executor = ph_slib.MPCExecutor(Context.message, "ABY3", "", "", "")
cert_config = Context.cert_config
root_ca_path = cert_config.get("root_ca_path", "")
key_path = cert_config.get("key_path", "")
cert_path = cert_config.get("cert_path", "")
mpc_executor = ph_slib.MPCExecutor(Context.message, "ABY3",
root_ca_path, key_path, cert_path)
mpc_executor.stop_task()

0 comments on commit 421d717

Please sign in to comment.