From 0f6201ab8463922d2c613974bfa5e466b50f41fd Mon Sep 17 00:00:00 2001 From: baalajimaestro Date: Sun, 18 Jun 2023 19:32:22 +0530 Subject: [PATCH] Remove stricthostchecking Signed-off-by: baalajimaestro --- encrypt.py | 2 +- trigger.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/encrypt.py b/encrypt.py index c9a4011..ce59df9 100644 --- a/encrypt.py +++ b/encrypt.py @@ -33,7 +33,7 @@ enc_repo = os.environ.get("ENCRYPTED_REPO") enc_key = os.environ.get("ENCRYPTION_KEY") ssh_key = os.environ.get("SSH_SECRET_KEY") -git_ssh_cmd = f"ssh -o StrictHostKeyChecking=no -i {ssh_key}" +git_ssh_cmd = f"ssh -i {ssh_key}" # Create our encrypted directory base current_time = str(int(time())) diff --git a/trigger.py b/trigger.py index 1983598..e586704 100644 --- a/trigger.py +++ b/trigger.py @@ -17,7 +17,7 @@ content_repo_id = os.environ.get("CONTENT_REPO_ID") gitlab_token = os.environ.get("GITLAB_TOKEN") ssh_key = os.environ.get("SSH_SECRET_KEY") -git_ssh_cmd = f"ssh -o StrictHostKeyChecking=no -i {ssh_key}" +git_ssh_cmd = f"ssh -i {ssh_key}" # Get the time and create a tag of epoch cwd = os.getcwd()