Updated key id.
This commit is contained in:
parent
5dff75ebd0
commit
8e9cb6a13e
@ -122,6 +122,8 @@ add_email_address()
|
||||
fi
|
||||
done
|
||||
keyName="$(grep 'pgp_sign_as=' "$muttHome/gpg.rc" | cut -d '=' -f2)"
|
||||
keyName="$(gpg --list-secret-keys $keyName | grep '.*@.*' | cut -d '<' -f2 | cut -d '<' -f1)"
|
||||
echo "key name is $keyName"
|
||||
# I wish it were possible to just echo the password through gpg and not have an unencrypted file at all.
|
||||
# but either it's not, or I just can't figure out how to do it. So we'll use mktemp and shred.
|
||||
passwordFile="$(mktemp)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user