Updated the message about generating a gpg key.
This commit is contained in:
parent
53387920d9
commit
b6dc651b19
@ -166,7 +166,7 @@ EOF
|
|||||||
echo "set pgp_replyencrypt=yes" >> "$muttHome/gpg.rc"
|
echo "set pgp_replyencrypt=yes" >> "$muttHome/gpg.rc"
|
||||||
echo "set pgp_timeout=1800" >> "$muttHome/gpg.rc"
|
echo "set pgp_timeout=1800" >> "$muttHome/gpg.rc"
|
||||||
if [[ $(gpg --list-secret-keys | wc -l) -eq 0 ]]; then
|
if [[ $(gpg --list-secret-keys | wc -l) -eq 0 ]]; then
|
||||||
read -p "$(gettext "No gpg key was found. Type your name and press entr to quickly generate a PGP key.control+c if you would like to create it manually.") " continue
|
read -p "$(gettext "No gpg key was found. Type your name and press entr to generate a PGP key.control+c if you would like to create it manually.") " continue
|
||||||
gpg --gen-key "${continue:-${USER}}"
|
gpg --gen-key "${continue:-${USER}}"
|
||||||
fi
|
fi
|
||||||
PS3="$(gettext "Select the key you want to use for encryption/signing:")"
|
PS3="$(gettext "Select the key you want to use for encryption/signing:")"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user