forked from p34709852/monkey
Post-rebase fixes
This commit is contained in:
parent
88ae762618
commit
d740173f79
|
@ -3,7 +3,7 @@ import os
|
||||||
|
|
||||||
from common.utils.exceptions import InsecurePermissionsError
|
from common.utils.exceptions import InsecurePermissionsError
|
||||||
from monkey_island.cc.services.utils.file_permissions import has_sufficient_permissions
|
from monkey_island.cc.services.utils.file_permissions import has_sufficient_permissions
|
||||||
from monkey_island.setup.island_config_options import IslandConfigOptions
|
from monkey_island.cc.setup.island_config_options import IslandConfigOptions
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -22,6 +22,6 @@ def setup_certificate(config_options: IslandConfigOptions) -> (str, str):
|
||||||
f"{file} has insecure permissions. Required permissions: r--------. Exiting."
|
f"{file} has insecure permissions. Required permissions: r--------. Exiting."
|
||||||
)
|
)
|
||||||
|
|
||||||
logger.INFO(f"Using certificate path: {crt_path}, and key path: {key_path}.")
|
logger.info(f"Using certificate path: {crt_path}, and key path: {key_path}.")
|
||||||
|
|
||||||
return crt_path, key_path
|
return crt_path, key_path
|
||||||
|
|
Loading…
Reference in New Issue