write Changelog and fix imports all
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
""" This Script encrypt Wireguardfiles for Wirepy users for more Security """
|
||||
|
||||
import argparse
|
||||
|
||||
from pathlib import Path
|
||||
import pwd
|
||||
import shutil
|
||||
@@ -22,7 +21,7 @@ try:
|
||||
uid = user_info.pw_uid # User ID (e.g., 1000)
|
||||
gid = user_info.pw_gid # Group ID (e.g., 1000)
|
||||
except KeyError:
|
||||
|
||||
|
||||
exit(1)
|
||||
|
||||
keyfile: Path = Path(f"/home/{args.user}/.config/wire_py/pbwgk.pem")
|
||||
@@ -80,4 +79,4 @@ if AppConfig.TEMP_DIR.exists() and any(AppConfig.TEMP_DIR.iterdir()):
|
||||
|
||||
# Output from Openssl Error
|
||||
if process.stderr:
|
||||
pass
|
||||
pass
|
||||
|
Reference in New Issue
Block a user