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:
parent
a47771964c
commit
19043ade8c
@ -352,6 +352,9 @@ function test_GPG () {
|
|||||||
[ -f "${HOME}/.gnupg/gpg-agent.conf" ] || touch "${HOME}/.gnupg/gpg-agent.conf"
|
[ -f "${HOME}/.gnupg/gpg-agent.conf" ] || touch "${HOME}/.gnupg/gpg-agent.conf"
|
||||||
echo "allow-loopback-pinentry" >> "${HOME}/.gnupg/gpg-agent.conf"
|
echo "allow-loopback-pinentry" >> "${HOME}/.gnupg/gpg-agent.conf"
|
||||||
gpgconf --reload gpg-agent
|
gpgconf --reload gpg-agent
|
||||||
|
cat "${HOME}/.gnupg/gpg-agent.conf"
|
||||||
|
additionalParameters="--pinentry-mode loopback"
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "Not using --pinentry-mode loopback [$cryptToolMajorVersion.$cryptToolSubVersion.$cryptToolMinorVersion]"
|
echo "Not using --pinentry-mode loopback [$cryptToolMajorVersion.$cryptToolSubVersion.$cryptToolMinorVersion]"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user