Remove unwanted utils.py

This commit is contained in:
Sarina
2024-07-20 21:22:47 +03:30
parent 3ec0966df7
commit 98c6b67b3d

View File

@ -1,9 +0,0 @@
import subprocess
def generate_password() -> str:
'''
Generates a random password using pwgen for user.
Could raise subprocess.CalledProcessError
'''
result = subprocess.check_output(['pwgen', '-s', '32', '1'])
return result.decode().strip()