ssl_de/encrypt new works
This commit is contained in:
@ -7,7 +7,7 @@ from subprocess import CompletedProcess
|
||||
import subprocess
|
||||
from wp_app_config import AppConfig
|
||||
|
||||
log_name = AppConfig.USER_FILE.read_text()
|
||||
log_name = AppConfig.USER_FILE.read_text().strip()
|
||||
|
||||
keyfile: Path = Path(f"/home/{log_name}/.config/wire_py/pbwgk.pem")
|
||||
path_of_crypted_tunnel: Path = Path(f"/home/{log_name}/.config/wire_py")
|
||||
@ -60,7 +60,7 @@ if AppConfig.PUBLICKEY.exists:
|
||||
text=True,
|
||||
check=False,
|
||||
)
|
||||
|
||||
shutil.chown(f"{AppConfig.TEMP_DIR}/{base_name}.conf", 1000, 1000)
|
||||
print(f"Processing of the file: {tunnel_path}")
|
||||
|
||||
if process.stdout:
|
||||
|
Reference in New Issue
Block a user