mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-05 16:47:14 -04:00
Minor visual consistency tweak for Haiku gpg key generation
Former-commit-id: 1afd8df260d65f210e90cc93270971bf2c2fcb46 [formerly c5c110d0b4]
Former-commit-id: a24c571e55d987595250ebcfc558924cec675c62
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