From 4f31af5eff09f0d3d2a3fda034991988f6d38ad3 Mon Sep 17 00:00:00 2001 From: Cuan Date: Mon, 11 Jul 2022 22:19:31 -0400 Subject: [PATCH] Clean up for automatically created gpg generation file Former-commit-id: eba9c2f414fd59d655e2d3b992b2a8982745e01f [formerly e2b8e31f508b5058915920275b3de7c61b6c1650] Former-commit-id: 1166007ce70d0e1d61f2e2d8c3fab78970a6407b --- bin/sshyp.py | 1 + 1 file changed, 1 insertion(+) 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