Removed "https://" from auto-generated gpg keys to fix curses display

Former-commit-id: d14833156a779ba8069db00c930ff048cc1b4ffa
Former-commit-id: c9ba8bf7533932436fd7331e6254154d3e2a045a
This commit is contained in:
2023-05-15 10:59:02 -04:00
parent b14f925e53
commit 399d89f829
+1 -1
View File
@@ -120,7 +120,7 @@ def gpg_config():
if not isfile(f"{home}/.config/sshyp/gpg-gen"):
open(f"{home}/.config/sshyp/gpg-gen", 'w').writelines([
'Key-Type: 1\n', 'Key-Length: 4096\n', 'Key-Usage: sign encrypt\n', 'Name-Real: sshyp\n',
'Name-Comment: gpg-sshyp\n', 'Name-Email: https://github.com/rwinkhart/sshyp\n',
'Name-Comment: gpg-sshyp\n', 'Name-Email: github.com/rwinkhart/sshyp\n',
'Expire-Date: 0'])
run(['gpg', '--batch', '--generate-key', f"{home}/.config/sshyp/gpg-gen"])
remove(f"{home}/.config/sshyp/gpg-gen")