8 lines
390 B
Bash
8 lines
390 B
Bash
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
|
|
|