Break script into it's variants, due to how gpg works
This commit is contained in:
parent
35f5563efd
commit
5f32451e24
3 changed files with 16 additions and 0 deletions
8
fsss-root.sh
Normal file
8
fsss-root.sh
Normal file
|
@ -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
|
||||
|
8
fsss-sudo.sh
Normal file
8
fsss-sudo.sh
Normal file
|
@ -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
|
||||
|
Loading…
Reference in a new issue