summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2019-06-13 10:15:45 +0200
committerWerner Koch <wk@gnupg.org>2019-06-13 11:56:08 +0200
commitad1395f210f3a3d5839f482f1933eac80a94d174 (patch)
treedf8ccad771bcffd8ad6000d3b11bb29d99f65c5a
parent4f11210b21a1914a1daf67474e9b82084b2cac01 (diff)
downloadgpgme-ad1395f210f3a3d5839f482f1933eac80a94d174.tar.gz
python: Set a default-key into gpg.conf for the tests.
* lang/python/tests/Makefile.am (gpg.conf): Set a default key. -- It seems we need to set a default key because at least t-sign.py does not specify the key to use and we do not want to rely on the order of keys in the keyring. Also Fixes-commit: f3ca2c9ce9fd4a03e293065f10b92589a7e642d6 gpg 2.0 is end-of-life and we don't need these extra options anymore. In fact they for the use of some gpg version and don't use the version gpgconf knows about. This also aligns the python tests to what we use for the C test suite. Signed-off-by: Werner Koch <wk@gnupg.org>
-rw-r--r--lang/python/tests/Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am
index 2c2324e8..026df03e 100644
--- a/lang/python/tests/Makefile.am
+++ b/lang/python/tests/Makefile.am
@@ -113,8 +113,7 @@ pubring-stamp: $(test_srcdir)/pubdemo.asc gpg-sample.stamp
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
+ echo default-key A0FF4590BB6122EDEF6E3C542D727CC768697734 >> ./gpg.conf
gpg-agent.conf:
# This is required for gpg2, which does not support command fd.