[Pkg-gnupg-commit] [gpgme] 39/132: python: Ensure quick-random is used if gpg is gpg2

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Apr 26 01:01:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gpgme.

commit f3ca2c9ce9fd4a03e293065f10b92589a7e642d6
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Thu Jan 26 10:44:02 2017 +0100

    python: Ensure quick-random is used if gpg is gpg2
    
    * lang/python/tests/Makefile.am (gpg.conf): Configure
    agent-program accordingly.
---
 lang/python/tests/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am
index f9366dd..d7f2e58 100644
--- a/lang/python/tests/Makefile.am
+++ b/lang/python/tests/Makefile.am
@@ -107,6 +107,8 @@ clean-local:
 ./gpg.conf:
 # This is required for t-sig-notations.
 	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:
 # This is required for gpg2, which does not support command fd.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git



More information about the Pkg-gnupg-commit mailing list