1
0
mirror of https://github.com/deajan/obackup.git synced 2024-11-14 19:53:42 +01:00

GPG 2.1.11 pinentry hell

This commit is contained in:
deajan 2020-05-04 11:44:02 +01:00
parent a47771964c
commit 19043ade8c

View File

@ -352,6 +352,9 @@ function test_GPG () {
[ -f "${HOME}/.gnupg/gpg-agent.conf" ] || touch "${HOME}/.gnupg/gpg-agent.conf"
echo "allow-loopback-pinentry" >> "${HOME}/.gnupg/gpg-agent.conf"
gpgconf --reload gpg-agent
cat "${HOME}/.gnupg/gpg-agent.conf"
additionalParameters="--pinentry-mode loopback"
else
echo "Not using --pinentry-mode loopback [$cryptToolMajorVersion.$cryptToolSubVersion.$cryptToolMinorVersion]"
fi