diff --git a/bin/sshyp.py b/bin/sshyp.py index 9e63831..b3255b3 100755 --- a/bin/sshyp.py +++ b/bin/sshyp.py @@ -231,6 +231,7 @@ def tweak(): # runs configuration wizard path.expanduser('~/.config/sshyp/gpg-gen') + "'", shell=True) else: run(f"{gpg} --batch --generate-key '{path.expanduser('~/.config/sshyp/gpg-gen')}'", shell=True) + remove(path.expanduser('~/.config/sshyp/gpg-gen')) _gpg_id = run(f"{gpg} -k", shell=True, stdout=PIPE, text=True).stdout.split('\n')[-4].strip() # lock file generation