Minor visual consistency tweak for Haiku gpg key generation

Former-commit-id: 1afd8df260d65f210e90cc93270971bf2c2fcb46 [formerly c5c110d0b4]
Former-commit-id: a24c571e55d987595250ebcfc558924cec675c62
This commit is contained in:
2022-07-14 02:53:39 -04:00
parent 0bd2e45dba
commit 224fc1fc6d
+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)