2024-05-07 17:59:38 +00:00
|
|
|
echo '[INFO] Make sure to run this script as a used with sudo!'
|
2024-05-07 17:53:26 +00:00
|
|
|
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
|
|
|
|
|