From f207f01a6015a110b637dc73c1e1ed26197c6ebf Mon Sep 17 00:00:00 2001 From: Tauquir <30658453+itstauq@users.noreply.github.com> Date: Mon, 10 Jun 2024 16:41:08 +0530 Subject: [PATCH] Remove hardcoded password --- packages/syft/src/syft/service/enclave/enclave.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/syft/src/syft/service/enclave/enclave.py b/packages/syft/src/syft/service/enclave/enclave.py index 0b1899bccd8..0bf33c6a172 100644 --- a/packages/syft/src/syft/service/enclave/enclave.py +++ b/packages/syft/src/syft/service/enclave/enclave.py @@ -9,6 +9,7 @@ from ...client.client import SyftClient from ...client.client import login from ...client.client import login_as_guest +from ...node.node import get_default_root_password from ...serde.serializable import serializable from ...service.metadata.node_metadata import NodeMetadataJSON from ...service.network.routes import NodeRouteType @@ -73,7 +74,7 @@ def get_client(self, verify_key: str) -> SyftClient: # accessing other member's data. client = login( email="info@openmined.org", - password="changethis", + password=get_default_root_password(), url=self.route.host_or_ip, port=self.route.port, )