From 399d89f82959a6a9b0875cf3982856f82f901052 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Mon, 15 May 2023 10:59:02 -0400 Subject: [PATCH] Removed "https://" from auto-generated gpg keys to fix curses display Former-commit-id: d14833156a779ba8069db00c930ff048cc1b4ffa Former-commit-id: c9ba8bf7533932436fd7331e6254154d3e2a045a --- lib/stweak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stweak.py b/lib/stweak.py index f918258..3ebb7a9 100644 --- a/lib/stweak.py +++ b/lib/stweak.py @@ -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")