From 5f32451e244124353dbfaf9f5185b017d657bdbd Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Tue, 7 May 2024 12:59:38 -0500 Subject: [PATCH] Break script into it's variants, due to how gpg works --- fsss-root.sh | 8 ++++++++ fsss.sh => fsss-ssh.sh | 0 fsss-sudo.sh | 8 ++++++++ 3 files changed, 16 insertions(+) create mode 100644 fsss-root.sh rename fsss.sh => fsss-ssh.sh (100%) create mode 100644 fsss-sudo.sh diff --git a/fsss-root.sh b/fsss-root.sh new file mode 100644 index 0000000..1a9cae1 --- /dev/null +++ b/fsss-root.sh @@ -0,0 +1,8 @@ +echo '[INFO] Make sure to run this script as a root user!' +echo '[INFO] Now creating a gpg key, please fill out the inforemation with what you want for forejo to use.' +echo '$ gpg --default-new-key-algo rsa4096 --gen-key' +gpg --default-new-key-algo rsa4096 --gen-key +echo '[INFO] Listing keys' +echo '$ gpg --list-secret-keys --keyid-format=long' +gpg --list-secret-keys --keyid-format=long + diff --git a/fsss.sh b/fsss-ssh.sh similarity index 100% rename from fsss.sh rename to fsss-ssh.sh diff --git a/fsss-sudo.sh b/fsss-sudo.sh new file mode 100644 index 0000000..166c35b --- /dev/null +++ b/fsss-sudo.sh @@ -0,0 +1,8 @@ +echo '[INFO] Make sure to run this script as a used with sudo!' +echo '[INFO] Now creating a gpg key, please fill out the inforemation with what you want for forejo to use.' +echo '$ gpg --default-new-key-algo rsa4096 --gen-key' +gpg --default-new-key-algo rsa4096 --gen-key +echo '[INFO] Listing keys' +echo '$ gpg --list-secret-keys --keyid-format=long' +gpg --list-secret-keys --keyid-format=long +