mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-06 00:57:14 -04:00
Minor visual consistency tweak for Haiku gpg key generation
This commit is contained in:
+1
-1
@@ -227,7 +227,7 @@ def tweak(): # runs configuration wizard
|
|||||||
https://github.com/rwinkhart/sshyp\nExpire-Date: 0')
|
https://github.com/rwinkhart/sshyp\nExpire-Date: 0')
|
||||||
if uname()[0] == 'Haiku':
|
if uname()[0] == 'Haiku':
|
||||||
run(gpg + ' --batch --generate-key --passphrase ' + "'" +
|
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)
|
path.expanduser('~/.config/sshyp/gpg-gen') + "'", shell=True)
|
||||||
else:
|
else:
|
||||||
run(f"{gpg} --batch --generate-key '{path.expanduser('~/.config/sshyp/gpg-gen')}'", shell=True)
|
run(f"{gpg} --batch --generate-key '{path.expanduser('~/.config/sshyp/gpg-gen')}'", shell=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user