1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-03 00:07:05 +00:00

The load_ssh_private_key() function not used anywhere is removed.

This commit is contained in:
pappapisshu 2023-01-30 21:24:57 +01:00
parent 35d97fb767
commit d1f21d601e

View File

@ -51,12 +51,6 @@ def load_ssh_public_key():
with open(ssh_public_key_file, 'r') as f:
return f.read()
def load_ssh_private_key():
ssh_private_key_file = os.path.join('/root', '.ssh', 'id_rsa_miab')
if os.path.exists(ssh_private_key_file):
with open(ssh_private_key_file, 'r') as f:
return f.read()
# UTILITIES
def safe_domain_name(name):