tests: Don't try using keys from a scmartcard.

* tests/gpg/Makefile.am: Disable scdaemon
* lang/python/tests/Makefile.am: Ditto.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2018-09-19 17:28:29 +02:00
parent 5cb67257f2
commit a824f4498e
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 11 additions and 1 deletions

View File

@ -119,3 +119,7 @@ gpg.conf:
gpg-agent.conf:
# This is required for gpg2, which does not support command fd.
echo pinentry-program $(abs_top_srcdir)/tests/gpg/pinentry >$@
echo disable-scdaemon >> $@
# end-of-file

View File

@ -105,5 +105,11 @@ gpg.conf:
echo no-force-v3-sigs > ./gpg.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 for the
# passphrase. disable-scdaemon is required so that we don't try using
# a key from a smartcard reader (error might be: Unusable secret key)
echo pinentry-program $(abs_srcdir)/pinentry > ./gpg-agent.conf
echo disable-scdaemon >> ./gpg-agent.conf
# end-of-file