Minor visual consistency tweak for Haiku gpg key generation

This commit is contained in:
2022-07-14 02:53:39 -04:00
parent 4b02fd02b8
commit c5c110d0b4
+1 -1
View File
@@ -227,7 +227,7 @@ def tweak(): # runs configuration wizard
https://github.com/rwinkhart/sshyp\nExpire-Date: 0')
if uname()[0] == 'Haiku':
run(gpg + ' --batch --generate-key --passphrase ' + "'" +
input('Please enter the passphrase to\nprotect your new key\nPassphrase: ') + "'" + " '" +
input('\ngpg passphrase: ') + "'" + " '" +
path.expanduser('~/.config/sshyp/gpg-gen') + "'", shell=True)
else:
run(f"{gpg} --batch --generate-key '{path.expanduser('~/.config/sshyp/gpg-gen')}'", shell=True)