[git] GPGME - branch, master, updated. gpgme-1.8.0-17-ga4b9f1a
by Ben Kibbey
cvs at cvs.gnupg.org
Sun Jan 1 00:10:55 CET 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".
The branch, master has been updated
via a4b9f1a2b404fd8627d5ac567617510abd55d980 (commit)
from d83b8f0dc84d6cf7fe2e091bd1b103ceedfa3d6c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a4b9f1a2b404fd8627d5ac567617510abd55d980
Author: Ben Kibbey <bjk at luxsci.net>
Date: Sat Dec 31 18:09:49 2016 -0500
Fix gpg_addkey() to work with GPGME_CREATE_NOPASSWD as well.
* src/engine-gpg.c (gpg_addkey): Pass --batch to gpg when
GPGME_CREATE_NOPASSWD is set to fix pinentry without loopback mode.
--
Signed-off-by: Ben Kibbey <bjk at luxsci.net>
diff --git a/src/engine-gpg.c b/src/engine-gpg.c
index 1b0e4c9..75ba4bd 100644
--- a/src/engine-gpg.c
+++ b/src/engine-gpg.c
@@ -2176,6 +2176,8 @@ gpg_addkey (engine_gpg_t gpg,
err = add_arg (gpg, "--passphrase");
if (!err)
err = add_arg (gpg, "");
+ if (!err)
+ err = add_arg (gpg, "--batch");
}
if (!err)
err = add_arg (gpg, "--");
-----------------------------------------------------------------------
Summary of changes:
src/engine-gpg.c | 2 ++
1 file changed, 2 insertions(+)
hooks/post-receive
--
GnuPG Made Easy
http://git.gnupg.org
More information about the Gnupg-commits
mailing list