python: Ensure quick-random is used if gpg is gpg2

* lang/python/tests/Makefile.am (gpg.conf): Configure
agent-program accordingly.
This commit is contained in:
Andre Heinecke 2017-01-26 10:44:02 +01:00
parent 9291ebaa41
commit f3ca2c9ce9

View File

@ -107,6 +107,8 @@ clean-local:
./gpg.conf: ./gpg.conf:
# This is required for t-sig-notations. # This is required for t-sig-notations.
echo no-force-v3-sigs > ./gpg.conf echo no-force-v3-sigs > ./gpg.conf
echo ignore-invalid-option agent-program >> ./gpg.conf
echo "agent-program `which $(GPG_AGENT)`|--debug-quick-random" >> ./gpg.conf
./gpg-agent.conf: ./gpg-agent.conf:
# This is required for gpg2, which does not support command fd. # This is required for gpg2, which does not support command fd.