Publishing the gpg key can be done from the control panel
This commit is contained in:
parent
d3c76cfbac
commit
8da6070448
|
@ -194,17 +194,6 @@ if ! grep -q "Change your GPG password" /home/$MY_USERNAME/README; then
|
|||
echo ' quit' >> /home/$MY_USERNAME/README
|
||||
fi
|
||||
|
||||
if ! grep -q "Publish your GPG public key" /home/$MY_USERNAME/README; then
|
||||
echo '' >> /home/$MY_USERNAME/README
|
||||
echo '' >> /home/$MY_USERNAME/README
|
||||
echo $'Publish your GPG public key' >> /home/$MY_USERNAME/README
|
||||
echo '===========================' >> /home/$MY_USERNAME/README
|
||||
echo $'So that others can send emails to you securely you should' >> /home/$MY_USERNAME/README
|
||||
echo $'publish your GPG public key with the command:' >> /home/$MY_USERNAME/README
|
||||
echo '' >> /home/$MY_USERNAME/README
|
||||
echo " gpg --send-keys $MY_GPG_PUBLIC_KEY_ID" >> /home/$MY_USERNAME/README
|
||||
fi
|
||||
|
||||
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/README
|
||||
chown $MY_USERNAME:$MY_USERNAME $MY_GPG_PUBLIC_KEY
|
||||
chmod 600 /home/$MY_USERNAME/README
|
||||
|
|
Loading…
Reference in New Issue